/* support.css - COMPLETE styles for Support page (following tutorials pattern) */

/* OVERRIDE: Navigation styles for Support page only */
.support-header {
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 70px;
    touch-action: pan-y;
    margin-bottom: 0;
}

.support-logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.support-logo {
    width: 38px;
    height: 38px;
    background: transparent;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.support-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.support-logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.support-nav-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.support-nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 10px 10px;
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 1000;
}

.support-nav-menu.active {
    display: flex;
}

.support-nav-item {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark);
    text-decoration: none;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.support-nav-item:hover {
    background: rgba(0, 120, 73, 0.1);
    color: var(--primary);
}

/* ACTIVE NAVIGATION LINK STYLES - Support page specific */
.support-nav-item.support-active {
    background: rgba(0, 120, 73, 0.05);
    color: var(--primary);
    font-weight: 600;
}

.support-nav-item.support-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.support-nav-item.support-active i {
    color: var(--secondary);
}

.support-nav-item i {
    color: var(--primary);
    width: 20px;
    text-align: center;
    transition: color 0.3s;
}

.support-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    -webkit-tap-highlight-color: transparent;
}

.support-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s;
}

.support-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.support-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.support-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (min-width: 768px) {
    .support-menu-toggle {
        display: none;
    }
    
    .support-nav-menu {
        display: flex;
        position: static;
        flex-direction: row;
        background: transparent;
        box-shadow: none;
        padding: 0;
        width: auto;
        z-index: auto;
    }
    
    .support-nav-item {
        color: var(--primary);
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Semi-transparent blur background for body */
body {
    backdrop-filter: blur(10px);
    background: 
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('https://images.unsplash.com/photo-1553877522-43269d4ea984?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') fixed center/cover no-repeat !important;
}

/* Banner Section - Matching Tutorials/Resources Pages */
.support-banner {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('https://images.unsplash.com/photo-1553877522-43269d4ea984?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
    padding: 3rem 1.5rem;
    text-align: center;
    color: white;
    margin: 0;
    margin-bottom: 1rem;
    backdrop-filter: blur(5px);
}

.support-banner-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.support-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
}

.support-banner-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    color: var(--accent);
    line-height: 1.3;
}

.curriculum-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: white;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.streams-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.stream-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(0, 120, 73, 0.1);
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.stream-item:hover {
    background: rgba(0, 120, 73, 0.2);
    transform: translateX(5px);
    border-color: var(--accent);
}

.stream-item i {
    color: var(--accent);
    font-size: 1.2rem;
    min-width: 24px;
}

.stream-name {
    font-size: 1.1rem;
    color: white;
    font-weight: 500;
}

.stream-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-left: auto;
    font-style: italic;
}

/* Button styling - consistent with tutorials/resources */
.tile-link {
    padding: 0.8rem 1.8rem;
    background: var(--accent);
    color: var(--dark);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    width: auto;
    min-width: 160px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    margin-top: 0.5rem;
}

.tile-link:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

/* Founder & Video Combined Section */
.founder-video-section {
    background: transparent;
    padding: 1.5rem 1.5rem 2rem;
    margin-top: 1rem;
}

.founder-video-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Video Section - Simplified - Using YouTube controls */
.video-section {
    background: transparent;
    padding: 1.5rem;
    border-radius: 0px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    order: 1; /* Video comes first */
    
}

.video-title {
    text-align: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.video-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: #000;
    position: relative;
    aspect-ratio: 16/9; /* Default 16:9 aspect ratio */
}

/* Desktop specific - Reduce video height by 30% */
@media (min-width: 1024px) {
    .video-container {
        aspect-ratio: 21/9; /* Adjusted aspect ratio (30% shorter height) */
        max-width: 1000px;
        margin: 0 auto;
    }
    
    /* Desktop: Larger text size for video caption */
    .video-caption {
        font-size: 1.1rem !important;
        line-height: 1.7 !important;
    }
}

/* Mobile - Keep normal 16:9 */
@media (max-width: 1023px) {
    .video-container {
        aspect-ratio: 16/9;
    }
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: #000;
}

.video-caption {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 1rem;
    font-style: italic;
    line-height: 1.4;
}

/* Founder Section - Now comes after video */
.founder-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    order: 2; /* Comes after video */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.founder-title {
    text-align: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.founder-content {
    text-align: center;
}

.founder-message p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: white;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.founder-name {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    font-style: normal;
    line-height: 1.3;
}

/* Donation Section */
.donation-section {
    background: transparent;
    padding: 2rem 1.5rem;
    margin-top: 1rem;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: white;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.donation-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

@media (min-width: 768px) {
    .donation-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

.donation-tile {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    border-radius: 10px;
    padding: 1.8rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    backdrop-filter: blur(5px);
}

.donation-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--accent);
}

.tile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    flex: 1;
}

.tile-icon {
    margin-bottom: 1.2rem;
}

.mobile-money-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-size: 70%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mtn-icon {
    background-image: url('/img/mtn-logo.jpg');
}

.airtel-icon {
    background-image: url('/img/airtel.png');
}

.tile-title {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.tile-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.donation-details {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.2rem;
    border-radius: 8px;
    margin-bottom: 1.2rem;
    width: 100%;
}

.donation-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
    word-break: break-all;
    line-height: 1.2;
}

.donation-name {
    font-size: 1rem;
    color: white;
    font-weight: 600;
    line-height: 1.3;
}

.donation-btn {
    padding: 0.8rem 1.5rem;
    background: var(--accent);
    color: var(--dark);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.donation-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}

.donation-btn.copied {
    background: var(--primary);
    color: white;
}

.donation-note {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 1.2rem;
    background: rgba(0, 120, 73, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 120, 73, 0.3);
    backdrop-filter: blur(5px);
}

.donation-note p {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.donation-note i {
    color: var(--accent);
}

/* Impact Section */
.impact-section {
    background: transparent;
    padding: 2rem 1.5rem;
    margin-top: 1rem;
}

.impact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .impact-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.impact-tile {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.8rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(5px);
}

.impact-tile:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.impact-icon {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.impact-tile h3 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    flex-grow: 0;
}

.impact-tile p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    flex-grow: 1;
}

/* Contact Section */
.contact-section {
    background: transparent;
    padding: 2.5rem 1.5rem;
    margin-top: 1rem;
}

.contact-content {
    padding: 2.5rem 1.5rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.contact-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
}

.contact-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .contact-actions {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
}

.whatsapp-btn, .email-btn {
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 200px;
    justify-content: center;
    line-height: 1.2;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
    color: white;
}

.email-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.email-btn:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.3;
}

.contact-item i {
    color: var(--accent);
}

/* FIXED FOOTER SECTION - Left aligned contact items */
.support-footer .footer-section:last-child .footer-contact {
    align-items: flex-start !important;
    text-align: left !important;
}

.support-footer .footer-section:last-child .contact-item {
    justify-content: flex-start !important;
    text-align: left !important;
}

.support-footer .footer-section:last-child {
    text-align: left !important;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transform: translateX(150%);
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.notification.show {
    transform: translateX(0);
}

/* Responsive Design */
@media (min-width: 768px) {
    .support-banner {
        padding: 3.5rem 2rem;
        margin-bottom: 1.5rem;
    }
    
    .support-banner h1 {
        font-size: 2.8rem;
    }
    
    .support-banner-subtitle {
        font-size: 1.5rem;
    }
    
    .founder-video-section,
    .donation-section,
    .impact-section,
    .contact-section {
        padding: 2rem 2rem;
        margin-top: 0.5rem;
    }
    
    .streams-list {
        flex-direction: row;
        gap: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .stream-item {
        flex: 1;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .stream-description {
        margin-left: 0;
        margin-top: 0.3rem;
    }
    
    /* Founder section stays below video on all screens */
    .founder-video-container {
        gap: 3rem;
    }
    
    .video-section,
    .founder-section {
        padding: 2rem;
    }
    
    .video-title,
    .founder-title,
    .section-title,
    .contact-title {
        font-size: 2rem;
        margin-bottom: 1.8rem;
    }
    
    .section-intro {
        font-size: 1.15rem;
        margin-bottom: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .support-banner h1 {
        font-size: 3rem;
    }
    
    .support-banner-subtitle {
        font-size: 1.6rem;
    }
    
    .founder-video-container {
        gap: 3.5rem;
    }
    
    .video-container {
        max-width: 1000px;
    }
    
    .video-title,
    .founder-title,
    .section-title,
    .contact-title {
        font-size: 2.2rem;
    }
}

/* Mobile specific styles */
@media (max-width: 767px) {
    .support-banner {
        padding: 2rem 1rem;
        margin-bottom: 1rem;
    }
    
    .support-banner h1 {
        font-size: 2rem;
    }
    
    .support-banner-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .founder-video-section,
    .donation-section,
    .impact-section,
    .contact-section {
        padding: 1.5rem 1rem;
        margin-top: 0.5rem;
    }
    
    .section-title,
    .video-title,
    .founder-title,
    .contact-title {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }
    
    /* Video takes full width on mobile */
    .video-container {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .video-section,
    .founder-section {
        padding: 1.2rem;
    }
    
    .founder-message p {
        font-size: 1rem;
    }
    
    .donation-tile {
        padding: 1.5rem;
    }
    
    .donation-number {
        font-size: 1.4rem;
    }
    
    .impact-tile {
        padding: 1.5rem;
    }
    
    .contact-content {
        padding: 2rem 1.2rem;
    }
    
    .contact-title {
        font-size: 1.6rem;
    }
    
    .whatsapp-btn, .email-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        min-width: 100%;
    }
    
    .stream-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .stream-description {
        margin-left: 0;
        align-self: flex-start;
        font-size: 0.85rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .support-banner h1 {
        font-size: 1.8rem;
    }
    
    .support-banner-subtitle {
        font-size: 1.1rem;
    }
    
    .founder-message p {
        font-size: 0.95rem;
    }
    
    .founder-name {
        font-size: 1rem;
    }
    
    .video-title,
    .founder-title,
    .section-title,
    .contact-title {
        font-size: 1.5rem;
    }
    
    .tile-link,
    .donation-btn,
    .whatsapp-btn,
    .email-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}