/* SSSIHL Alumni Foundation - Giving Page Stylesheet */

/* Banner Section */
.giving-banner {
    background-image: url('../images/WebP/Giving_banner.webp');
    background-size: cover;
    background-position: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.giving-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.giving-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 2rem;
}

.giving-banner h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Introduction Section */
.giving-intro {
    padding: 4rem 0;
    background-color: var(--color-3);
}

.giving-intro p {
    font-size: 24px;
    line-height: 1.8;
    color: #2B0065;
    font-family: 'Roboto', sans-serif;
}

/* Ways of Giving Section */
.ways-of-giving {
    padding: 4rem 0;
}

.ways-of-giving p {
    font-size: 24px;
    color: #2B0065;
    font-family: 'Roboto', sans-serif;
}

.giving-method-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.giving-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.giving-method-card h3 {
    color: #8B4513;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.giving-method-card h4 {
    color: #555;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.giving-method-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.giving-method-card strong {
    color: #333;
}

.giving-method-card ul {
    list-style: none;
    padding-left: 0;
}

.giving-method-card ul li {
    padding: 0.5rem 0;
    color: #666;
}

/* Tabs Section */
.giving-tabs-section {
    padding: 4rem 0;
    background-image: url(../images/WebP/section_divider_dotted_bg.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.giving-tabs-section p {
    font-size: 24px;
    color: #2B0065;
    font-family: 'Roboto', sans-serif;
}

.giving-tabs-container {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.giving-tabs-sidebar {
    flex: 0 0 280px;
    border-right: 1px solid #e0e0e0;
}

.giving-tabs-sidebar h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.giving-tab-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.giving-tab-item {
    margin-bottom: 0.5rem;
}

.giving-tab-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.giving-tab-link:hover {
    background: #f5f5f5;
    color: #004999;
    border-left-color: #0066cc;
}

.giving-tab-link.active {
    color: #004999;
    background: #f0f7ff;
    border-left-color: #0066cc;
    font-weight: 600;
}

.giving-tabs-content {
    flex: 1;
    padding-left: 2rem;
}

.giving-tab-pane {
    display: none;
}

.giving-tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.giving-tab-pane h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.giving-tab-pane h4 {
    font-size: 1.3rem;
    color: #555;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.giving-tab-pane p {
    font-size: 24px;
    color: #2B0065;
    font-family: 'Roboto', sans-serif;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.giving-tab-pane strong {
    color: #333;
    font-weight: 600;
}

.giving-tab-pane a {
    color: #0066cc;
    text-decoration: none;
}

.giving-tab-pane a:hover {
    text-decoration: underline;
}

.giving-tab-pane ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.giving-tab-pane ul li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.giving-tab-pane ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
}

.info-box {
    background: #f8f9fa;
    border-left: 4px solid #0066cc;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.info-box p {
    margin-bottom: 0.5rem;
}

.info-box p:last-child {
    margin-bottom: 0;
}

/* Giving Tuesday Special Styles */
.giving-tuesday-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-left: 4px solid #764ba2;
}

.giving-tuesday-box .calendar-heading {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.giving-tuesday-box .calendar-text {
    color: white;
    font-size: 1.1rem;
    line-height: 1.8;
}

.ready-to-give {
    margin-top: 2rem;
    font-size: 24px;
    color: #2B0065;
    font-family: 'Roboto', sans-serif;
    line-height: 1.8;
}

/* Responsive Styles */
@media (max-width: 768px) {
    
    .giving-banner {
        min-height: 300px;
    }
    
    .giving-banner h1 {
        font-size: 2.5rem;
    }
    
    .giving-intro {
        padding: 2rem 0;
    }
    
    .giving-intro p {
        font-size: 18px;
    }
    
    .giving-tabs-section {
        padding: 2rem 0;
    }
    
    .giving-tabs-section p {
        font-size: 18px;
    }
    
    .giving-tabs-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .giving-tabs-sidebar {
        flex: 1;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
    
    .giving-tab-link {
        font-size: 18px;
    }
    
    .giving-tabs-content {
        padding-left: 0;
    }
    
    .giving-tab-pane h3 {
        font-size: 1.5rem;
    }
    
    .giving-tab-pane h4 {
        font-size: 1.2rem;
    }
    
    .giving-tab-pane p {
        font-size: 18px;
    }
    
    .info-box {
        padding: 1rem;
    }
    
    .giving-tuesday-box .calendar-heading {
        font-size: 1.1rem;
    }
    
    .giving-tuesday-box .calendar-text {
        font-size: 1rem;
    }
    
    .ready-to-give {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    
    .giving-banner h1 {
        font-size: 2rem;
    }
    
    .giving-intro p,
    .giving-tabs-section p,
    .giving-tab-pane p {
        font-size: 16px;
    }
    
    .giving-tab-link {
        font-size: 16px;
        padding: 0.6rem 0.8rem;
    }
    
    .giving-tab-pane h3 {
        font-size: 1.3rem;
    }
    
    .giving-tab-pane h4 {
        font-size: 1.1rem;
    }
    
    .ready-to-give {
        font-size: 16px;
    }
}


/* Giving Tuesday Specific Styles */
.giving-tuesday-header {
    margin-bottom: 2rem;
}

.giving-tuesday-date-box {
    background-color: #FFF5F5;
    border: 2px solid #FFE5E5;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.giving-tuesday-date {
    font-size: 2rem;
    color: #8B4049;
    font-weight: bold;
    font-family: 'Roboto Slab', serif;
    margin: 0;
}

.giving-tuesday-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: center;
    line-height: 1.2;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .giving-tuesday-date-box {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .giving-tuesday-date {
        font-size: 1.5rem;
    }
    
    .giving-tuesday-logo {
        font-size: 1rem;
    }
}


/* Giving Tuesday Card Styles */

.giving-tuesday-card .giving-tuesday-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}


.giving-tuesday-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.giving-tuesday-image img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
}

