/* Base styles */
.group-circle {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    background: #dcb77c;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.group-circle__background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.group-circle__header-container {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: clamp(2rem, 4dvw, 4rem);
    padding-bottom: 0;
    z-index: 2;
}

.group-circle__content-container {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: clamp(2rem, 4dvw, 4rem);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    z-index: 2;
}

/* Title styles */
.group-circle__title {
    color: #253839;
    font-family: 'Adamina', serif;
    font-size: clamp(32px, calc(2rem + 2.5vw), 72px);
    line-height: 1.2;
    font-weight: 400;
    max-width: min(1378px, 90%);
    margin: 0 auto;
    margin-bottom: clamp(3rem, 6dvh, 6rem);
    text-align: center;
    opacity: 0;
}

/* Circles styling */
.group-circle__circles {
    position: absolute;
    top: 5%;
    right: 5%;
    width: min(25vw, 300px);
    height: min(25vw, 300px);
    opacity: 0;
}

.group-circle__circle-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.group-circle__circle-svg:nth-child(2) {
    transform: translate(12%, -8%);
}

.group-circle__circle-svg:nth-child(3) {
    transform: translate(24%, -16%);
}

/* Text content */
.group-circle__text-wrapper {
    width: 100%;
    max-width: min(838px, 90%);
    margin: 0 auto;
    margin-bottom: clamp(4rem, 8dvh, 8rem);
}

.group-circle__description {
    color: #253839;
    font-family: 'Afacad', sans-serif;
    font-size: clamp(20px, calc(1.2rem + 1vw), 42px);
    font-weight: 400;
    text-align: center;
    line-height: 1.5;
    margin: 0;
}

/* CTA section */
.group-circle__cta {
    margin-top: auto;
    display: flex;
    justify-content: center;
    width: 100%;
}

.group-circle__button {
    position: relative;
    display: inline-flex;
    text-decoration: none;
    align-items: center;
    justify-content: space-between;
    width: min(535px, 90%);
    height: clamp(80px, 12vh, 156px);
    padding: 0 clamp(2rem, 4vw, 4rem);
    border: clamp(2px, 0.4vw, 4px) solid #253839;
    border-radius: 100px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.group-circle__button:hover {
    background: rgba(37, 56, 57, 0.1);
    transform: scale(1.02);
}

.group-circle__button-text {
    color: #253839;
    font-family: 'Tangerine', cursive;
    font-size: clamp(32px, calc(2rem + 1.5vw), 78px);
    font-weight: 700;
    text-align: center;
    flex: 1;
}

.group-circle__arrow {
    position: relative;
    width: clamp(30px, 5vw, 60px);
    height: clamp(1px, 0.2vw, 2px);
    background: #253839;
    margin-left: clamp(1rem, 2vw, 2rem);
}

.group-circle__arrow::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 50%;
    width: clamp(6px, 1vw, 10px);
    height: clamp(6px, 1vw, 10px);
    border-right: clamp(1px, 0.2vw, 2px) solid #253839;
    border-top: clamp(1px, 0.2vw, 2px) solid #253839;
    transform: translateY(-50%) rotate(45deg);
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.fade-left {
    animation: fadeLeft 0.8s ease forwards;
}

.fade-right {
    animation: fadeRight 0.8s ease forwards;
}

.fade-up {
    animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeLeft {
    from { 
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive breakpoints */
@media screen and (max-width: 1400px) {
    .group-circle__title {
        max-width: min(1200px, 95%);
    }
    
    .group-circle__circles {
        width: min(22vw, 250px);
        height: min(22vw, 250px);
    }
}

@media screen and (max-width: 1024px) {
    .group-circle__title {
        font-size: clamp(28px, calc(1.8rem + 2vw), 56px);
    }
    
    .group-circle__description {
        font-size: clamp(18px, calc(1rem + 1vw), 46px);
    }
    
    .group-circle__circles {
        width: min(20vw, 200px);
        height: min(20vw, 200px);
    }
}

@media screen and (max-width: 768px) {
    .group-circle__header-container,
    .group-circle__content-container {
        padding: clamp(1.5rem, 3dvw, 3rem);
    }
    
    .group-circle__title {
        max-width: 100%;
        margin-bottom: clamp(2rem, 4dvh, 4rem);
    }
    
    .group-circle__text-wrapper {
        max-width: 95%;
        margin-bottom: clamp(3rem, 6dvh, 6rem);
    }
    
    .group-circle__circles {
        width: min(25vw, 180px);
        height: min(25vw, 180px);
    }
    
    .group-circle__button {
        height: clamp(70px, 10vh, 120px);
    }
}

@media screen and (max-width: 480px) {
    .group-circle__title {
        font-size: clamp(24px, calc(1.5rem + 1.5vw), 42px);
    }
    
    .group-circle__description {
        font-size: clamp(16px, calc(0.9rem + 1vw), 28px);
    }
    
    .group-circle__button-text {
        font-size: clamp(28px, calc(1.8rem + 1vw), 48px);
    }
    
    .group-circle__circles {
        width: min(30vw, 150px);
        height: min(30vw, 150px);
    }
}

/* Animation classes */
.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.fade-left {
    animation: fadeLeft 1s ease-out forwards;
}

.fade-right {
    animation: fadeRight 1s ease-out forwards;
}

.fade-up {
    animation: fadeUp 1s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Add these container-specific styles */
.group-circle__header-container {
    position: relative;
    width: 100%;
    padding-top: clamp(2rem, 4dvh, 4rem);
    z-index: 2;
}

.group-circle__content-container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50dvh;
    padding: clamp(2rem, 4dvh, 4rem);
    z-index: 2;
}
<!-- Add these styles to your group-circle.css -->
.group-circle__cta {
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.group-circle__cta.fade-up {
    opacity: 1;
    transform: translateY(0);
}
/* RTL Support */
[dir="rtl"] .group-circle__title,
[dir="rtl"] .group-circle__description {
    text-align: right;
    direction: rtl;
    font-family: 'Adamina', 'Cairo', serif;
}

[dir="rtl"] .group-circle__circles {
    left: 5%;
    right: auto;
}

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

[dir="rtl"] .group-circle__arrow {
    transform: scaleX(-1);
}

[dir="rtl"] .fade-right {
    animation: fadeRightRTL 1s ease-out forwards;
}

[dir="rtl"] .fade-left {
    animation: fadeLeftRTL 1s ease-out forwards;
}

@keyframes fadeRightRTL {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeLeftRTL {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}