﻿/* Dropdown Menu */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Main content grows to fill space */
main {
    flex: 1;
}

/* Footer stays at bottom */
footer {
    margin-top: auto;
}
#buttons-menu {
    width: 100%;
    max-width: 350px; 
}

.custom-menu-btn {
    border: none;
    background-color: white;
    display: block;
    text-align: center;
    padding: 10px 0;
    border-radius: 6px;
    transition: 0.3s ease;
    color: black;
    text-decoration: none;
}

.custom-menu-btn:hover {
    color: white;
    background: linear-gradient(17deg, rgba(160,224,250,1) 0%, rgba(87,199,133,1) 63%, rgba(237,221,83,1) 100%);
}

/* Overview Section */
#overview-text > div {
    width: 100%;
    max-width: 36%; /* desktop fixed, flexible on smaller */
}

#overview-text span:first-child {
    font-size: 14px;
}

#overview-text img {
    right: 5px;
    max-width: 100%;
    height: auto;
}

.readmore-popover {
    position: absolute;
    top: 130%;
    left: -95px;
    background-color: #e8f5e9;
    color: #1b5e20;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #4caf50;
    width: 260px;
    font-size: 0.9rem;
    line-height: 1.4;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease-in-out;
}

.readmore-wrapper:hover .readmore-popover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.readmore-popover::before {
    content: "";
    position: absolute;
    top: -6px; 
    left: 50%; 
    transform: translateX(-50%); /* perfectly center it */
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #4caf50 transparent;
}


.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #198754, #ffc107);
    border-radius: 3px;
}
.youtube-container {
    max-width: 800px;
}
.youtube-container iframe {
    width: 100%;
    height: 315px;
}

.faq-item {
    border-bottom: 1px solid #eaeaea;
    padding: 20px 0;
}

.faq-answer {
    padding-top: 15px;
    color: #666;
    display: none;
}

.faq-active .faq-answer {
    display: block;
}

.faq-active .faq-toggle-icon {
    transform: rotate(180deg);
}



/* Responsive Layout */
@media (max-width: 992px) {
    #overview-text > div {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    #buttons-menu {
        width: 90%;
    }
    .custom-menu-btn {
        font-size: 0.9rem;
        padding: 8px 0;
    }

    #overview-text span:first-child {
        font-size: 12px;
    }
}

.footer-link {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .footer-link:hover {
        color: #ffffff;
    }

.footer-social {
    color: #adb5bd;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

    .footer-social:hover {
        color: #20c997; /* Bootstrap's success accent */
        transform: scale(1.2);
    }
