/* Footer Styles */
.footer {
    background: #1A1A1A;
    color: #FFFFFF;
    padding: 100px 0 100px;
    position: relative;
}

/* Ultra Large Desktop Footer */
@media (min-width: 2560px) {
    .footer {
        padding: 150px 0 150px;
    }
    
    .footer-description p {
        font-size: 48px;
    }
    
    .footer-btn {
        height: 80px;
        font-size: 24px;
        padding: 0 48px 0 52px;
    }
    
    .footer-container {
        max-width: 2000px;
    }
}

.footer-container {
    max-width: 1316px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    height: 100%;
}

/* Footer Description */
.footer-description {
    margin-bottom: 50px;
}

.footer-description p {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.5;
    color: #FFFFFF;
    margin: 0;
    word-break: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-description-text {
    display: block;
}

/* Footer Info and Copyright Row */
.footer-info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 80px;
}

/* Footer Info */
.footer-info {
    flex: 1;
}

/* Footer Buttons */
.footer-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 0;
}

.footer-btn {
    background: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    padding: 0 36px 0 40px;
    height: 64px;
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    border-radius: 0 40px 40px 40px;
    flex: 1;
}

.footer-btn:hover {
    background: #FFFFFF;
    color: #1A1A1A;
}

.footer-btn img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

/* Family Select Styles */
.footer-select-container {
    position: relative;
    flex: 1;
}

.family-select-btn {
    width: 100%;
    border-radius: 0 40px 40px 40px;
}

.family-dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: #1A1A1A;
    border: 2px solid #FFFFFF;
    border-bottom: 0px;
    border-radius: 0px 40px 0px 0px;
    display: none;
    z-index: 1000;
    margin-bottom: -2px;
}

.family-dropdown.active {
    display: block;
}

.family-option {
    display: block;
    padding: 16px 40px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 20px;
    font-weight: 400;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.family-option:last-child {
    border-bottom: none;
    border-radius: 0px 40px 0 0;
}

.family-option:hover {
    background: #FFFFFF;
    color: #1A1A1A;
}

.family-option:first-child:hover {
    border-radius: 0px 40px 0 0;
}

.family-option:last-child:hover {
    border-radius: 0px 0px 0 0;
}
.contact-info {
    display: flex;
    gap: 80px;
}

.contact-row {
    display: flex;
    gap: 80px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-icon {
    line-height: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact-item span {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #FFFFFF;
}

.contact-item span > a {
    color: #FFFFFF;
    text-decoration: none;
}

/* Footer Copyright */
.footer-copyright {
    flex-shrink: 0;
    margin-left: 80px;
}

.footer-copyright span {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.714;
    color: #FFFFFF;
}

/* Top Button */
.footer-top-btn {
    position: fixed;
    bottom: 90px;
    right: 200px;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.footer-top-btn img {
    width: 64px;
    height: 64px;
}

/* Standard breakpoint: 1200px-1599px */
@media (min-width: 1200px) and (max-width: 1599px) {
    .footer-container {
        max-width: 1100px;
        padding: 0;
    }
    
    .footer-description p {
        font-size: 32px;
    }

    .contact-info {
        gap: 50px;
    }

    .contact-row {
        gap: 50px;
    }

    .footer-btn {
        height: 56px;
    }
    
    .footer-buttons {
        width: 960px;
    }
}

/* Standard breakpoint: 1025px-1199px */
@media (max-width: 1199px) and (min-width: 1025px) {
    .footer-container {
        max-width: 810px;
        padding: 0;
    }
    
    .footer-description p {
        font-size: 32px;
    }

    .contact-item span {
        font-size: 14px;
    }

    .contact-info {
        display: flex;    
        gap: 10px;
        flex-direction: column;
    }
    .contact-row {
        gap : 40px;
    }
    .footer-btn {
        font-size: 15px;
        height: 52px;
    }
    .footer-buttons {
        width: 760px;
    }
    .footer-top-btn img {
        width: 60px;
        height: 60px;
    }
    
    .footer-top-btn {
        right: 100px;
    }
}

/* Standard breakpoint: 768px-1024px */
@media (max-width: 1024px) and (min-width: 768px) {
    .footer-container {
        max-width: 650px;
        padding: 0;
    }
    
    .footer-description p {
        font-size: 28px;
    }
    
    .footer-info-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-copyright {
        position: static;
        text-align: left;
        margin-left: 0;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-row {
        flex-direction: row;
        gap: 20px;
    }
    
    .footer-btn {
        font-size: 14px;
        padding: 0 24px 0 32px;
        height: 60px;
    }

    .footer-top-btn {
        display: none;
    }
}

/* Standard breakpoint: 767px */
@media (max-width: 767px) {
    .footer {
        height: auto;
        padding: 60px 0 40px;
    }
    
    .footer-container {
        padding: 0 20px;
    }
    
    .footer-description {
        margin-bottom: 40px;
    }
    
    .footer-description p {
        font-size: 28px;
        word-break: keep-all;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .footer-description-text {
        display: block;
    }
    
    .footer-buttons {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 40px;
    }
    
        .footer-btn {
        height: 48px;
        font-size: 18px;
        padding: 0 24px;
        min-height: 48px;
    }
    
    .family-dropdown {
        position: static;
        border: 2px solid #FFFFFF;
        border-radius: 0px 0px 24px 24px;
        margin-top: 0;
    }
    
    .family-option {
        padding: 12px 24px;
        font-size: 18px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-row {
        flex-direction: row;
        gap: 40px;
    }
    
    .footer-info-row {
        flex-direction: column;
        gap: 50px;
    }
    
    .footer-copyright {
        position: static;
        text-align: left;
        margin-left: 0;
    }
    
    .footer-top-btn {
        position: static;
        margin: 40px auto 0;
        display: block;
        width: fit-content;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 24px;
    }
    
    .footer-description p {
        font-size: 20px;
        word-break: keep-all;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .footer-btn {
        height: 48px;
        font-size: 16px;
        padding: 0 20px;
        min-height: 48px;
    }
    
    .contact-item span {
        font-size: 14px;
    }
} 

/* font-size px -> rem conversions */
.footer-title { font-size: 2.5rem; }
.footer-section p { font-size: 1.25rem; }
.footer-link { font-size: 1rem; }
.footer-copy { font-size: 0.875rem; }
/* Large Desktop Footer */
@media (min-width: 1600px) and (max-width: 2559px) {
    .footer {
        padding: 120px 0 120px;
    }
    
    .footer-description p {
        font-size: 44px;
    }
    
    .footer-btn {
        height: 72px;
        font-size: 22px;
        padding: 0 42px 0 46px;
    }
    
    .footer-container {
        max-width: 1316px;
        padding: 0;
    }
}


