/* ===================================
   CSS Variables & Reset
   =================================== */
:root {
    --primary-color: #2c5aa0;
    --secondary-color: #f8b500;
    --accent-color: #e74c3c;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --border-color: #e0e0e0;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --success: #27ae60;
    --error: #e74c3c;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

main {
    margin-top: 70px;
}

/* ===================================
   Logo Styles
   =================================== */
.logo {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 10px;
    display: inline-block;
}

.logo-circle {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin-right: 10px;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
}

.brand-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px 0;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.apply-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    transition: background 0.3s ease;
}

.nav-link.apply-btn:hover {
    background: #1e4080;
    color: var(--white);
}

.nav-link.donate-nav {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link.donate-nav i {
    margin-right: 5px;
    color: var(--error);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    margin-top: 0;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    min-height: 600px;
}

.hero-highlight {
    color: #2c5aa0;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: #1e4080;
    border-color: #1e4080;
}

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

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

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--border-color);
}

.btn-outline:hover {
    background: var(--text-dark);
    color: var(--white);
}

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

.btn-success:hover {
    background: #229954;
    border-color: #229954;
}

.btn-error {
    background: var(--error);
    color: var(--white);
    border-color: var(--error);
}

.btn-error:hover {
    background: #c0392b;
    border-color: #c0392b;
}

.btn-small {
    padding: 5px 15px;
    font-size: 0.9rem;
}

.btn-delete {
    background: var(--error);
    color: var(--white);
    border: none;
    padding: 5px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-delete:hover {
    background: #c0392b;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
}

.btn-remove-stat {
    background: var(--error);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.btn-add-stat {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

/* ===================================
   Stats Section
   =================================== */
.stats-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-card {
    padding: 30px 20px;
    background: var(--white);
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    line-height: 1;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-top: 5px;
    display: block;
    text-align: center;
}

/* Admin stat card variant */
.admin-stats .stat-card {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    min-height: auto;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.stat-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.stat-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* ===================================
   Mission Section
   =================================== */
.mission-section {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.mission-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mission-card {
    width: 300px;
    height: 350px;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.mission-card-front,
.mission-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 30px;
    border-radius: 15px;
    background: var(--bg-light);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid transparent;
    transition: opacity 0.3s ease, transform 0.3s ease;
    backface-visibility: hidden;
}

.mission-card-front {
    opacity: 1;
    transform: rotateY(0deg);
    z-index: 2;
}

.mission-card-back {
    opacity: 0;
    transform: rotateY(180deg);
    z-index: 1;
    background: var(--white);
    text-align: left;
    justify-content: flex-start;
    padding: 25px;
}

.mission-card:hover .mission-card-front,
.mission-card.flipped .mission-card-front {
    opacity: 0;
    transform: rotateY(-180deg);
    z-index: 1;
}

.mission-card:hover .mission-card-back,
.mission-card.flipped .mission-card-back {
    opacity: 1;
    transform: rotateY(0deg);
    z-index: 2;
}

.mission-card:hover .mission-card-front,
.mission-card:hover .mission-card-back {
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
    transform: translateY(-5px) rotateY(0deg);
}

.mission-card:hover .mission-card-front {
    transform: translateY(-5px) rotateY(-180deg);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.mission-card:hover .mission-icon {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.mission-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
    text-align: center;
}

.mission-card-back h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    text-align: center;
}

.card-summary {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
    text-align: center;
}

.flip-hint {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-top: auto;
    padding: 8px 16px;
    background: rgba(44, 90, 160, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.mission-card:hover .flip-hint {
    background: var(--primary-color);
    color: var(--white);
}

.mission-card-back p {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 500;
    text-align: center;
}

.mission-card-back ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.mission-card-back ul li {
    color: var(--text-light);
    margin-bottom: 8px;
    font-size: 0.85rem;
    line-height: 1.4;
    position: relative;
    padding-left: 20px;
}

.mission-card-back ul li:before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* ===================================
   News Section
   =================================== */
.news-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

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

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

.news-content {
    padding: 30px;
}

.news-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

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

.news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1e4080;
}

.section-footer {
    text-align: center;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: 100px 0;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   Page Header
   =================================== */
.page-header {
    margin-top: 0;
    padding: 80px 0;
    background: var(--bg-light);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* ===================================
   Forms
   =================================== */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 50px;
}

.application-form-section {
    padding: 60px 0;
}

.form-section {
    margin-bottom: 40px;
}

.form-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-group.inline {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group.inline input[type="number"] {
    width: 100px;
}

.form-actions {
    text-align: center;
    margin-top: 40px;
}

.form-note {
    margin-top: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.admin-form-container {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

/* Custom stats form styles */
.custom-stats-container {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.custom-stat-row {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
}

.custom-stat-row input {
    width: 100%;
}

/* ===================================
   Alerts
   =================================== */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.alert-error {
    background: #ffe6e6;
    border: 1px solid #ffcccc;
    color: #cc0000;
}

.alert-success {
    background: #e6ffe6;
    border: 1px solid #ccffcc;
    color: #006600;
}

.alert ul {
    margin: 0;
    padding-left: 20px;
}

/* ===================================
   Success Page
   =================================== */
.success-page {
    margin-top: 70px;
    padding: 100px 0;
    text-align: center;
}

.success-content {
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 30px;
}

.success-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.success-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.next-steps {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    text-align: left;
}

.next-steps h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.next-steps li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.success-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #444;
    text-align: center;
    color: #bdc3c7;
}

/* ===================================
   Admin Layout
   =================================== */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-nav {
    width: 250px;
    background: var(--text-dark);
    color: var(--white);
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-brand {
    padding: 0 20px 20px;
    border-bottom: 1px solid #444;
    margin-bottom: 20px;
}

.admin-brand h2 {
    color: var(--white);
    margin: 0;
    font-size: 1.3rem;
}

.admin-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.admin-menu a {
    display: block;
    padding: 15px 20px;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.admin-menu a:hover,
.admin-menu a.active {
    background: var(--primary-color);
    color: var(--white);
    border-left-color: var(--secondary-color);
}

.admin-menu i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.admin-main {
    flex: 1;
    margin-left: 250px;
    padding: 30px;
    background: var(--bg-light);
    min-height: 100vh;
}

.admin-header {
    margin-bottom: 30px;
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.admin-header h1 {
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 2rem;
}

.admin-header p {
    color: var(--text-light);
    margin: 0;
}

/* Dashboard Stats */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Quick Actions */
.admin-actions h2 {
    color: var(--text-dark);
    margin-bottom: 20px;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.action-card {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-decoration: none;
    transition: transform 0.3s ease;
    text-align: center;
    color: inherit;
}

.action-card:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
}

.action-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.action-card h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.action-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

/* ===================================
   Blog Section
   =================================== */
.blog-section {
    padding: 60px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 250px;
    overflow: hidden;
}

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

.blog-content {
    padding: 30px;
}

.blog-content h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

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

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Individual Blog Post Page */
.blog-post-section {
    padding: 60px 0;
}

.blog-post {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.post-header {
    padding: 40px 40px 0;
    text-align: center;
}

.post-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.post-image {
    margin-bottom: 30px;
}

.post-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.post-content {
    padding: 0 40px 40px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.post-actions {
    padding: 0 40px 40px;
    text-align: center;
}

/* ===================================
   Contact Section
   =================================== */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    color: var(--text-dark);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.contact-item h4 {
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

.office-hours {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
}

.office-hours h4 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

/* ===================================
   Projects Section
   =================================== */
.projects-section {
    padding: 60px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.project-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

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

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

.project-content {
    padding: 30px;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-align: left;
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
    text-align: left;
}

.project-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.project-stats .stat {
    flex: 0 1 calc(33.333% - 20px);
    min-width: 120px;
    text-align: center;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.project-stats .number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    line-height: 1;
}

.project-stats .label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}

/* Admin project table styles */
.projects-table {
    width: 100%;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

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

.projects-table tr:hover {
    background: var(--bg-light);
}

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

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.impact-card {
    text-align: center;
    padding: 40px 30px;
}

.impact-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 2rem;
}

.impact-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

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

/* ===================================
   About Page
   =================================== */
.about-content {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 30px 0 15px;
}

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

.about-image {
    text-align: center;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.values-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.value-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

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

/* ===================================
   Donate Page
   =================================== */
.donate-section {
    padding: 60px 0;
}

.donate-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.donate-intro h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.donate-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.donate-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.donate-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.donate-card.active {
    border: 2px solid var(--primary-color);
}

.donate-card.disabled {
    opacity: 0.7;
    position: relative;
    overflow: hidden;
}

.card-header {
    padding: 30px;
    background: var(--bg-light);
    text-align: center;
    position: relative;
}

.card-header i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-active {
    background: var(--success);
    color: var(--white);
}

.badge-coming-soon {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.card-content {
    padding: 30px;
    position: relative;
}

.benevity-info {
    background: #e8f4fd;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.benevity-info h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.benevity-info h4 i {
    color: var(--success);
    margin-right: 8px;
}

.tax-info {
    background: #fff9e6;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    display: flex;
    align-items: start;
    gap: 15px;
}

.tax-info i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.corporate-steps {
    margin-top: 30px;
}

.corporate-steps h4 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.corporate-steps ol {
    padding-left: 20px;
}

.corporate-steps li {
    margin-bottom: 10px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Disabled donation form styles */
.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    z-index: 10;
}

.coming-soon-overlay i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.coming-soon-overlay h4 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.donation-form-placeholder {
    filter: blur(2px);
    pointer-events: none;
}

.amount-selector {
    margin-bottom: 30px;
}

.amount-selector h4 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.amount-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.amount-btn {
    padding: 15px 30px;
    border: 2px solid var(--border-color);
    background: var(--white);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: not-allowed;
    opacity: 0.5;
}

.donation-frequency {
    margin: 30px 0;
    display: flex;
    gap: 30px;
    justify-content: center;
}

.donation-frequency label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
}

/* Info section */
.donate-info-section {
    margin: 60px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    text-align: center;
    padding: 30px;
}

.info-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-card h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

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

/* Stay Updated Section */
.stay-updated {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 600px;
    margin: 60px auto 0;
}

.stay-updated h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.stay-updated p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.update-form .form-group.inline {
    display: flex;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.update-form input {
    flex: 1;
}

/* Contact CTA */
.donate-contact-cta {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.donate-contact-cta h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.donate-contact-cta p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* ===================================
   Schools Page
   =================================== */
.schools-section {
    padding: 60px 0;
}

.schools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.school-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.school-card:hover {
    transform: translateY(-5px);
}

.school-header {
    padding: 25px 25px 20px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.school-header h3 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1.4rem;
}

.school-location {
    color: var(--text-light);
    font-size: 0.95rem;
}

.school-location i {
    margin-right: 5px;
    color: var(--primary-color);
}

.school-header .status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-onboarding {
    background: #e3f2fd;
    color: #1976d2;
}

.school-content {
    padding: 25px;
}

.school-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.school-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.school-stats .stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.school-stats .stat i {
    color: var(--primary-color);
}

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

/* School Detail Page */
.school-detail-section {
    padding: 60px 0;
}

.school-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.enrollment-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #e8f4fd;
    border-radius: 8px;
    margin-top: 20px;
}

.enrollment-info i {
    color: var(--primary-color);
}

.enrollment-info.onboarding {
    background: #e3f2fd;
}

.enrollment-info.onboarding i {
    color: #1976d2;
}

.detail-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
}

.stat-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item h4 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.social-links-school,
.school-links-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Links & Articles form section */
.link-row {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.link-row-input {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.link-row-input input {
    flex: 1;
}

.form-help {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

#add-link-btn {
    margin-bottom: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: var(--bg-light);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

.back-link {
    margin-top: 40px;
}

/* Admin Schools Table */
.schools-table {
    width: 100%;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

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

.schools-table tr:hover {
    background: var(--bg-light);
}

/* ===================================
   Volunteer Page
   =================================== */
.volunteer-section {
    padding: 60px 0;
}

.volunteer-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.volunteer-intro h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.volunteer-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.volunteer-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.volunteer-card.highlight {
    border: 2px solid var(--primary-color);
    position: relative;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.5rem;
}

.volunteer-card h3 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.volunteer-card ul {
    list-style: none;
    padding: 0;
}

.volunteer-card li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 25px;
}

.volunteer-card li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.stipend-note {
    background: #fff9e6;
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stipend-note i {
    color: var(--secondary-color);
}

.volunteer-opportunities {
    margin-bottom: 60px;
}

.volunteer-opportunities h2 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.opportunity-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.opportunity-card h4 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.opportunity-card h4 i {
    color: var(--primary-color);
    margin-right: 8px;
}

.volunteer-process {
    background: var(--white);
    padding: 60px 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 60px;
}

.volunteer-process h2 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.step {
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.3rem;
    font-weight: bold;
}

.step h4 {
    color: var(--text-dark);
    margin-bottom: 8px;
}

.step p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.volunteer-cta {
    text-align: center;
    background: var(--bg-light);
    padding: 60px 40px;
    border-radius: 15px;
}

.volunteer-cta h2 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.volunteer-cta p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* ===================================
   Status Badges
   =================================== */
.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

.published {
    background: #d4edda;
    color: #155724;
}

.draft {
    background: #f8d7da;
    color: #721c24;
}

/* ===================================
   Empty State
   =================================== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.empty-state h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-light);
}

/* ===================================
   Utility Classes
   =================================== */
.drag-handle {
    cursor: move;
    color: #999;
    font-size: 1.2rem;
    padding: 0 10px;
}

.dragging {
    opacity: 0.5;
}

.order-badge {
    background: #e0e0e0;
    color: #666;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Custom stats in admin table */
.custom-stats {
    font-size: 0.85rem;
    color: #666;
}

.custom-stat {
    display: inline-block;
    margin-right: 15px;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    /* Navigation */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* Hero */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* Mission */
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mission-card {
        width: 100%;
        max-width: 300px;
        height: 320px;
    }
    
    .mission-card-front,
    .mission-card-back {
        padding: 25px;
    }
    
    .mission-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .mission-card h3 {
        font-size: 1.2rem;
    }
    
    /* Grids */
    .news-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .success-actions {
        flex-direction: column;
        align-items: center;
    }
    
    /* Headers */
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .section-header h2,
    .cta-content h2 {
        font-size: 2rem;
    }
    
    /* Admin */
    .admin-nav {
        width: 100%;
        height: auto;
        position: static;
    }
    
    .admin-main {
        margin-left: 0;
    }
    
    .admin-layout {
        flex-direction: column;
    }
    
    /* Contact & About */
    .contact-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-stats .stat {
        flex: 0 1 calc(50% - 20px);
    }
    
    /* Post */
    .post-header,
    .post-content,
    .post-actions {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    /* Custom stats */
    .custom-stat-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .btn-remove-stat {
        width: 100%;
    }
    
    /* Donate */
    .donate-options {
        grid-template-columns: 1fr;
    }
    
    .amount-buttons {
        flex-direction: column;
    }
    
    .amount-btn {
        width: 100%;
    }
    
    .donation-frequency {
        flex-direction: column;
        gap: 15px;
    }
    
    .update-form .form-group.inline {
        flex-direction: column;
    }
    
    .update-form input,
    .update-form button {
        width: 100%;
    }
    
    /* Schools */
    .school-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .volunteer-types {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .schools-table {
        font-size: 0.9rem;
    }
    
    .schools-table th,
    .schools-table td {
        padding: 10px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Hero */
    .hero {
        padding: 40px 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Forms */
    .form-container {
        padding: 30px 20px;
    }
    
    /* Sections */
    .mission-section,
    .news-section,
    .cta-section {
        padding: 60px 0;
    }
    
    /* Mission cards */
    .mission-card {
        height: 300px;
    }
    
    .mission-card-front,
    .mission-card-back {
        padding: 20px;
    }
    
    .mission-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .mission-card-back ul li {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    /* Project stats */
    .project-stats .stat {
        flex: 0 1 100%;
    }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
    .mission-card:hover .mission-card-front {
        opacity: 1;
        transform: rotateY(0deg);
        z-index: 2;
    }
    
    .mission-card:hover .mission-card-back {
        opacity: 0;
        transform: rotateY(180deg);
        z-index: 1;
    }
    
    .mission-card.flipped .mission-card-front {
        opacity: 0;
        transform: rotateY(-180deg);
        z-index: 1;
    }
    
    .mission-card.flipped .mission-card-back {
        opacity: 1;
        transform: rotateY(0deg);
        z-index: 2;
    }
}