/* group-footer.css */
@import url('../css/settings.css');
@font-face {
    font-family: 'Tangerine';
    src: url('../../assets/fonts/Tangerine/Tangerine-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Tangerine';
    src: url('../../assets/fonts/Tangerine/Tangerine-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.group-footer {
    position: relative;
    width: 100dvw;
    height: auto;
    min-height: 100dvh;
    background-color: #253839;
    overflow: hidden;
    padding-bottom: 2rem;
}

.group-footer__container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
}

.group-footer__logo-section {
    width: min(450px, 100%);
    height: auto;
    align-self: flex-start;
    margin-bottom: 2rem;
}

.group-footer__logo {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.group-footer__content {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    padding: 0 clamp(1rem, 5vw, 271px);
}

.group-footer__section {
    flex: 0 1 auto;
    max-width: 600px;
}

.group-footer__title {
    color: #dcb77c;
    font-family: 'Tangerine', cursive;
    font-size: clamp(44px, 4vw, 74px);
    font-weight: 700;
    text-align: justify;
    margin-bottom: 1rem;
    line-height: 1;
}

.group-footer__text {
    color: #ffffff;
    font-family: 'Afacad', sans-serif;
    font-size: clamp(20px, 2.5vw, 32px);
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    white-space: normal;
}

.group-footer__email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-family: 'Afacad', sans-serif;
    font-size: clamp(16px, 1.5vw, 24px);
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.group-footer__email:hover {
    color: #dcb77c;
}

.group-footer__email-icon {
    width: clamp(20px, 2vw, 37px);
    height: clamp(20px, 2vw, 37px);
}

.group-footer__divider {
    width: 100%;
    padding: 0;
    margin: 0.5rem 0;
}

.group-footer__divider svg {
    width: 100%;
    height: 6px;
    display: block;
}

.group-footer__social {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1rem, 5vw, 161px);
    margin: 0.5rem 0;
}

.group-footer__social-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.group-footer__social-title {
    color: #dcb77c;
    font-family: 'Tangerine', cursive;
    font-size: clamp(40px, 3.5vw, 71px);
    font-weight: 700;
    white-space: nowrap;
    margin: 0;
    line-height: 1;
}

.group-footer__social-icons {
    display: flex;
    gap: 1rem;
}

.group-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(40px, 5vw, 78px);
    height: clamp(40px, 5vw, 78px);
    transition: transform 0.3s ease;
}

.group-footer__social-link:hover {
    transform: scale(1.1);
}

.group-footer__social-icon {
    width: 100%;
    height: 100%;
}

.group-footer__powered {
   margin-left: auto;
}

.group-footer__powered-link {
   display: flex;
   gap: 0.3rem;
   font-family: 'Afacad', sans-serif;
   font-size: clamp(14px, 1.2vw, 18px);
   text-decoration: none;
}

.group-footer__powered-by {
   color: #808080;
}

.group-footer__agency-name {
   color: #f6f6f6;
   transition: color 0.3s ease;
}

.group-footer__powered-link:hover .group-footer__agency-name {
   color: #F94239;
}

/* Mobile Optimization */
@media (max-width: 47.9375em) {
    .group-footer__container {
        padding: 1rem;
        gap: 0.5rem;
    }

    .group-footer__logo-section {
        width: min(250px, 80%);
        margin: 0 0 1rem clamp(1rem, 5vw, 2rem);
    }

    .group-footer__content {
        flex-direction: row;
        justify-content: flex-start;
        padding: 0 clamp(1rem, 5vw, 2rem);
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .group-footer__section {
        flex: 0 1 auto;
        max-width: none;
        text-align: left;
    }

    .group-footer__title {
        text-align: left;
        font-size: clamp(32px, 3.5vw, 44px);
        margin-bottom: 0.5rem;
    }

    .group-footer__text {
        font-size: clamp(16px, 2vw, 20px);
        white-space: normal;
        text-align: left;
    }

    .group-footer__social {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 0 clamp(1rem, 5vw, 2rem);
    }

    .group-footer__social-left {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .group-footer__social-title {
        font-size: clamp(32px, 3vw, 40px);
        margin: 0;
    }

    .group-footer__powered {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 0.5rem;
    }

    .group-footer__powered-link {
        justify-content: center;
        font-family: 'Afacad', sans-serif;
        font-size: clamp(14px, 1.2vw, 18px);
    }

    .group-footer__powered-by,
    .group-footer__agency-name {
        color: #ffffff;
        opacity: 0.7;
    }

    .group-footer__divider {
        margin: 0.25rem 0;
    }

    .group-footer__social-icons {
        margin-left: 0;
    }
}

/* Medium screens */
@media (min-width: 48em) and (max-width: 63.9375em) {
    .group-footer__container {
        gap: 0.75rem;
    }
    
    .group-footer__content {
        padding: 0 clamp(1rem, 5vw, 2rem);
        margin-bottom: 1.5rem;
    }
    
    .group-footer__text {
        font-size: clamp(18px, 2.2vw, 28px);
    }
    
    .group-footer__social {
        padding: 0 clamp(1rem, 5vw, 2rem);
    }
}

/* Large screens */
@media (min-width: 64em) {
    .group-footer__text {
        font-size: clamp(20px, 2.5vw, 32px);
    }
    
    .group-footer__content {
        justify-content: flex-start;
        gap: clamp(4rem, 8vw, 12rem);
    }
}

/* Handle very tall screens */
@media (min-height: 1000px) {
    .group-footer {
        height: auto;
        min-height: 100dvh;
    }
    
    .group-footer__container {
        padding-top: 3rem;
    }
}
/* RTL Support */
[dir="rtl"] .group-footer__title,
[dir="rtl"] .group-footer__text {
    text-align: right;
    font-family: 'Tangerine', 'Cairo', cursive;
}

[dir="rtl"] .group-footer__email {
    flex-direction: row-reverse;
}

[dir="rtl"] .group-footer__social {
    flex-direction: row-reverse;
}

[dir="rtl"] .group-footer__content {
    direction: rtl;
}

[dir="rtl"] .group-footer__section {
    text-align: right;
}

[dir="rtl"] .group-footer__social-icons {
    flex-direction: row-reverse;
}

@media (max-width: 47.9375em) {
    [dir="rtl"] .group-footer__content {
        align-items: flex-end;
    }
}