.feedback-card,
.feedback-section {
    overflow: hidden;
    text-align: center;
}
.card,
.get-started a {
    text-decoration: none;
}
.help-send-btn,
.pulse-button {
    cursor: pointer;
    gap: 8px;
    color: #fff;
}
html[lang="ar"] .about-text,
html[lang="ar"] .footer-container,
html[lang="ar"] .hero-text {
    text-align: right;
}
html[lang="ar"] .about-text h2,
html[lang="ar"] .about-text p,
html[lang="ar"] .hero-text h1 {
    text-align: right;
    margin-right: 0;
}
html[lang="ar"] .about-text,
html[lang="ar"] .hero-text {
    padding-right: 0;
    padding-left: 20px;
}
html[lang="ar"] .container {
    direction: rtl;
}
html {
    scroll-behavior: smooth;
}
* {
    font-family: "Segoe UI", sans-serif;
    color: #222;
}
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(45deg, #ffe7088a, #c7c3c317);
}
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 50px 50px;
    height: 600px;
}
.about-section .container,
.hero .container,
.subjects-title .container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 85%;
}
.about-section,
.age-section {
    align-items: center;
    display: flex;
}
.hero-text {
    max-width: 59%;
}
h1 {
    font-size: 53px;
    line-height: 1.4;
    margin-right: 15%;
}
.gradient-text {
    background: linear-gradient(90deg, #f7971e, #ffd200);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    transition: 0.3s ease-in-out;
}
.get-started {
    margin-top: -2%;
    width: 40%;
}
.get-started img {
    width: 7%;
    margin-left: 5%;
    margin-top: 2%;
}
.get-started a {
    font-size: 20px;
}
.features {
    margin-top: 27px;
    list-style: none;
    padding: 0;
}
.features li {
    margin: 10px 0;
    font-size: 19px;
}
.hero-image {
    position: relative;
    width: 40%;
    margin-top: 2%;
}
.background-shape {
    width: 110%;
    border-radius: 30px;
}
.features li img {
    width: 3%;
    margin-right: 1%;
}
.foreground-image {
    position: absolute;
    top: -32px;
    left: 95px;
    width: 70%;
    border-radius: 20px;
    transition: opacity 0.5s ease-in-out;
}
.about-section {
    justify-content: center;
    padding: 60px 80px;
    gap: 40px;
    flex-wrap: wrap;
    background: #fff;
}
.age-section,
.how-it-works {
    padding: 40px 20px;
    text-align: center;
}
.about-text {
    flex: 1;
    min-width: 300px;
}
.about-text h2 span {
    background-color: #ffd500;
    color: #000;
    padding: 5px 13px;
    font-size: 31px;
    font-weight: 700;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 5px;
}
.about-text p {
    font-size: 20px;
    line-height: 1.7;
    color: #333;
    margin-right: 18%;
}
.about-icons {
    width: 100%;
    height: 50px;
}
.about-icons a img {
    width: 3.9%;
    margin-right: 0.9%;
}
.about-image {
    position: relative;
    flex: 1;
    min-width: 300px;
    max-width: 450px;
}
.about-image .yellow-bg {
    position: absolute;
    top: 15px;
    left: 54px;
    width: 82%;
    height: 101%;
    background-color: #ffd500;
    z-index: 1;
}
.about-image img {
    position: relative;
    z-index: 2;
    width: 123%;
    height: auto;
    right: 80px;
}
.age-section {
    justify-content: center;
    flex-direction: column;
    background: linear-gradient(45deg, #fff, transparent);
}
.card,
.how-it-works,
.step {
    background-color: #fff;
}
.age-section .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.age-section h2 {
    font-size: 50px;
    margin-bottom: 3%;
    color: #2b2b2b;
}
.cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
    height: 280px;
}
.card {
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #000;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
    width: 23%;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}
.img-placeholder {
    width: 100%;
    height: 130px;
}
.img-placeholder img {
    width: 100%;
    margin-top: -8%;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.card p {
    padding: 15px;
    font-size: 22px;
    font-weight: 500;
    margin-top: 25%;
}
.subjects-title {
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: #2b2b2b;
}
.subjects {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.subject-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.subject-icon img {
    width: 100px;
    height: 65px;
    object-fit: contain;
}
.subject-icon p {
    font-size: 20px;
    font-weight: 500;
    margin-top: 5%;
}
.how-it-works h2 {
    font-size: 48px;
    font-weight: 700;
    margin: 2% 0 3%;
}
.footer-column ul li,
.step h3,
.step p {
    margin-bottom: 10px;
}
.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.step {
    border: 1px solid #c1bebe;
    border-radius: 8px;
    width: 350px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.step-number {
    display: inline-block;
    padding: 5px 12px;
    font-weight: 700;
    font-size: 18px;
    color: #000;
    border-radius: 5px;
    margin-bottom: -8px;
}
.step h3 {
    font-size: 30px;
}
.step p {
    font-size: 16px;
    color: #333;
}
.step-image img {
    width: 100%;
    border-radius: 8px;
    margin-top: 10px;
}
.feedback-section {
    padding: 55px 20px;
    background: linear-gradient(45deg, #fff, transparent);
}
.feedback-section h2 {
    font-size: 45px;
    font-weight: 700;
    margin-bottom: 70px;
}
.feedback-slider {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 450px;
    margin: 0 auto;
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.feedback-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    color: #333;
    padding: 40px;
    width: 80%;
    max-width: 700px;
    position: absolute;
    top: 0;
    opacity: 0;
    transform: scale(0.8) rotateY(60deg);
    transform-origin: center;
    transition: 1s;
    border: 1px solid #d5006f;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.feedback-card.active {
    transform: scale(1) rotateY(0);
}
.feedback-card.left,
.feedback-card.prev {
    transform: translateX(-50%) scale(0.7) rotateY(-40deg);
    opacity: 0.3;
    z-index: 1;
}
.feedback-card.next,
.feedback-card.right {
    transform: translateX(50%) scale(0.7) rotateY(40deg);
    opacity: 0.3;
    z-index: 1;
}
.feedback-card .social-icon img {
    width: 52px;
    height: 50px;
    margin-bottom: 10px;
}
.feedback-card .name {
    font-weight: 700;
    font-size: 30px;
    color: #4b7bec;
    margin-bottom: 8px;
}
.feedback-card .role {
    font-size: 17px;
    color: #888;
    margin-bottom: 20px;
}
.feedback-card .text {
    font-size: 19px;
    color: #333;
    line-height: 1.5;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    font-style: italic;
}
.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #999;
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    transition: background 0.3s;
}
.dot.active {
    background: #4b7bec;
}
.feedback-card.active {
    transform: translateX(0) scale(1) rotateY(0);
    opacity: 1;
    z-index: 2;
}
.feedback-card.transition {
    transition: 1s;
}
.site-footer {
    background: #fff;
    color: #333;
    padding: 50px 20px 30px;
    font-family: "Helvetica Neue", sans-serif;
}
.footer-container {
    max-width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr 2fr;
    gap: 40px;
    align-items: start;
}
.footer-logo-social {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-direction: column;
}
.footer-logo {
    max-width: 75%;
}
.footer-social {
    display: flex;
    gap: 15px;
}
.footer-social img {
    width: 35px;
    height: 32px;
    transition: transform 0.3s;
}
.footer-social img:hover {
    transform: scale(1.2);
}
.footer-description {
    font-size: 18px;
    line-height: 1.6;
}
.footer-right {
    display: flex;
    justify-content: flex-end;
}
.footer-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(100px, 1fr));
    gap: 45px;
}
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-column ul li a {
    text-decoration: none;
    font-size: 17px;
    transition: color 0.3s;
    font-weight: 700;
}
.footer-column ul li a:hover {
    color: #000;
}
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 15px;
    color: #777;
}
.pulse-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #007bff;
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: 0 0 0 rgba(0, 123, 255, 0.4);
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    animation: 2s infinite pulse;
    z-index: 1000;
}
.help-send-btn i,
.help-send-btn span,
.pulse-button i,
.pulse-button span {
    color: #fff;
}
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.5);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(0, 123, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}
.help-popup {
    position: fixed;
    bottom: 90px;
    right: 30px;
    background: #fff;
    border-radius: 15px;
    width: 320px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1001;
    padding: 20px;
}
.help-content h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}
.help-input,
.help-select,
.help-textarea {
    width: 96%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
}
.help-textarea {
    height: 80px;
    resize: none;
}
.help-send-btn {
    width: 100%;
    background-color: #007bff;
    border: none;
    padding: 10px;
    font-size: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}
.help-send-btn:hover {
    background-color: #0056b3;
}
@media (min-width: 1200px) {
    h1 {
        font-size: 53px;
    }
    .hero-text {
        max-width: 59%;
    }
    .get-started {
        width: 40%;
    }
    .features li {
        font-size: 19px;
    }
    .about-text p {
        font-size: 20px;
        margin-right: 18%;
    }
    .about-image img {
        width: 123%;
        right: 80px;
    }
    .about-icons a img {
        width: 3.9%;
    }
    .cards {
        flex-direction: row;
        height: auto;
    }
    .card {
        width: 23%;
    }
    .subjects {
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
    }
    .subject-icon {
        width: calc(33.33% - 40px);
    }
    .footer-container {
        grid-template-columns: 1fr 1.5fr 2fr;
        text-align: left;
    }
}
@media (max-width: 1199px) and (min-width: 768px) {
    .hero,
    .hero .container {
        flex-direction: column;
        height: auto;
    }
    .hero {
        padding: 80px 30px;
        text-align: center;
    }
    .hero .container {
        width: 90%;
    }
    .hero-text {
        max-width: 100%;
        margin-right: 0;
    }
    h1 {
        font-size: 40px;
        margin: 0 auto;
    }
    .get-started {
        width: 50%;
        margin: 20px auto 0;
    }
    .get-started img {
        width: 10%;
        margin-left: 3%;
    }
    .features {
        margin-top: 20px;
    }
    .features li {
        font-size: 17px;
    }
    .hero-image {
        width: 80%;
        margin-top: 40px;
    }
    .about-text,
    .background-shape,
    .subject-icon {
        width: 100%;
    }
    .foreground-image {
        width: 100%;
        position: static;
        margin-top: -100px;
    }
    .about-section {
        flex-direction: column;
        padding: 50px 40px;
        text-align: center;
    }
    .about-text h2 span {
        font-size: 28px;
    }
    .about-text p {
        font-size: 18px;
        margin: 0 auto;
        width: 90%;
    }
    .about-icons {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
    .about-icons a img {
        width: 5%;
        margin-right: 2%;
    }
    .about-image {
        max-width: 90%;
        margin-top: 40px;
    }
    .about-image img {
        width: 100%;
        position: relative;
        right: 0;
    }
    .about-image .yellow-bg {
        width: 90%;
        height: 100%;
        left: 5%;
    }
    .cards {
        flex-direction: column;
        align-items: center;
        height: auto;
    }
    .card {
        width: 70%;
        margin-bottom: 20px;
    }
    .card p {
        margin-top: 15px;
    }
    .subjects {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        text-align: center;
    }
    .footer-logo {
        max-width: 60%;
    }
    .footer-description {
        font-size: 16px;
        margin-top: 20px;
    }
    .footer-right {
        justify-content: center;
    }
    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    .footer-column ul li a {
        font-size: 16px;
    }
    .footer-social img {
        width: 28px;
        height: 28px;
    }
}
@media (max-width: 767px) {
    .cards,
    .hero,
    .hero .container,
    .img-placeholder {
        height: auto;
    }
    .hero {
        flex-direction: column;
        padding: 60px 20px;
        text-align: center;
    }
    .hero .container {
        flex-direction: column;
        width: 100%;
        margin-top: 16%;
    }
    .hero-text {
        max-width: 100%;
        margin-right: 0;
    }
    h1 {
        font-size: 30px;
        line-height: 1.3;
        margin: 0 auto;
    }
    .get-started {
        width: 70%;
        margin: 20px auto 0;
    }
    .card,
    .footer-logo {
        margin-bottom: 20px;
    }
    .get-started img {
        width: 12%;
        margin-left: 5%;
    }
    .features {
        margin-top: 20px;
    }
    .features li {
        font-size: 16px;
        margin: 8px 0;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: left;
    }
    .about-section,
    .cards {
        flex-direction: column;
    }
    .features li img {
        width: 20px;
        margin-right: 8px;
    }
    .hero-image {
        width: 100%;
        margin-top: 30px;
    }
    .background-shape {
        width: 100%;
        margin-top: 8%;
    }
    .foreground-image {
        width: 65%;
        position: static;
        margin-top: -500px;
    }
    .about-section {
        padding: 40px 20px;
        text-align: center;
        gap: 30px;
    }
    .about-text h2 span {
        font-size: 24px;
        padding: 4px 10px;
    }
    .about-text p {
        font-size: 17px;
        line-height: 1.6;
        margin: 0 auto;
        width: 98%;
    }
    .about-icons {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
    .about-icons a img {
        width: 28px;
        margin: 0 8px;
    }
    .about-image {
        display: none;
    }
    .age-section h2 {
        font-size: 32px;
    }
    .cards {
        align-items: center;
    }
    .card {
        width: 90%;
    }
    .card p {
        font-size: 18px;
        margin-top: 15px;
    }
    .img-placeholder img {
        margin-top: 0;
        border-radius: 15px 15px 0 0;
    }
    .subjects {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .subject-icon img {
        width: 80px;
        height: auto;
    }
    .subject-icon p {
        font-size: 16px;
    }
    .how-it-works h2 {
        font-size: 35px;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .footer-description,
    .footer-left,
    .footer-right {
        width: 100%;
    }
    .footer-logo-social {
        flex-direction: column;
        align-items: center;
    }
    .footer-logo {
        max-width: 50%;
    }
    .footer-social {
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }
    .footer-social img {
        width: 26px;
        height: 26px;
    }
    .footer-description {
        font-size: 15px;
        margin-top: 10px;
    }
    .footer-right {
        justify-content: center;
    }
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-column ul li {
        margin-bottom: 12px;
    }
    .footer-column ul li a {
        font-size: 16px;
        display: block;
        padding: 6px 0;
    }
    .footer-bottom {
        font-size: 14px;
        padding-top: 10px;
        margin-top: 20px;
    }
}
