:root {
    --primary-color: #c17a4d;
    --primary-dark: #9d5e38;
    --primary-light: #d99870;
    --secondary-color: #6a8e7f;
    --secondary-dark: #4f6d61;
    --accent-color: #e8b86d;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-cream: #faf8f5;
    --bg-light: #f5f2ed;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Work Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Crimson Pro', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

.lead-text {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-light);
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    padding: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-main {
    font-family: 'Crimson Pro', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.brand-sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--secondary-color);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link::after {
    display: none !important;
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 20px var(--shadow);
    border-radius: 8px;
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.6rem 1.5rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 2rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(193, 122, 77, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(193, 122, 77, 0.4);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 50px;
    border-width: 2px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-light {
    color: var(--white);
    border-color: var(--white);
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 50px;
    border-width: 2px;
    transition: all 0.3s ease;
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #c17a4d 0%, #6a8e7f 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(232, 184, 109, 0.2) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.tagline {
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero .lead {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.min-vh-75 {
    min-height: 75vh;
}

/* Section Padding */
.section-padding {
    padding: 5rem 0;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about-image-placeholder {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    border-radius: 20px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-lg);
}

.about-image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.placeholder-content {
    text-align: center;
    color: white;
    z-index: 1;
}

.placeholder-content i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.placeholder-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

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

/* Mission Vision Cards */
.mission-vision {
    background-color: var(--bg-light);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(193, 122, 77, 0.3);
}

.icon-box i {
    font-size: 2rem;
    color: white;
}

.vision-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.vision-pills .badge {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    font-weight: 500;
    border-radius: 20px;
    font-size: 0.85rem;
}

.mission-list {
    list-style: none;
    padding: 0;
}

.mission-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.mission-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* Focus Cards */
.focus-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.focus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.focus-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.focus-card:hover::before {
    transform: scaleX(1);
}

.focus-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.focus-icon i {
    font-size: 2.5rem;
    color: white;
    z-index: 1;
}

.focus-icon.healthcare {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.focus-icon.education {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.focus-icon.environment {
    background: linear-gradient(135deg, #27ae60, #229954);
}

.focus-icon.women {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.focus-icon.community {
    background: linear-gradient(135deg, #f39c12, #d68910);
}

.focus-icon.cultural {
    background: linear-gradient(135deg, #e67e22, #ca6f1e);
}

.focus-card h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.focus-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.focus-card p:first-of-type {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 1rem;
}

/* Why Exist Section */
.why-exist {
    background: linear-gradient(135deg, var(--text-dark) 0%, #34495e 100%);
    position: relative;
    overflow: hidden;
}

.why-exist::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="2" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.4;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.footer .brand-main {
    color: var(--accent-color);
}

.footer .brand-sub {
    color: var(--secondary-color);
}

.footer h5 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

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

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

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

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

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--primary-light);
    margin-top: 0.2rem;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer a {
    color: var(--accent-color);
}

.footer a:hover {
    color: var(--primary-light);
}

/* Responsive */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .lead {
        font-size: 1.1rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}

/* Page-specific additions */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 4rem 0 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    display: inline-flex;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}

.content-section {
    padding: 4rem 0;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    gap: 1rem;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list i {
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.logo {
    height: 50px;
    width: auto;
}

@media (max-width: 768px) {
    .logo { height: 35px; }
}

@media (max-width: 480px) {
    .logo { height: 30px; }
}