


/* ===== Header Styles ===== */

/* ===== Base Styles ===== */
:root {
  --primary-color: #1a3e72;       /* Dark blue */
  --secondary-color: #2c5282;     /* Medium blue */
  --accent-color: #e31b23;        /* Red */
  --text-color: #333;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --gray-color: #6c757d;
  --light-gray: #e9ecef;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Merriweather', serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #A9A9A9;
}

a {
  text-decoration: none;
  transition: color 0.3s;
}

/* a:hover {
  color: #fff;
} */

img {
  max-width: 100%;
  height: auto;
}
span a{
  color:white;
}
/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ===== Header ===== */
/* header {
  background-color: #1a3e72;
  color: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
} */

/* .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
} */

.logo img {
  height: 120px;
   border-radius: 50%;
}

.logo{
  display: flex; align-items: center; gap: 10px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #fff;
  font-weight: 500;
  padding: 5px 0;
  position: relative;
}

nav ul li a:hover {
  color: #fff;
}

nav ul li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s;
}

nav ul li a:hover:after {
  width: 100%;
}

header {
    background-color: #1a3e72;
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    flex-shrink: 0;
}

nav {
    display: flex;
    align-items: center;
}

.nav-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Top line navigation - made smaller */
.nav-top-line {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 5px;
}

.top-line-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.top-line-menu li {
    margin-left: 15px;
}

.top-line-menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem; /* Smaller font size */
    padding: 3px 0; /* Reduced padding */
    position: relative;
    transition: color 0.3s;
}

.search-icon a {
    font-size: 14px; /* Smaller search icon */
}

/* Divider line between navigation sections */
.nav-divider {
    width: 100%;
    height: 1px;
    background-color: #b3b3b3;
    margin: 5px 0 10px;
}

/* Main menu (second line) */
.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu li {
    margin-left: 25px;
    position: relative;
}

.main-menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

.main-menu li a:hover {
    color:#fff;
}

.main-menu li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s;
}

.main-menu li a:hover:after {
    width: 100%;
}

/* Social Icons */
.social-icons {
    display: flex;
    margin: 10px;
}

.social-icons a {
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    transition: all 0.3s;
    background-color: rgba(63, 63, 63, 0.086);
}

.social-icons a:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Admin Link */
.admin-link {
    background-color: #e31b23;
    padding: 5px 10px;
    border-radius: 4px;
}

.admin-link:hover {
    background-color: #c5161d;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    margin-left: 20px;
    background-color: #1a3e72;
}

button.mobile-menu-toggle{
   
    background-color: #1a3e72;
    color : #fff;
    border:0;
}

/* ===== Mobile Header & Menu Fixes ===== */
@media (max-width: 992px) {
    header {
        padding: 10px 0;
        position: sticky;
        top: 0;
    }
    
    header .container {
        flex-wrap: wrap;
        padding: 0 15px;
    }
    
    .logo img {
        height: 60px; /* Smaller logo on mobile */
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 1;
        margin-left: auto;
    }
    
    .nav-content {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background-color: #1a3e72;
        flex-direction: column;
        padding: 20px 0;
        transition: all 0.3s ease;
        z-index: 999;
        height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-content.active {
        left: 0;
    }
    
    .nav-top-line, 
    .top-line-menu {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .nav-divider {
        width: 80%;
        margin: 10px auto;
    }
    
    .main-menu {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .main-menu li, 
    .top-line-menu li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    .main-menu li a,
    .top-line-menu li a {
        font-size: 1.1rem;
        padding: 10px 15px;
        display: block;
    }
    
    .social-icons {
        margin: 20px auto 0;
        justify-content: center;
    }
    
    /* Hide the regular nav when mobile menu is active */
    nav ul {
        display: none;
    }
}

/* For smaller mobile devices */
@media (max-width: 576px) {
    .logo img {
        height: 50px;
    }
    
    .mobile-menu-toggle {
        font-size: 1.3rem;
    }
    
    .nav-content {
        top: 70px;
        height: calc(100vh - 70px);
    }
    
    .main-menu li a,
    .top-line-menu li a {
        font-size: 1rem;
    }
}








/*------------------------------------------- BODY --------------------------------------------------------*/



/* Hero Section with Portraits */
/* Simplified Hero Split Layout with Bottom Image */
.hero-split {
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(208, 237, 221, 0.9) 0%, rgba(155, 179, 212, 0.7) 100%);
  color: rgb(0, 0, 0);
  padding: 80px 0 140px; /* Added bottom padding for image */
}

.hero-content-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.hero-text {
  position: relative;
  z-index: 3;
  margin-bottom: 60px;
}

.hero-text a {
  padding: 12px 24px;
  border-radius: 4px;
  background-color: #5c8f66;
  color: #fff;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.hero-text a:hover {
  background-color: #416246;
}

.hero-split h1 {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-bottom-img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  display: block;
  position: absolute;
  bottom: -30px; /* Changed from 0 to -40px to push it down */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2; /* Ensure it appears above any section backgrounds */
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero-split h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-bottom-img {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-split {
    padding: 60px 0 100px;
  }
  
  .hero-split h1 {
    font-size: 2rem;
  }
}


/* ===== Mission - intro Section ===== */
/* ===== Mission Cards Section ===== */
.mission-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 40px;
}

.mission-card {
  background: white;
  border-radius: 12px;
  padding: 50px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.mission-card h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.mission-card h2::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.mission-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 0;
}

/* Decorative elements */
.mission-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), #5c8f66);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .mission-container {
    grid-template-columns: 1fr;
    padding: 60px 20px;
  }
  
  .mission-card {
    padding: 40px 30px;
  }
  
  .mission-card h2 {
    font-size: 1.8rem;
  }
}











/* ===== Featured Sections ===== */
.featured-news, .featured-programs {
  padding: 60px 0;
}

.featured-news h2, .featured-programs h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 30px;
}

/* Grid Layouts */
.news-grid, .programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

/* Cards */
.news-card, .program-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover, .program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-card img, .program-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s;
}

.news-card:hover img, .program-card:hover img {
  transform: scale(1.05);
}

.news-content, .program-content {
  padding: 20px;
}

.news-content h3, .program-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.date {
  color: var(--gray-color);
  font-size: 0.9rem;
  margin-bottom: 15px;
  display: block;
}

.text-center {
  text-align: center;
  margin-top: 30px;
}

.text-center a{
   padding: 12px 24px;
  border-radius: 4px;
  background-color: #5c8f66;
  color: #fff;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.text-center a:hover {
  background-color: #416246;
}


/* ===== Footer ===== */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--light-gray);
}

.footer-col ul li a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: white;
  font-size: 1.2rem;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--light-gray);
  font-size: 0.9rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
  }
  
  nav ul {
    margin-top: 15px;
  }
  
  nav ul li {
    margin: 0 10px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 80px 0;
  }
  
  .news-grid, .programs-grid {
    grid-template-columns: 1fr;
  }
}































/*-------------------------------------About us-----------------------------------------------------------*/



/* ==================== */
/* About Page - Enhanced */
/* ==================== */

/* Page Header with Background Image */
.page-header-about {
    background: linear-gradient(rgba(0, 0, 0, 0.5), url('assets/images/1787.jpg') center/cover no-repeat);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-bottom: 20px;
}

/* .page-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #244eb2;
} */

/* About Content Section */
.about-content {
    padding: 60px 0;
    position: relative;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/images/africa-map-bg.png') center/contain no-repeat;
    opacity: 0.05;
    z-index: 0;
}

.about-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Two Column Grid Layout */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
}

.about-text {
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.about-text h2 {
    color: #1a3e72;
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.about-text h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #277342;
    border-radius: 2px;
}

.about-text p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.about-image {
    position: relative;
    height: 100%;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

/* Founders Section */
.founders-section {
    margin-top: 80px;
    text-align: center;
}

.founders-section h2 {
    font-size: 2.5rem;
    color: #1a3e72;
    margin-bottom: 50px;
    position: relative;
}

.founders-section h2::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #277342;
    border-radius: 2px;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.founder-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.founder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #277342;
}

.founder-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.founder-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 5px solid #f5f5f5;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.founder-card:hover .founder-image {
    transform: scale(1.1);
    border-color: #e7e7e7;
}

.founder-card h3 {
    margin: 20px 0 10px;
    color: #1a3e72;
    font-size: 1.4rem;
    font-weight: 600;
}

.founder-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .about-grid {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        height: 400px;
    }
    
    .founders-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .page-header {
        min-height: 300px;
    }
    
    .about-text {
        padding: 30px;
    }
    
    .founders-section h2 {
        font-size: 2rem;
    }
    
    .founder-card {
        padding: 25px;
    }
    
    .founder-image {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 576px) {
    .page-header {
        min-height: 250px;
    }
    
    .about-text {
        padding: 25px;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .founders-grid {
        grid-template-columns: 1fr;
    }
    
    .founder-image {
        width: 120px;
        height: 120px;
    }
}







/*--------------------------------------------- Footer -----------------------------------------------------*/


/* Footer Banner Section */
.footer-banner {
    background-color: #f3f3f3;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #5c8f66;
    border-bottom: 1px solid #5c8f66;
}

.footer-banner img {
     max-width: 350px; 
    height: auto;
    margin-bottom: 20px;
}

.footer-banner p {
    font-family: 'Merriweather', serif;
    font-size: 14px;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Main Footer */
footer {
    background-color: #222;
    color: #ccc;
    padding: 60px 0 30px;
    font-family: 'Merriweather', serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 20px;
    border-bottom: 2px solid #5c8f66;
    padding-bottom: 5px;
}

.footer-col p, 
.footer-col ul, 
.footer-col a {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
    text-decoration: none;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a:hover {
    color: #5c8f66;
    transition: color 0.3s ease;
}

/* Contact Info in Footer */
.footer-col .contact-info {
    margin-top: 15px;
    background-color: #222;
}

.footer-col .contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-col .contact-info-item i {
    color: #5c8f66;
    font-size: 16px;
    margin-top: 3px;
}

/* Social Media Icons */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-links a {
    color: #ccc;
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #5c8f66;
}

/* Copyright */
footer .copyright {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 13px;
    color: #aaa;
}









/*---------------------------------- Newsletter --------------------------------*/







/* Newsletter Section */
.newsletter {
    background-color: #1a3e72;
    color: white;
    padding: 40px 0;
    
}

.newsletter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.newsletter-text {
    flex: 1;
    padding-right: 30px;
}

.newsletter-text h2 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.newsletter-text p {
    font-size: 1rem;
    opacity: 0.9;
}

.newsletter-form {
    flex: 1;
}

.form-group {
    display: flex;
}

.form-group input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.form-group button {
    padding: 12px 20px;
    background-color: #e31b23;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.form-group button:hover {
    background-color: #c5161d;
}

.alert {
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Responsive Design */
@media (max-width: 768px) {
    .newsletter-container {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .form-group input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .form-group button {
        border-radius: 4px;
        width: 100%;
    }
}














/*---------------------------------------- youtube ------------------------------------------*/




/* YouTube Video Section */
.youtube-video {
    padding: 60px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.youtube-video h2 {
    color: #1a3e72;
    margin-bottom: 30px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .youtube-video {
        padding: 40px 0;
    }
    
    .video-container {
        margin: 0 15px;
    }
}







/*------------------------------------- news - news-detail -------------------------------------*/ 







/* ==================== */
/* News Listing Page */
/* ==================== */

/* News Grid Container */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin: 40px 0;
}

/* News Card Enhancements */
.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover img {
    transform: scale(1.03);
}

.news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-content h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #1a3e72;
    line-height: 1.3;
}

.date {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.date:before {
    content: "📅";
    margin-right: 6px;
}

.news-content p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
    flex: 1;
}

.read-more {
    display: inline-block;
    color: #e31b23;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
    border-bottom: 2px solid transparent;
}

.read-more:hover {
    color: #c5161d;
    border-bottom-color: #c5161d;
}

/* Page Header */
.news-programs .container h1 {
    font-size: 2.5rem;
    color: #1a3e72;
    margin-top: 30px;
    position: relative;
    padding-bottom: 15px;
}



.news-programs h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: #e31b23;
    border-radius: 2px;
}

.container h2 {
    font-size: 2.5rem;
    margin-top: 30px;
    position: relative;
    padding-bottom: 15px;
}

/* News Page Styles */
.news-programs {
    padding: 40px 0;
    background-color: #a9a9a9;
}

.news-programs .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-programs h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 2.5rem;
}

/* Search Box Styles */
.search-box {
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.input-group {
    display: flex;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.input-group .form-control {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-right: none;
    font-size: 16px;
    outline: none;
}

.input-group .btn {
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.input-group .btn-primary {
    background-color: #007bff;
    color: white;
}

.input-group .btn-primary:hover {
    background-color: #0069d9;
}

.input-group .btn-secondary {
    background-color: #6c757d;
    color: white;
    margin-left: 5px;
}

.input-group .btn-secondary:hover {
    background-color: #5a6268;
}

/* Search Results Info */
.search-results-info {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #e9ecef;
    border-radius: 4px;
}

.search-results-info p {
    margin: 5px 0;
    color: #495057;
}

.search-results-info strong {
    color: #212529;
}

/* Search Box */
.search-box {
    margin: 0 auto 30px;
    max-width: 600px;
    display: flex;
    gap: 10px;
}

.search-box input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.search-box button {
    padding: 12px 20px;
    background: #2c7be5;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-box button:hover {
    background: #1a68d1;
}

/* Results Info */
#search-results-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

#search-results-info.hidden {
    display: none;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 40px;
    grid-column: 1 / -1;
    color: #6c757d;
}

/* Responsive */
@media (max-width: 768px) {
    .search-box {
        flex-direction: column;
    }
}
/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.pagination button {
    padding: 8px 16px;
    background: #2c7be5;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.pagination button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.pagination button:hover:not(:disabled) {
    background: #1a68d1;
}

#page-info {
    font-size: 14px;
    color: #666;
}

/* Search Reset Button */
.search-box button {
    background: #6c757d;
}

.search-box button:hover {
    background: #5a6268;
}

/* News Grid Layout */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 20px;
}

.news-content h2 {
    margin: 0 0 10px;
    font-size: 1.4rem;
    color: #333;
}

.news-content h2 a {
    color: inherit;
    text-decoration: none;
}

.news-content h2 a:hover {
    color: #007bff;
}

.news-content .date {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.read-more:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* No Results Message */
.no-results {
    text-align: center;
    padding: 40px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.no-results p {
    font-size: 1.2rem;
    color: #6c757d;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination a {
    color: #007bff;
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid #ddd;
    margin: 0 4px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.pagination a.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination a:hover:not(.active) {
    background-color: #f1f1f1;
}

.pagination-btn {
    background-color: #f8f9fa;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .input-group .form-control {
        border-right: 1px solid #ddd;
        border-bottom: none;
    }
    
    .input-group .btn {
        width: 100%;
        margin: 5px 0 0 0;
    }
    
    .pagination {
        flex-direction: column;
        align-items: center;
    }
    
    .pagination a {
        margin: 5px 0;
    }
}


/* ========================================================================================================= */
/* News Detail Page */
/* ==================== */

/* Page Header */
.page-header {
    background-color: #fff;
    color: #1a3e72;
    padding: 0px 0px 0px;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.news-date {
    font-size: 1rem;
    opacity: 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #1a3e72;
}

.news-date:before {
    content: "📅";
    margin-right: 8px;
}

/* News Detail Grid */
.news-detail-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin: 40px 0;
}

.news-main {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-featured-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-content {
   
    line-height: 1.8;
    color: #333;
}

.news-content h2{
   font-size: 1.5rem;
   
}

.news-content p {
    margin-bottom: 20px;
}

/* Sidebar */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-card h3 {
    color: #1a3e72;
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.sidebar-card h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #e31b23;
}

/* Social Share */
.social-share {
    display: flex;
    gap: 12px;
}

.social-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.social-share a:hover {
    transform: translateY(-3px);
}

.social-share .facebook { background: #3b5998; }
.social-share .twitter { background: #333; }
.social-share .linkedin { background: #0077b5; }
.social-share .whatsapp { background: #25d366; }

/* Latest News List */
.latest-news {
    list-style: none;
    padding: 0;
    margin: 0;
}

.latest-news li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.latest-news li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.latest-news a {
    color: #333;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.latest-news a:hover {
    color: #e31b23;
}

/* ==================== */
/* Responsive Styles */
/* ==================== */

@media (max-width: 992px) {
    .news-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .news-sidebar {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .news-card img {
        height: 180px;
    }
    
    .page-header {
        padding: 60px 0 30px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .container h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .news-content {
        padding: 20px;
    }
    
    .sidebar-card {
        padding: 20px;
    }
}













/*------------------------------------- programs - programs detail -------------------------------*/

/* ==================== */
/* Programs Listing Page */
/* ==================== */

/* Programs Grid Container */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin: 40px 0;
}

/* Program Card Enhancements */
.program-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.program-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover img {
    transform: scale(1.03);
}

.program-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-content h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #1a3e72;
    line-height: 1.3;
}

.program-date {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.program-date:before {
    content: "📅";
    margin-right: 6px;
}

.program-content p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
    flex: 1;
}

.program-content .btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: #e31b23;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.program-content .btn:hover {
    background-color: #c5161d;
}

/* Program Image Placeholder */
.program-image-placeholder {
    height: 220px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 3rem;
}

/* No Programs Message */
.no-programs {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #6c757d;
    font-size: 1.1rem;
}

/* Page Header */
.news-programs .container h1 {
    font-size: 2.5rem;
    color: #1a3e72;
    margin-top: 30px;
    position: relative;
    padding-bottom: 15px;
}

.news-programs .container p {
    color: #43494e;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.news-programs h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: #e31b23;
    border-radius: 2px;
}

/* Pagination Styles for programs.php*/
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 10px;
    flex-wrap: wrap;
    /* padding-bottom: 20px; */
}

.page-numbers {
    display: flex;
    gap: 5px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 40px;
}

.page-link:hover {
    background-color: #f5f5f5;
}

.page-link.current {
    background-color: #1a3e72;
    color: white;
    border-color: #1a3e72;
}

.page-link.prev, .page-link.next {
    padding: 8px 20px;
}

.page-link.prev i, .page-link.next i {
    font-size: 0.8em;
}

.page-dots {
    padding: 8px 5px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pagination {
        gap: 5px;
    }
    
    .page-link {
        padding: 6px 10px;
        min-width: 30px;
    }
    
    .page-link.prev, .page-link.next {
        padding: 6px 12px;
    }
}




/* Program Detail Page */
/* ==================== */

/* Page Header */
.page-header {
    background-color: #fff;
    color: #1a3e72;
    padding: 20px 0 40px;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
       position: relative;
    padding-bottom: 15px;
}




.program-date {
    font-size: 1rem;
    opacity: 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #1a3e72;
}

.program-date:before {
    content: "📅";
    margin-right: 8px;
}

/* Program Detail Grid */
.program-detail-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin: 40px 0;
}

.program-main {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.program-featured-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.program-description {
    line-height: 1.8;
    color: #333;
}

.program-description h2 {
    font-size: 1.5rem;
}

.program-description p {
    margin-bottom: 20px;
}

/* Sidebar */
.program-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-card h3 {
    color: #1a3e72;
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.sidebar-card h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #e31b23;
}

/* Program Info List */
.program-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.program-info li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.program-info li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.program-info strong {
    color: #333;
    display: block;
    margin-bottom: 5px;
}

/* Other Programs List */
.other-programs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.other-programs li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.other-programs li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.other-programs a {
    color: #333;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.other-programs a:hover {
    color: #e31b23;
}

/* ==================== */
/* Responsive Styles */
/* ==================== */

@media (max-width: 992px) {
    .program-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .program-sidebar {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 30px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .program-main {
        padding: 20px;
    }
    
    .sidebar-card {
        padding: 20px;
    }
}







/* Image Gallery & Preview Styles */
.image-preview-container,
.current-images,
.image-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 20px;
}

.image-preview-container img,
.image-thumbnails .thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ddd;
    background: #fff;
    transition: all 0.3s ease;
}

.image-preview-container img {
    max-width: 150px;
    max-height: 150px;
    padding: 5px;
}

/* Current Images Gallery */
.current-images {
    gap: 15px;
}

.image-item {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* Program Gallery Styles */
.program-gallery {
    margin-bottom: 30px;
}

.featured-image {
    margin-bottom: 15px;
    position: relative;
}

.featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid #eee;
}

.image-thumbnails .thumbnail {
    cursor: pointer;
}

.image-thumbnails .thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.image-thumbnails .thumbnail.active {
    border: 2px solid #1a73e8;
    box-shadow: 0 0 10px rgba(26, 115, 232, 0.3);
}

/* Lightbox Styles (if needed) */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

#lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-controls {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 20px;
}

.lightbox-controls span {
    color: white;
    font-size: 40px;
    cursor: pointer;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.caption {
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .featured-image img {
        max-height: 300px;
    }
    
    .image-preview-container img,
    .image-thumbnails .thumbnail {
        width: 60px;
        height: 60px;
    }
}






/*------------------------------------- pagination -----------------------------*/




/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 5px;
    padding-bottom: 20px;
}

.pagination a {
    color: #1a3e72;
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s;
}

.pagination a.active {
    background-color: #1a3e72;
    color: white;
    border: 1px solid #1a3e72;
}

.pagination a:hover:not(.active) {
    background-color: #ddd;
}

.pagination a.pagination-btn {
    background-color: #f8f9fa;
}


/*------------------------------------- contact us -----------------------------------*/




/* ==================== */
/* Contact Page Styles */
/* ==================== */

/* Contact Page Header */
.page-header.contact-header {
    
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 60px 0;
    margin-bottom: 60px;
    background-color: #03121f;
}

.page-header.contact-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.page-header.contact-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #e31b23;
    border-radius: 2px;
}

.contact-img img{
  border-radius: 3%;
}

/* Contact Container */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

/* Contact Information Section */
.contact-info {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-info h2 {
    color: #1a3e72;
    font-size: 2rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #e31b23;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: #e31b23;
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h3 {
    color: #1a3e72;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.info-item p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}






/* Responsive Design */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info,
    .contact-form {
        padding: 30px;
    }
    
    .page-header.contact-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .page-header.contact-header {
        min-height: 250px;
        padding: 60px 0;
    }
    
    .page-header.contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-info h2,
    .contact-form h2 {
        font-size: 1.8rem;
    }
    
    .info-item {
        flex-direction: column;
    }
    
    .info-item i {
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .contact-map {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .page-header.contact-header {
        padding: 40px 0;
    }
    
    .contact-info,
    .contact-form {
        padding: 25px;
    }
    
    .contact-info h2,
    .contact-form h2 {
        font-size: 1.6rem;
    }
    
    .submit-btn {
        width: 100%;
    }
}












/*--------------------------------------- videos multimedia.php ---------------------------------------------------*/
















/* Video Grid Styles */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
    padding-bottom: 30px;
}

.video-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.default-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-thumbnail:hover .play-overlay {
    opacity: 1;
}

.play-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    color: white;
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #333;
}

.video-info p {
    margin: 0 0 15px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.video-meta {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #888;
}

.video-meta i {
    margin-right: 5px;
}

.upload-date {
    display: flex;
    align-items: center;
}

.no-content {
    text-align: center;
    padding: 50px 0;
    color: #666;
}

.no-content i {
    font-size: 50px;
    margin-bottom: 20px;
    color: #ddd;
}

.no-content p {
    font-size: 16px;
}

/* Extra compatibility for very small mobile devices (e.g. Galaxy S8+, 360px wide) */
@media (max-width: 380px) {
  .logo img {
    height: 35px;
  }

  .mobile-menu-toggle {
    font-size: 1.1rem;
    margin-left: 8px;
  }

  .nav-content {
    top: 55px;
    height: calc(100vh - 55px);
  }

  .main-menu li a,
  .top-line-menu li a {
    font-size: 0.85rem;
    padding: 8px 10px;
  }

  .hero-split h1 {
    font-size: 1.3rem;
  }

  .hero-subtitle {
    font-size: 0.8rem;
  }

  .hero-text a,
  .text-center a,
  .form-group button {
    font-size: 0.8rem;
    padding: 7px 12px;
  }

  .mission-card h2,
  .founder-card h3,
  .footer-col h3 {
    font-size: 1.1rem;
  }

  .mission-card p,
  .founder-card p,
  .footer-col ul li a,
  .newsletter-text p {
    font-size: 0.8rem;
  }

  .news-card img,
  .program-card img {
    height: 150px;
  }

  .news-content h3,
  .program-content h3 {
    font-size: 1rem;
  }

  .youtube-video h2 {
    font-size: 1.2rem;
  }

  .footer-banner img {
    max-width: 220px;
  }

  .video-info h3 {
    font-size: 0.9rem;
  }

  .pagination a {
    padding: 4px 8px;
    font-size: 0.8rem;
  }
}
