/* Custom Styles for Bruner International School Landing Page */

:root {
    --yellow-background: #f8cf63;
    --yellow: #f8db63;
    --dark-pink: #f5999e;
    --pink: #f15c62;
    --light-blue: #65c8d6;
    --blue: #152489;
    --red: #da432e;
    --white: #ffffff;
    --gray: #d9d9d9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Varela Round', sans-serif;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

/* Header Section */
.header-section {
    position: relative;
    padding: 20px 0;
    background: var(--yellow-background);
}

.logo-container {
    text-align: left;
    margin-bottom: 20px;
}

.logo {
    max-width: 300px;
    height: auto;
}

.header-decorative {
    position: absolute;
    top: -20px;
    right: 45px;
    width: 100px;
    height: 86px;
}

.burger-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.burger-btn:hover {
    transform: scale(1.1);
}

.burger-btn:focus {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
    border-radius: 4px;
}

.decorative-icon {
    width: 100%;
    height: 100%;
}

/* Offcanvas Menu Styles */
.offcanvas {
    background: var(--yellow-background);
    border-left: 2px solid var(--blue);
}

.offcanvas-header {
    border-bottom: 2px solid var(--blue);
    padding: 20px;
}

.offcanvas-title {
    color: var(--blue);
    font-size: 24px;
    font-weight: bold;
}

.btn-close {
    background: none;
    border: none;
    font-size: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.btn-close:hover {
    opacity: 1;
}

.offcanvas-body {
    padding: 20px;
}

.offcanvas-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.offcanvas-nav-link {
    color: var(--blue);
    text-decoration: none;
    font-size: 18px;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
    text-align: right;
}

.offcanvas-nav-link:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateX(-5px);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 0px 0 100px 0;
    margin-top: -40px;
    background: var(--yellow-background);
}

.hero-yellow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 940px;
    background: var(--yellow-background);
    z-index: -1;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-slider {
    position: relative;
    width: 100%;
    max-width: 672px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    display: block;
    width: 100%;
    height: auto;
}

.rounded-image {
    border-radius: 327px 327px 0 327px;
    width: 100%;
    max-width: 672px;
    height: auto;
    object-fit: cover;
}

.contact-form-wrapper {
    border: 2px solid var(--blue);
    border-radius: 30px 0 50px 0;
    padding: 40px;
    position: relative;
    max-width: 461px;
}

.form-title {
    font-size: 20px;
    color: var(--blue);
    text-align: right;
    margin-bottom: 30px;
    font-weight: normal;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 20px;
    color: var(--blue);
    margin-bottom: 0px;
    text-align: right;
}

.form-group-label {
    width: 100%;
    padding: 0 15px 0 15px;
    border: 2px solid var(--blue);
    border-radius: 20px 0 20px 0;
    font-size: 18px;
    font-family: 'Varela Round', sans-serif;
    background: transparent;
    direction: rtl;
    text-align: right;
}

.form-control {
    border: 0;
    background-color: transparent!important;
    text-align: right;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border: 2px solid var(--blue);
    border-radius: 5px;
    cursor: pointer;
    background: var(--yellow-background) !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
}

.checkbox-group input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--blue);
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
}

.checkbox-group label {
    margin: 0;
    cursor: pointer;
}

body .hero-section .btn-submit {
    background: var(--blue);
    color: var(--white);
    border: 2px solid var(--blue);
    border-radius: 20px 0 20px 0;
    padding: 15px 40px;
    font-size: 20px;
    font-family: 'Varela Round', sans-serif;
    cursor: pointer;
    width: 163px;
    text-align: center;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

body .hero-section .btn-submit:hover {
    background: var(--white);
    color: var(--blue);
}

.hero-decorative-icons {
    position: absolute;
    top: 113px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 89px;
}

.deco-icon-1 {
    position: relative;
    top: -33px;
    left: 0;
    width: 77px;
    height: 74px;
}

.deco-icon-2 {
    position: absolute;
    top: 10px;
    left: 640px;
    width: 77px;
    height: 74px;
}

/* About Section */
.about-section {
    position: relative;
    min-height: 966px;
    padding: 100px 0 120px 0;
    overflow: hidden;
    background: var(--dark-pink);
}
.about-section .section-title {
    font-size: 36px;
    color: #C30438;
    text-align: center;
    margin-bottom: 0;
}
.about-section .container {
    position: relative;
}
.about-pink-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 966px;
    background: var(--dark-pink);
    z-index: -1;
}

.about-content {
    line-height: normal;
    font-size: 28px;
    max-width: 1058px;
    margin: 0 auto;
    padding: 0 20px 0px 20px;
    position: relative;
    z-index: 3;
}

.about-text {
    font-size: 28px;
    color: var(--blue);
    line-height: normal;
    text-align: center;
    margin-bottom: 0;
    padding-bottom: 50px;
    position: relative;
    z-index: 3;
}

/* Video Section */
.video-section {
    padding: 80px 0;
    background: var(--gray);
}

.video-container {
    margin: 0 auto;
    border: 2px solid var(--blue);
    border-radius: 30px 0 50px 0;
    padding: 40px;
    background: var(--gray);
    min-height: 558px;
    position: relative;
    z-index: 3;
}

.video-decorative .video-icon-1 {
    position: absolute;
    left: -72px;
    top: -40px;
}

.video-decorative .video-icon-2  {
    position: absolute;
    top: -180px;
    right: -80px;
}

.video-decorative .video-icon-3 {
    position: absolute;
    left: 109px;
    bottom: -66px;
}

.video-decorative .video-icon-4 {
    position: absolute;
    right: 280px;
    bottom: -79px;
}


.video-section .section-title {
    font-size: 40px;
    color: var(--red);
    text-align: center;
    margin-bottom: 30px;
}

.video-placeholder {
    min-height: 400px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--blue);
}

/* Core Values Section */
.core-values-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: var(--light-blue);
}

.core-values-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-blue);
    z-index: -1;
}

.section-title {
    font-size: 36px;
    color: var(--blue);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 400;
}

.values-grid {
    margin-top: 40px;
}

.value-item {
    text-align: center;
    margin-bottom: 40px;
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* .value-item:nth-child(1) .value-icon {
    background: var(--blue);
}

.value-item:nth-child(2) .value-icon {
    background: #8b4513;
}

.value-item:nth-child(3) .value-icon {
    background: #ff8c00;
}

.value-item:nth-child(4) .value-icon {
    background: var(--red);
}

.value-item:nth-child(5) .value-icon {
    background: var(--yellow);
}

.value-item:nth-child(6) .value-icon {
    background: #0b934a;
} */

.value-icon img {
    /* width: 70%;
    height: 70%; */
    object-fit: contain;
    /* filter: brightness(0) invert(1); */
    transition: transform 0.6s ease;
}

.value-icon.rotating img {
    animation: rotateIcon 2s ease-in-out;
}

@keyframes rotateIcon {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.value-text {
    font-size: 28px;
    color: var(--blue);
    line-height: 1.5;
}

/* Team Section */
.team-section {
    position: relative;
    padding: 80px 0;
    background: var(--pink);
}
.team-section  .section-title {
    margin-bottom: 50px;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
    justify-items: center;
}

/* Контейнер для перших двох великих карточок */
.team-cards-large {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 20px;

}

.team-cards-large .team-member {
    width: 290px;
    max-width: 290px;
}

.team-cards-large .team-card {
    width: 100%;
    max-width: 290px;
}

.team-cards-large .team-member > .team-card {
    border-radius: 40px 40px 40px 0;
}

section.team-section > div > div > div:nth-child(2) > .team-card-small {
    border-radius: 40px 40px 0 40px;
}

section.team-section > div > div > div:nth-child(2) > .team-card-small img {
    border-radius: 80px 80px 0 80px;
}

section.team-section > div > div > div:nth-child(3) > .team-card-small {
    border-radius: 40px 0 40px 40px;
}

section.team-section > div > div > div:nth-child(3) > .team-card-small img {
    border-radius: 80px 0 80px 80px;
}

section.team-section > div > div > div:nth-child(4) > .team-card-small {
    border-radius: 40px 40px 40px 0;
}

section.team-section > div > div > div:nth-child(4) > .team-card-small img {
    border-radius: 80px 80px 80px 0;
}

section.team-section > div > div > div:nth-child(5) > .team-card-small {
    border-radius: 0 40px 40px 40px;
}

section.team-section > div > div > div:nth-child(5) > .team-card-small img {
    border-radius: 0 80px 80px 80px;
}

section.team-section > div > div > div:nth-child(6) > .team-card-small {
    border-radius: 40px 40px 0 40px;
}

section.team-section > div > div > div:nth-child(6) > .team-card-small img {
    border-radius: 80px 80px 0 80px;
}

section.team-section > div > div > div:nth-child(7) > .team-card-small {
    border-radius: 40px 0 40px 40px;
}

section.team-section > div > div > div:nth-child(7) > .team-card-small img {
    border-radius: 0 80px 80px 80px;
}

section.team-section > div > div > div:nth-child(8) > .team-card-small {
    border-radius: 40px 0 40px 40px;
}

section.team-section > div > div > div:nth-child(8) > .team-card-small img {
    border-radius: 80px 80px 0 80px;
}

section.team-section > div > div > div:nth-child(9) > .team-card-small {
    border-radius: 40px 0 40px 40px;
}

section.team-section > div > div > div:nth-child(9) > .team-card-small img {
    border-radius: 80px 0 80px 80px;
}

section.team-section > div > div > div:nth-child(10) > .team-card-small {
    border-radius: 40px 0 40px 40px;
}

section.team-section > div > div > div:nth-child(10) > .team-card-small img {
    border-radius: 80px 0 80px 80px;
}

section.team-section > div > div > div:nth-child(11) > .team-card-small {
    border-radius: 40px 0 40px 40px;
}

section.team-section > div > div > div:nth-child(11) > .team-card-small img {
    border-radius: 80px 80px 80px 0;
}

/* Решта малих карточок - по 1 колонці кожна, автоматично розташовуються */
.team-member:nth-child(n+3) {
    grid-column: span 1;
}

.team-card {
    border-radius: 40px 40px 40px 40px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.team-decorative-icon-1 {
    position: absolute;
    right: 0;
    top: 250px;
}

.team-decorative-icon-2 {
    position: absolute;
    left: 0;
    top: -130px;
    z-index: 3;
}

.team-decorative-icon-3 {
    position: absolute;
    left: 0;
    top: 230px;
    z-index: 3;
}

.team-decorative-icon-4 {
    position: absolute;
    left: 100px;
    top: 350px;
    z-index: 3;
}

.team-decorative-icon-5 {
    position: absolute;
    right: -100px;
    bottom: 380px;
    z-index: 3;
}

.team-decorative-icon-6 {
    position: absolute;
    right: -80px;
    bottom: -30px;
    z-index: 3;
}

.team-card:hover {
    transform: scale(1.02);
    background: var(--dark-pink);
}
.team-card:hover .team-description {
    visibility: visible;
}
.team-card-small {
    
    border-radius: 40px 40px 40px 40px;
    padding: 10px;
    text-align: center;
    height: 345px;
    transition: transform 0.3s ease;
}

.team-card-small:hover {
    background: var(--dark-pink);
    transform: scale(1.02);
}

.team-card-small:hover .team-description-small {
    visibility: visible;
}

.team-image {
    width: 184px;
    height: 184px;
    margin: 0 auto 20px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-image-small {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;

    overflow: hidden;
}

.team-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

/* При hover на карточку - зображення стає кольоровим */
.team-card-small:hover .team-image-small img {
    filter: grayscale(0%);
}

.team-name {
    font-size: 22px;
    color: var(--blue);
    margin-bottom: 10px;
    font-weight: bold;
}

.team-name-small {
    font-size: 20px;
    color: var(--blue);
    margin-bottom: 6px;
    font-weight: 400;
}

.team-role {
    font-size: 16px;
    color: var(--blue);
    margin-bottom: 13px;
    line-height: 1.4;
}

.team-role-small {
    font-size: 14px;
    color: var(--blue);
    margin-bottom: 10px;
    line-height: 1.3;
}

.team-description {
    font-size: 12px;
    color: var(--blue);
    opacity: 0.7;
    line-height: 1.4;
    visibility: hidden;
}

.team-description-small {
    font-size: 12px;
    color: var(--blue);
    opacity: 0.7;
    line-height: 1.3;
    visibility: hidden;
}

/* Staff Types Section */
.staff-types-section {
    position: relative;
    padding: 100px 0;
    background: var(--yellow-background);
}

.staff-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.staff-card {
    background: var(--white);
    border-radius: 50px;
    padding: 40px;
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
    min-height: 242px;
}

.staff-card:nth-child(1) {
    border-radius: 0 50px;
    min-height: 354px;
}

.staff-card:nth-child(2) {
    border-radius: 50px 0;
    min-height: 354px;
}

.staff-card:nth-child(3) {
    border-radius: 50px 0;
}

.staff-card:nth-child(4) {
border-radius: 0 50px;
}

.staff-decorative-icon-1 {
    position: absolute;
    left: -100px;
    top: -145px;
}
.staff-decorative-icon-2 {
    position: absolute;
    left: -20px;
    bottom: 130px;
    z-index: 3;
}
.staff-decorative-icon-3 {
    position: absolute;
    left: -100px;
    top: 300px;
    z-index: 3;
}

.staff-decorative-icon-4 {
    position: absolute;
    right: -100px;
    bottom: 180px;
    z-index: 3;
}

.staff-decorative-icon-5 {
    position: absolute;
    right: -23px;
    top: 70px;
    z-index: 3;
}

.staff-title {
    font-size: 28px;
    color: var(--blue);
    margin-bottom: 20px;
    text-align: center;
}

.staff-description {
    font-size: 22px;
    color: var(--blue);
    line-height: 1.4;
    text-align: center;
}

/* Schedule Section */
.schedule-section {
    position: relative;
    padding: 80px 0 134px 0;
    overflow: hidden;
    background: var(--light-blue);
}
.schedule-section .section-title {
    max-width: 310px;
    margin-left: auto;
    margin-right: auto;
}
.schedule-decorative-icon-1 {
    position: absolute;
    left: -90px;
    top: -130px;
    z-index: 1;
}
.schedule-decorative-icon-2 {
    position: absolute;
    right: -100px;
    bottom: -55px;
    z-index: 1;
}

.schedule-toggle {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.schedule-btn {
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 24px;
    color: var(--blue);
    cursor: pointer;
    padding: 10px 20px;
    font-family: 'Varela Round', sans-serif;
    transition: border-bottom 0.3s ease;
}

.schedule-btn.active {
    color: var(--blue);
    font-weight: bold;
    border-bottom: 3px solid #F8DB63;
}

.schedule-table-wrapper {
    background: var(--white);
    border: 2px solid var(--blue);
    border-left: none;
    border-right: none;
    border-radius: 30px 0 30px 0;
    padding: 0px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--blue) var(--light-blue);
    scroll-behavior: smooth;
}

/* Стилі для скролбару на WebKit браузерах (Chrome, Safari, Edge) */
.schedule-table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.schedule-table-wrapper::-webkit-scrollbar-track {
    background: var(--light-blue);
    border-radius: 4px;
}

.schedule-table-wrapper::-webkit-scrollbar-thumb {
    background: var(--blue);
    border-radius: 4px;
}

.schedule-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #0f1d6b;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

/* Перша колонка - ширина 200px */
.schedule-table th:first-child,
.schedule-table td:first-child {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
}

/* Всі інші колонки - ширина 192px */
.schedule-table th:not(:first-child)
.schedule-table td:not(:first-child) {
    width: 192px;
    min-width: 192px;
    max-width: 192px;
}
.schedule-table td:not(:first-child) {
    font-size: 18px;
    line-height: normal;
}

/* 4 та 5 колонки - нижня межа 2px жовтого кольору */
.schedule-table td:nth-child(3),
.schedule-table td:nth-child(5) {
    border-bottom: 2px solid #F8DB63;
}
.schedule-table thead {
    background: var(--blue);
    color: var(--yellow);
}

.schedule-table th {
    padding: 15px;
    text-align: center;
    font-weight: 400;
    font-size: 32px;
    border-top: 1px solid var(--blue);
    border-bottom: 1px solid var(--blue);
    border-left: none;
    border-right: none;
}

.schedule-table th:first-child {
    border-right: 1px solid var(--blue);
}

.schedule-table th:last-child {
    border-left: 1px solid var(--blue);
}

.schedule-table td {
    padding: 12px 10px;
    text-align: right;
    font-size: 18px;
    color: var(--blue);
    border-top: 1px solid var(--yellow);
    border-bottom: 1px solid var(--yellow);
    border-left: none;
    border-right: none;
    background: rgba(255, 255, 255, 0.6);
}

.schedule-table td:first-child {
    border-right: 2px solid #152489;
    border-left: 2px solid #152489;
}

.schedule-table td:last-child {
    border-left: 1px solid var(--yellow);
}

/* Перша колонка - час (שעה) */
.schedule-table td:first-child {
    text-align: center;
    font-weight: normal;
    background: #F8DB63;
    position: relative;
    font-size: 22px;
}

.schedule-table td:first-child::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 43%;
    transform: translateX(-50%);
    width: 172px;
    height: 2px;
    background: #152489;
}

/* Прибираємо лінію в останньому рядку */
.schedule-table tbody tr:last-child td:first-child::after {
    display: none;
}

.schedule-table th:first-child {
    background: var(--blue);
}

/* Друга колонка - предмет (פעילות) */
.schedule-table td:nth-child(2) {
    text-align: right;
}

.schedule-table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.8);
}

.schedule-table tbody tr:nth-child(even) td:first-child {
    background: #F8DB63;
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.testimonials-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--pink);
    z-index: -1;
}

.testimonials-carousel-wrapper {
    overflow: hidden;
    height: 560px;
    position: relative;
    /* mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%); */
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

.testimonials-carousel-wrapper .testimonials-carousel {
    position: relative;
    height: 100%;
}

@media (max-width: 768px) {
    .testimonials-carousel-wrapper {
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    .testimonials-carousel {
        height: auto;
    }
    .schedule-table td:first-child {
        overflow:hidden;
    }
    .schedule-table td:first-child::after {
        left:50%;
    }
}

.testimonials-carousel {
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.testimonial-item {
    background: var(--white);
    border-radius: 50px 0 50px 0;
    padding: 40px;
    height: 560px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    perspective: 1000px;
}

@media (max-width: 768px) {
    .testimonial-item {
        position: relative;
    }
}

.testimonial-content {
    text-align: center;
    max-width: 800px;
}

.testimonial-text {
    font-size: 24px;
    color: var(--blue);
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-author {
    font-size: 20px;
    color: var(--blue);
    font-weight: bold;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(var(--total-height, calc(-50% + 280px)));
    }
}

/* Registration Section */
.registration-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    min-height: 870px;
    background: #fc862e;
}

.registration-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fc862e;
    z-index: -1;
}

/* FAQ Section */
.faq-section {
    position: relative;
    padding: 80px 0 80px 0;
    overflow: hidden;
}

.faq-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--blue);
    z-index: -1;
}

.faq-section .section-title {
    color: var(--white);
}

.faq-list {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 12px;
    border-bottom: 2px solid var(--yellow);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 28px;
    text-align: right;
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Varela Round', sans-serif;
}

.faq-question:hover {
    opacity: 0.8;
}

.faq-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.faq-toggle svg {
    display: block;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle svg {
    transform: rotate(180deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    opacity: 0;
    transition: grid-template-rows 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.4s ease 0.1s,
                padding 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0 20px;
    height:7px;
}

.faq-answer > * {
    min-height: 0;
    overflow: hidden;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
    opacity: 1;
    padding: 20px;
    transition: grid-template-rows 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.5s ease,
                padding 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height:100%;
}

.faq-answer p {
    color: var(--white);
    font-size: 20px;
    line-height: 1.6;
}

/* Founders Section */
.founders-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: var(--red);
    min-height: 870px;
}


.founder-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.founder-image {
    width: 300px;
    height: 103px;
    margin-bottom: 30px;
    object-fit: cover;
}

.founder-details p {
    font-size: 32px;
    color: var(--blue);
    margin-bottom: 15px;
    direction: ltr;
    text-align: center;
}

/* Footer */
.footer-section {
    padding: 147px 0 40px 0;
    background: #fff;
    text-align: center;
}

.footer-link-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    font-size: 32px;
    color: var(--red);
    text-decoration: none;
}

.footer-link-text:hover {
    text-decoration: underline;
}
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1200px;
    }
    header .container {
        max-width: 1400px;
    }
}
/* Responsive Design */
@media (max-width: 1200px) {
    .staff-decorative-icon-1 {
        left: 0;
    }
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .team-cards-large {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .team-decorative-icon-4 {
        left: 0;
    }
    .team-decorative-icon-1 {
        right: -100px;
    }
    .team-card-small,
    .team-card {
        background: var(--dark-pink);
        height:auto;
        max-width:290px;
        min-width:290px;
        width:100%;
    }
    .team-card-small .team-description-small,
    .team-card .team-description {
        visibility: visible;
    }
    .hero-section {
        min-height: auto;
        padding: 50px 0;
    }
    
    .hero-yellow-bg,
    .about-pink-bg {
        height: 100%;
    }
    
    .contact-form-wrapper {
        padding: 20px;
    }
    
    .form-title {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .value-text {
        font-size: 22px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-cards-large {
        flex-direction: column;
        align-items: center;
    }
    
    .staff-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .schedule-table-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }
    
    .schedule-table {
        font-size: 14px;
        min-width: 800px;
        width: 100%;
        display: table;
    }
    
    .schedule-table th {
        font-size: 20px;
        padding: 10px;
        min-width: 150px;
    }
    
    .schedule-table td {
        font-size: 14px;
        padding: 10px;
        min-width: 150px;
    }
    
    .schedule-table th:first-child,
    .schedule-table td:first-child {
        min-width: 180px;
        width: 180px;
    }
}

@media (max-width: 576px) {
    .logo {
        max-width: 200px;
    }
    
    .about-text {
        font-size: 20px;
    }
    
    .faq-question {
        font-size: 20px;
    }
    
    .founder-details p {
        font-size: 24px;
    }
    
    .schedule-table-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }
    
    .schedule-table {
        min-width: 700px;
    }
    
    .schedule-table th {
        font-size: 18px;
        padding: 8px 5px;
        min-width: 120px;
    }
    
    .schedule-table td {
        font-size: 12px;
        padding: 8px 5px;
        min-width: 120px;
    }
    
    .schedule-table th:first-child,
    .schedule-table td:first-child {
        min-width: 150px;
        width: 150px;
    }
}

@media(max-width: 1199px)  {
    .staff-types-section {
        overflow: hidden;
    }
    .schedule-decorative-icon-1 {
        display: none;
    }
}

/* Offcanvas Menu Responsive Styles */
@media (max-width: 768px) {
    .offcanvas {
        width: 80% !important;
        max-width: 300px;
    }
    
    .offcanvas-nav-link {
        font-size: 16px;
        padding: 10px 12px;
    }
    
    .burger-btn {
        width: 80px;
        height: 70px;
        position:relative;
        top: -4px;
    }
    
    .header-decorative {
        right: 20px;
        top: -15px;
    }
}