/* 
 * Sight The World - Custom CSS Styles
 * A responsive website for vision care nonprofit
 */

/* 
 * ===================================
 * General & Global Styles
 * ===================================
 */
:root {
    --primary: #1a76d2;     /* Primary blue */
    --primary-dark: #0d47a1;
    --primary-light: #64b5f6;
    --secondary: #5c6bc0;   /* Secondary indigo */
    --dark: #212529;
    --light: #f8f9fa;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-light: #f8f9fa;
    --gray-dark: #343a40;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-weight: 700;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.btn {
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

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

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

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

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

.shadow-custom {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* 
 * ===================================
 * Typography
 * ===================================
 */
.display-1, .display-2, .display-3, .display-4 {
    font-weight: 700;
    line-height: 1.2;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

/* 
 * ===================================
 * Navigation
 * ===================================
 */
.navbar {
    padding: 10px 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: var(--dark);
}

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

.dropdown-menu {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--white);
}

.donate-btn {
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
}

/* 
 * ===================================
 * Hero Section
 * ===================================
 */
.hero-section {
    position: relative;
    background-color: var(--light);
    padding: 120px 0 60px;
    background-image: linear-gradient(120deg, #f6f9fc 0%, #eef4fa 100%);
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    color: var(--primary-dark);
}

.hero-section .img-fluid {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* 
 * ===================================
 * Cards & Content Boxes
 * ===================================
 */
.card {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(26, 118, 210, 0.1);
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* 
 * ===================================
 * Testimonials
 * ===================================
 */
.testimonial-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.testimonial-card .testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

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

footer h5 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

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

footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--white);
    text-decoration: none;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 10px;
    transition: all 0.3s ease;
}

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

/* 
 * ===================================
 * About Page Styles
 * ===================================
 */
.about-hero {
    background-color: var(--primary);
    padding: 120px 0 60px;
    color: var(--white);
}

.about-hero h1 {
    color: var(--white);
}

.mission-item {
    margin-bottom: 30px;
}

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

.leader-card {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

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

.leader-card img {
    height: 300px;
    object-fit: cover;
}

.leader-card .card-body {
    padding: 20px;
}

.leader-card .leader-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(26, 118, 210, 0.1);
    color: var(--primary);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.leader-card .leader-social a:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* 
 * ===================================
 * Get Involved Page Styles
 * ===================================
 */
.involvement-hero {
    background-color: var(--secondary);
    padding: 120px 0 60px;
    color: var(--white);
}

.step-box {
    display: flex;
    margin-bottom: 30px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 20px;
}

.volunteer-card {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}

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

.volunteer-card img {
    height: 200px;
    object-fit: cover;
}

/* 
 * ===================================
 * Support Us Page Styles
 * ===================================
 */
.donate-hero {
    background-color: var(--success);
    padding: 120px 0 60px;
    color: var(--white);
}

.donate-option {
    border-radius: 10px;
    background-color: var(--white);
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.donate-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.donate-amount {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--gray-light);
    border-radius: 30px;
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.donate-amount:hover, .donate-amount.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* 
 * ===================================
 * Events Page Styles
 * ===================================
 */
.events-hero {
    background-color: var(--info);
    padding: 120px 0 60px;
    color: var(--white);
}

.event-card {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

.event-card img {
    height: 200px;
    object-fit: cover;
}

.event-date {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 5px;
    position: absolute;
    top: 20px;
    left: 20px;
    font-weight: 700;
}

/* 
 * ===================================
 * Responsive Styles
 * ===================================
 */
@media (max-width: 1199.98px) {
    .hero-section {
        padding: 100px 0 50px;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--white);
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
    }

    .donate-btn {
        margin-top: 10px;
    }

    .hero-section {
        padding: 120px 0 40px;
    }

    .card-img-top {
        height: 180px;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero-section {
        padding: 100px 0 40px;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .leader-card img, .event-card img {
        height: 250px;
    }
}

@media (max-width: 575.98px) {
    .section-padding {
        padding: 50px 0;
    }

    .hero-section {
        padding: 90px 0 30px;
    }

    .display-4 {
        font-size: 2rem;
    }

    .btn {
        padding: 0.4rem 1.2rem;
    }

    .social-icons a {
        width: 32px;
        height: 32px;
    }
}