/* =============================================
   CENCEX Website Stylesheet
   Centre for Community Excellence
   Primary Color: #1E90FF (Dodger Blue)
   ============================================= */

/* =============================================
   Global Styles
   ============================================= */
:root {
    --primary-color: #1E90FF;
    --primary-dark: #1873CC;
    --primary-light: #E6F2FF;
    --secondary-color: #87CEEB;
    --accent-color: #FFA500;
    --text-dark: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-gray: #E9ECEF;
    --border-color: #DEE2E6;
    --success-color: #28A745;
    --danger-color: #DC3545;
    --warning-color: #FFC107;
    --info-color: #17A2B8;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-success {
    background-color: var(--success-color);
    color: var(--bg-white);
}

.btn-danger {
    background-color: var(--danger-color);
    color: var(--bg-white);
}

.btn-warning {
    background-color: var(--warning-color);
    color: var(--text-dark);
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-title p {
    color: var(--text-light);
    font-size: 16px;
    max-width: 600px;
    margin: 20px auto 0;
}

/* =============================================
   Top Header
   ============================================= */
.top-header {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 10px 0;
    font-size: 14px;
}

.top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-header-info {
    display: flex;
    gap: 20px;
}

.top-header-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-header-info i {
    font-size: 14px;
}

.top-header-social {
    display: flex;
    gap: 15px;
}

.top-header-social a {
    color: var(--bg-white);
    font-size: 14px;
    transition: var(--transition);
}

.top-header-social a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* =============================================
   Main Header / Navigation
   ============================================= */
.main-header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 60px;
    width: auto;
}

.logo-text h1 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 0;
    line-height: 1.2;
}

.logo-text span {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-nav ul li a {
    color: var(--text-dark);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 0;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--primary-color);
}

.donate-btn {
    background-color: var(--accent-color);
    color: var(--bg-white);
    padding: 10px 25px;
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.donate-btn:hover {
    background-color: #E69500;
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* =============================================
   Hero Section
   ============================================= */
.hero-section {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.9) 0%, rgba(25, 118, 210, 0.9) 100%),
                url('../images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bg-white);
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    min-width: 150px;
}

.hero-buttons .btn-secondary {
    border-color: var(--bg-white);
    color: var(--bg-white);
}

.hero-buttons .btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

/* =============================================
   About Section
   ============================================= */
.about-section {
    background-color: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    z-index: -1;
}

/* =============================================
   Vision & Mission Section
   ============================================= */
.vision-mission-section {
    background-color: var(--bg-light);
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vm-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.vm-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.vm-icon i {
    font-size: 36px;
    color: var(--primary-color);
}

.vm-card h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.vm-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* =============================================
   Programs Section
   ============================================= */
.programs-section {
    background-color: var(--bg-white);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.program-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.program-icon {
    height: 120px;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-icon i {
    font-size: 50px;
    color: var(--primary-color);
}

.program-content {
    padding: 25px;
}

.program-content h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.program-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.program-content .read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.program-content .read-more:hover {
    gap: 12px;
}

/* =============================================
   Impact Statistics Section
   ============================================= */
.impact-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 80px 0;
}

.impact-section .section-title h2,
.impact-section .section-title p {
    color: var(--bg-white);
}

.impact-section .section-title h2::after {
    background-color: var(--accent-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    font-family: var(--font-primary);
    margin-bottom: 10px;
    color: var(--accent-color);
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* =============================================
   Projects Section
   ============================================= */
.projects-section {
    background-color: var(--bg-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 25px;
}

.project-category {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.project-content h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.project-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.project-meta span {
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-meta i {
    color: var(--primary-color);
    width: 16px;
}

/* =============================================
   News Section
   ============================================= */
.news-section {
    background-color: var(--bg-white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 25px;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 10px;
}

.news-date i {
    color: var(--primary-color);
}

.news-content h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* =============================================
   Partners Section
   ============================================= */
.partners-section {
    background-color: var(--bg-light);
    padding: 60px 0;
}

.partners-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.partner-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
    max-height: 80px;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* =============================================
   Call to Action Section
   ============================================= */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 180px;
}

.cta-buttons .btn-primary {
    background-color: var(--accent-color);
}

.cta-buttons .btn-primary:hover {
    background-color: #E69500;
}

.cta-buttons .btn-secondary {
    border-color: var(--bg-white);
    color: var(--bg-white);
}

.cta-buttons .btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

/* =============================================
   Footer
   ============================================= */
.footer {
    background-color: #1a1a2e;
    color: var(--bg-white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--bg-white);
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--bg-white);
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-newsletter p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    background-color: rgba(255,255,255,0.1);
    color: var(--bg-white);
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-form button {
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* =============================================
   About Page Styles
   ============================================= */
.page-header {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.9) 0%, rgba(25, 118, 210, 0.9) 100%),
                url('../images/page-bg.jpg') center/cover no-repeat;
    padding: 100px 0;
    text-align: center;
    color: var(--bg-white);
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
}

.page-header .breadcrumb a {
    color: rgba(255,255,255,0.8);
}

.page-header .breadcrumb a:hover {
    color: var(--bg-white);
}

.page-header .breadcrumb .active {
    color: var(--accent-color);
}

.history-section {
    background-color: var(--bg-white);
}

.history-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.history-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.org-structure-section {
    background-color: var(--bg-light);
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.staff-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.staff-image {
    height: 250px;
    overflow: hidden;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.staff-image i {
    font-size: 80px;
    color: var(--primary-color);
}

.staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-info {
    padding: 25px;
}

.staff-info h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.staff-info p {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.staff-info span {
    color: var(--text-muted);
    font-size: 13px;
}

/* =============================================
   Programs Page Styles
   ============================================= */
.program-detail-section {
    background-color: var(--bg-white);
    padding: 60px 0;
}

.program-detail-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

.program-detail-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.program-detail-image img {
    width: 100%;
    height: auto;
}

.program-detail-content h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.program-detail-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.program-features {
    list-style: none;
    margin-top: 30px;
}

.program-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.program-features i {
    width: 30px;
    height: 30px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 12px;
}

/* =============================================
   Projects Page Styles
   ============================================= */
.projects-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background-color: transparent;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-dark);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
}

/* =============================================
   Impact Page Styles
   ============================================= */
.testimonials-section {
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    color: var(--primary-light);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    padding-left: 40px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-avatar i {
    font-size: 24px;
    color: var(--primary-color);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-info h5 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.testimonial-info span {
    font-size: 13px;
    color: var(--text-muted);
}

/* =============================================
   Resources Page Styles
   ============================================= */
.resources-section {
    background-color: var(--bg-white);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.resource-card {
    display: flex;
    background-color: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.resource-card:hover {
    box-shadow: var(--shadow-md);
}

.resource-icon {
    width: 100px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-icon i {
    font-size: 40px;
    color: var(--bg-white);
}

.resource-content {
    flex: 1;
    padding: 25px;
}

.resource-content h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.resource-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.resource-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.resource-meta span {
    font-size: 13px;
    color: var(--text-muted);
}

.download-btn {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.download-btn:hover {
    gap: 10px;
}

/* =============================================
   Contact Page Styles
   ============================================= */
.contact-section {
    background-color: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info-card {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon i {
    color: var(--bg-white);
    font-size: 20px;
}

.contact-info-text h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-info-text p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.contact-form-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-secondary);
    font-size: 14px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.map-section {
    background-color: var(--bg-light);
    padding: 0;
}

.map-container {
    height: 400px;
    width: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* =============================================
   Admin Dashboard Styles
   ============================================= */
.admin-body {
    background-color: #f4f6f9;
}

.admin-header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-logo img {
    height: 40px;
}

.admin-logo span {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--text-dark);
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-user span {
    color: var(--text-dark);
    font-size: 14px;
}

.admin-user a {
    color: var(--danger-color);
    font-size: 14px;
}

.admin-wrapper {
    display: flex;
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

.admin-sidebar {
    width: 260px;
    background-color: #1a1a2e;
    position: fixed;
    top: 70px;
    left: 0;
    bottom: 0;
    overflow-y: auto;
}

.admin-nav {
    list-style: none;
    padding: 20px 0;
}

.admin-nav li {
    margin-bottom: 5px;
}

.admin-nav li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: var(--transition);
}

.admin-nav li a:hover,
.admin-nav li a.active {
    background-color: rgba(255,255,255,0.1);
    color: var(--bg-white);
    border-left: 3px solid var(--primary-color);
}

.admin-nav li a i {
    width: 20px;
    text-align: center;
}

.admin-main {
    flex: 1;
    margin-left: 260px;
    padding: 30px;
}

.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-page-header h2 {
    font-size: 28px;
    color: var(--text-dark);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.dashboard-stat-card {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon.blue {
    background-color: rgba(30, 144, 255, 0.1);
    color: var(--primary-color);
}

.stat-icon.green {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.stat-icon.orange {
    background-color: rgba(255, 165, 0, 0.1);
    color: var(--accent-color);
}

.stat-icon.red {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

.stat-icon i {
    font-size: 28px;
}

.stat-info h3 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.stat-info span {
    color: var(--text-muted);
    font-size: 14px;
}

.admin-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.admin-card-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-card-header h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 0;
}

.admin-card-body {
    padding: 25px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
}

.data-table td {
    color: var(--text-light);
    font-size: 14px;
}

.data-table tr:hover td {
    background-color: var(--bg-light);
}

.table-actions {
    display: flex;
    gap: 10px;
}

.table-actions a {
    width: 32px;
    height: 32px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.table-actions .edit {
    background-color: rgba(30, 144, 255, 0.1);
    color: var(--primary-color);
}

.table-actions .edit:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.table-actions .delete {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

.table-actions .delete:hover {
    background-color: var(--danger-color);
    color: var(--bg-white);
}

.table-actions .view {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.table-actions .view:hover {
    background-color: var(--success-color);
    color: var(--bg-white);
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.active {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.status-badge.inactive {
    background-color: rgba(108, 117, 125, 0.1);
    color: var(--text-muted);
}

.status-badge.pending {
    background-color: rgba(255, 165, 0, 0.1);
    color: var(--accent-color);
}

/* Admin Form Styles */
.admin-form {
    max-width: 800px;
}

.admin-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.admin-form .form-group {
    margin-bottom: 25px;
}

.admin-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
}

.admin-form .form-control {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
}

.admin-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

.admin-form textarea.form-control {
    min-height: 150px;
}

.admin-form .btn-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Login Page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.login-card {
    background-color: var(--bg-white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo img {
    height: 80px;
    margin-bottom: 15px;
}

.login-logo h2 {
    font-size: 24px;
    color: var(--text-dark);
}

.login-logo p {
    color: var(--text-light);
    font-size: 14px;
}

/* =============================================
   Responsive Styles
   ============================================= */
@media (max-width: 1200px) {
    .programs-grid,
    .projects-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .about-content,
    .vm-grid,
    .program-detail-header,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .main-nav ul {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-sidebar {
        width: 200px;
    }
    
    .admin-main {
        margin-left: 200px;
    }
}

@media (max-width: 768px) {
    .programs-grid,
    .projects-grid,
    .news-grid,
    .stats-grid,
    .testimonials-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .top-header .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        display: none;
    }
    
    .admin-main {
        margin-left: 0;
    }
    
    .admin-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   Utility Classes
   ============================================= */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: #856404;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.alert-info {
    background-color: rgba(23, 162, 184, 0.1);
    color: var(--info-color);
    border: 1px solid rgba(23, 162, 184, 0.3);
}
