/* 
 * BACKGROUND IMAGE PLACEHOLDERS
 * =============================
 * This stylesheet includes placeholders for background images throughout the site.
 * To add background images:
 * 1. Place your image files in the public/ directory (or appropriate subdirectory)
 * 2. Uncomment the background-image property in the relevant section
 * 3. Update the path to point to your image file
 * 4. Adjust background-size, background-position, and opacity as needed
 * 
 * Recommended image locations:
 * - Hero: hero-background.jpg (full-width, high quality)
 * - Introduction: introduction-background.jpg (subtle, light)
 * - Mission: mission-background.jpg (inspiring, relevant to mission)
 * - Framework: framework-background.jpg (professional, clean)
 * - Signup: signup-background.jpg (welcoming, clear)
 */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3f6baf;
    --secondary-color: #8797af;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

/* Background Overlay Utility Class */
/* Use this class on sections with background images to add a dark overlay for better text readability */
.bg-overlay {
    position: relative;
}

.bg-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.bg-overlay > * {
    position: relative;
    z-index: 1;
}

/* Navigation */
.navbar {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.logo-text {
    font-family: 'Telegraf', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* .logo-text-arabic {
    font-family: 'Fasely Arabic', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
} */

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.cta-link {
    background-color: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-link:hover {
    background-color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(63, 107, 175, 0.85) 0%, rgba(135, 151, 175, 0.85) 100%),
                /* TODO: Add hero background image */
    /* background-image: url('Musawwif_logo_2.png'); */
                var(--primary-color);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

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

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

.btn-primary:hover {
    background-color: #2d5490;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(63, 107, 175, 0.3);
}

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

.btn-secondary:hover {
    background-color: #6b7a95;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(135, 151, 175, 0.3);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

/* Introduction Section */
.introduction {
    background-color: var(--bg-light);
    /* TODO: Add introduction section background image */
    /* background-image: url('path/to/introduction-background.jpg'); */
    /* background-size: cover; */
    /* background-position: center; */
    /* background-attachment: fixed; */
    position: relative;
}

.verse-box {
    background-color: white;
    padding: 2.5rem;
    border-radius: 10px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-color);
}

.verse-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.verse-source {
    text-align: right;
    color: var(--primary-color);
    font-weight: 600;
}

.content-grid {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

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

/* Problem Section */
.problem {
    background-color: var(--bg-white);
    /* TODO: Add problem section background image (optional) */
    /* background-image: url('path/to/problem-background.jpg'); */
    /* background-size: cover; */
    /* background-position: center; */
    position: relative;
}

.problem .content-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.problem-item {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

/* Mission Section */
.mission {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.9) 0%, rgba(255, 255, 255, 0.9) 100%),
                /* TODO: Add mission section background image */
                /* background-image: url('path/to/mission-background.jpg'); */
                var(--bg-light);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
}

.mission-text {
    font-size: 1.25rem;
    line-height: 1.9;
    color: var(--text-dark);
    text-align: center;
}

/* Stakeholders Section */
.stakeholders {
    background-color: var(--bg-white);
    /* TODO: Add stakeholders section background image (optional) */
    /* background-image: url('path/to/stakeholders-background.jpg'); */
    /* background-size: cover; */
    /* background-position: center; */
    position: relative;
}

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

.stakeholder-card {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 10px;
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stakeholder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stakeholder-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

/* Framework Section */
.framework {
    background-color: var(--bg-light);
    /* TODO: Add framework section background image */
    /* background-image: url('path/to/framework-background.jpg'); */
    /* background-size: cover; */
    /* background-position: center; */
    /* background-attachment: fixed; */
    position: relative;
}

.framework-section {
    margin-bottom: 4rem;
    
}

.framework-section:last-child {
    margin-bottom: 0;
}

.framework-section h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.ipp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.ipp-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.ipp-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

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

.execution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.execution-item {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--secondary-color);
}

.execution-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;

}

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

.risk-text {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Advisors Section */
.advisors {
    background-color: var(--bg-white);
}

.advisors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.advisor-item {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.advisor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.advisor-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.advisor-title {
    color: var(--text-light);
    font-size: 1rem;
    font-style: italic;
    margin: 0;
}

/* Partners Section */
.partners {
    background-color: var(--bg-light);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 150px;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.partner-logo {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

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

/* Sign Up Section */
.signup {
    background-color: var(--bg-white);
    /* TODO: Add signup section background image */
    /* background-image: url('path/to/signup-background.jpg'); */
    /* background-size: cover; */
    /* background-position: center; */
    /* background-attachment: fixed; */
    position: relative;
}

.signup-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.signup-form-container,
.google-form-container {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.signup-form-container h3,
.google-form-container h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.google-form-container p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.form-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

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

.calendly-link-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.calendly-link-section p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
    text-align: center;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(63, 107, 175, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

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

.social-media a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-media a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .verse-text {
        font-size: 1.1rem;
    }

    .signup-options {
        grid-template-columns: 1fr;
    }

    .ipp-grid,
    .execution-grid {
        grid-template-columns: 1fr;
    }

    .problem .content-grid {
        grid-template-columns: 1fr;
    }

    .advisors-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    section {
        padding: 3rem 0;
    }
}
