/* Hero Section */
.hero {
    margin-top: 10vh;
    height: 100vh;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    background: var(--white);
}

.hero-container {
    display: -webkit-grid;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: calc(100vh - 80px);
    min-height: -webkit-calc(100vh - 80px);
}

/* Left Side */
.hero-content {
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    background: var(--white);
    margin-left: auto;
    margin-right: auto;
    margin-top: 5vh;
    align-items: center;
    gap: 1rem;
}

.hero-tag {
    font-family: 'Academy Engraved LET', sans-serif;                                  
    font-size: 1.2rem;
    color: var(--dark);
    font-weight: bolder;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.est-badge {
    display: inline-block;
    background: linear-gradient(135deg, #c9a03d 0%, #e8c968 50%, #c9a03d 100%);
    color: #2c2c2c;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 1.2rem;
    border-radius: 50px;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 215, 0, 0.4) inset;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

.est-badge::before {
    content: "★";
    margin-right: 6px;
    font-size: 0.8rem;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.hero-title {
    font-family: var(--font-head);
    font-size: 3.2rem;
    color: var(--dark);
    line-height: 1.2;
    font-weight: 400;
    text-align: center;
}

.hero-rotating {
    margin-bottom: 1.5rem;
}

.rotating-word {
    font-family: var(--font-curve);
    font-size: 5rem;
    font-weight: bold;
    transition: all 0.5s ease;
    display: inline-block;
    transition: opacity 0.25s ease, color 0.3s ease;
    margin-top: -0.5rem;
}

/* Colors for rotating words */
.rotating-word[data-color="green"] { color: var(--green); }
.rotating-word[data-color="yellow"] { color: var(--yellow); }
.rotating-word[data-color="red"] { color: var(--red); }
.rotating-word[data-color="blue"] { color: #2196f3; }

.hero-desc{
    font-weight: 500;
    color: var(--green-dark);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 100%;
}

.hero-cta {
    display: inline-block;
    background: var(--green);
    color: var(--white);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: var(--font-head);
    font-size: 1rem;
    transition: all 0.3s ease;
    width: fit-content;
    margin-bottom: 2rem;
    -webkit-appearance: none;
}

.hero-cta:hover {
    background: var(--dark);
    transform: translateX(5px);
    -webkit-transform: translateX(5px);
}

/* Manual Controls */
.hero-controls {
    display: -webkit-flex;
    display: flex;
    gap: 0.75rem;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--green-pastel);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    -webkit-appearance: none;
}

.control-dot.active {
    background: var(--green);
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
}

/* Right Side - Image */
.hero-image {
    position: relative;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100vh;
    height: -webkit-fill-available;
    object-fit: cover;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.hero-image img.loaded {
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        padding-top: 0;
        min-height: 100vh;
        min-height: -webkit-fill-available;
        position: relative;
        margin-top: 5vh;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }
    
    .hero-image {
        order: 1;
        height: 100vh;
        height: -webkit-fill-available;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1;
    }
    
    .hero-content {
        order: 2;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 2rem;
        background: rgba(255, 255, 255, 0.92);
        border-radius: 24px 24px 0 0;
        z-index: 2;
        margin-top: 0;
        width: 100%;
        margin-bottom: -8rem;
        display: -webkit-flex;
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    /* Move dots above text */
    .hero-controls {
        order: -1;
        margin-bottom: 1rem;
        justify-content: left;
    }
    
    .hero-tag,
    .hero-title,
    .hero-rotating,
    .hero-desc,
    .hero-cta {
        order: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .rotating-word {
        font-size: 2.75rem;
    }
    
    .hero-tag {
        font-size: 0.8rem;
    }
    
    .hero-desc {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
        width: auto;
    }
    
    .hero-cta {
        width: 100%;
        text-align: center;
        margin-bottom: 1.5rem;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content {
        padding: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .rotating-word {
        font-size: 2.5rem;
    }
}

/* Testimonials Section - Updated for Marquee */
.testimonials-section {
    padding: 5rem 0rem;
    background: var(--green);
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    width: 100vw;
    margin: 0 auto;
}

/* Section Header */
.testimonials-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-title {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2rem;
}

.testimonials-emphasis {
    font-family: var(--font-curve);
    font-size: 3.5rem;
    color: var(--yellow);
    display: inline-block;
    margin-left: 0.5rem;
}

.testimonials-underline {
    width: 150px;
    height: 2px;
    background: var(--green-dark);
    margin: 0 auto;
    border-radius: 2px;
    margin-bottom: 5rem;
}

/* Marquee Wrapper */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.marquee-wrapper:active {
    cursor: grabbing;
}

.marquee-track {
    display: -webkit-flex;
    display: flex;
    gap: 1.5rem;
    width: fit-content;
    will-change: transform;
}

/* Testimonial Card */
.testimonial-card {
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 0 0 550px;
    background: var(--white);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: auto;
    /* Safari fix for border-radius + overflow */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.testimonial-card:hover {
    transform: translateY(-2px);
    -webkit-transform: translateY(-2px);
}

/* Quote Icon */
.quote-icon {
    width: 48px;
    height: 48px;
    opacity: 0.3;
}

.testimonial-card[data-color="green"] .quote-icon {
    color: var(--green);
}

.testimonial-card[data-color="yellow"] .quote-icon {
    color: var(--yellow);
}

.testimonial-card[data-color="red"] .quote-icon {
    color: var(--red);
}

/* Card Content */
.testimonial-title {
    font-family: var(--font-curve);
    font-size: 2rem;
    font-weight: 100;
    color: var(--dark);
    margin-bottom: 1rem;
    min-height: 5rem; 
}

.testimonial-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

/* Badge */
.testimonial-badge {
    width: fit-content;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    background: var(--green);
    margin-top: auto;
}

.testimonial-card[data-color="green"] .testimonial-badge {
    background: var(--green);
}

.testimonial-card[data-color="yellow"] .testimonial-badge {
    background: var(--yellow);
}

.testimonial-card[data-color="red"] .testimonial-badge {
    background: var(--red);
}

.parent-name {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
}

.testimonial-card[data-color="yellow"] .parent-name {
    color: var(--dark);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 3rem 0;
        margin-top: 8rem;
    }
    
    .testimonials-title {
        font-size: 1.6rem;
    }
    
    .testimonials-emphasis {
        font-size: 2rem;
    }
    
    .testimonial-card {
        flex: 0 0 300px;
        padding: 1.5rem;
        height: auto;
    }
    
    .testimonial-title {
        font-size: 1.25rem;
        min-height: 4rem;
    }
    
    .testimonial-text {
        font-size: 0.875rem;
    }
}

/* Why Us Section */
.whyus-section {
    padding: 5rem 2rem;
    background: var(--off-white);
    overflow-x: hidden;
}

.whyus-container {
    max-width: 1400px;
    margin: 0 auto;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

/* Left Side */
.whyus-content {
    display: -webkit-flex;
    display: flex;
    gap: 5rem;
    align-items: flex-start;
    width: 100%;
    position: relative;
}

.whyus-title {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.3;
    margin: 0;
    text-align: center;
}

.whyus-emphasis {
    font-family: var(--font-curve);
    font-size: 4rem;
    color: var(--yellow);
    display: inline-block;
    margin-top: 0.25rem;
}

/* Points Container */
.whyus-points {
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    flex: 1;
    width: 100%;
}

/* Individual Point */
.whyus-point {
    padding: 5rem 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
    padding-left: 2rem;
    width: 40vw;
    border-left: var(--red) solid 9px;
    background-color: var(--gray);
    border-radius: 12px;
    /* Safari fix */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: relative;
}

.whyus-point.active {
    opacity: 1;
}

.whyus-point.active:hover {
    opacity: 1;
}

.point-title {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1.1rem;
}

.point-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    color: var(--dark);
}

/* Right Side - Image */
.whyus-image {
    top: 120px;
    width: 30vw;
    flex-shrink: 0;
    align-self: flex-start;
    border-radius: 24px;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    /* Safari fix */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.whyus-image img {
    width: 100%;
    max-height: 70vh;
    object-fit: cover;
    transition: opacity 0.3s ease;
    opacity: 1;
    border-radius: 24px;
    display: block;
}



/* Mobile Responsive */
@media (max-width: 768px) {
    .whyus-section {
        padding: 3rem 1.5rem;
        overflow-x: hidden;
    }
    
    .whyus-container {
        gap: 2rem;
    }
    
    .whyus-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .whyus-points {
        width: 100%;
        order: 1;
    }
    
    .whyus-title {
        font-size: 2rem;
        text-align: center;
        letter-spacing: 1px;
        min-width: 95vw;
    }
    
    .whyus-emphasis {
        font-size: 2.5rem;
        margin-top: 0;
    }
    
    .whyus-points {
        gap: 3rem;
    }
    
    .whyus-point {
        opacity: 1;
        cursor: default;
        border-left: none;
        text-align: center;
        border-top: var(--red) solid 7px;
        border-radius: 10px;
        padding-left: 1rem;
        filter: var(--filter);
        width: auto;
        max-width: 100%;
        display: block;
    }
    
    /* Remove the hover image pseudo-element on mobile */
    .whyus-point::after {
        display: none;
    }
    
    .whyus-point.active {
        border-left: none;
    }
    
    .whyus-point:hover {
        opacity: 1;
    }
    
    .point-title {
        font-size: 1.3rem;
        text-align: left;
    }
    
    .point-desc {
        font-size: 0.9rem;
        text-align: left;
    }
    
    .whyus-image {
        position: relative;
        top: 0;
        width: 100%;
        order: 2;
        display: none;
    }
    
    /* Add mobile images after each point */
    .whyus-point {
        position: relative;
        padding-bottom: 1rem;
    }
    
    .whyus-point::after {
        content: '';
        display: block;
        width: 100%;
        height: 250px;
        margin-top: 1rem;
        background-size: cover;
        background-position: center;
        border-radius: 16px;
        opacity: 1;
        visibility: visible;
        position: relative;
        left: auto;
        top: auto;
        transform: none;
    }
    
    .whyus-point[data-point="0"]::after {
        background-image: url('/images/why2.jpeg');
    }
    
    .whyus-point[data-point="1"]::after {
        background-image: url('/images/why1.jpeg');
    }
    
    .whyus-point[data-point="2"]::after {
        background-image: url('/images/why3.jpeg');
    }

    .whyus-point[data-point="3"]::after {
        background-image: url('/images/hero/hero10.jpeg');
    }

    .whyus-point[data-point="4"]::after {
        background-image: url('/images/hero/hero6.jpeg');
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .whyus-section {
        padding: 4rem 2rem;
    }
    
    .whyus-title {
        font-size: 2rem;
    }
    
    .whyus-emphasis {
        font-size: 2.25rem;
    }
    
    .point-title {
        font-size: 1.1rem;
    }
    
    .point-desc {
        font-size: 0.875rem;
    }
    
    .whyus-image {
        top: 100px;
    }
    
    .whyus-point::after {
        width: 150px;
        height: 150px;
    }
}

@media (min-width: 769px) {
    .whyus-image {
        display: none;
    }
    
    .whyus-content {
        position: relative;
    }
    
    .whyus-points {
        width: 50%;
        max-width: 800px;
        margin: 0;
    }
    
    .whyus-point {
        position: relative;
        width: 100%;
        display: block;
        /* Remove flex */
    }
    
    /* Image positioned completely outside the card */
    .whyus-point::after {
        content: '';
        position: absolute;
        left: 100%;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 100px;
        width: 60%;
        height: 100%;
        border-radius: 16px;
        background-size: cover;
        background-position: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        pointer-events: none;
    }
    
    .whyus-point:hover::after {
        opacity: 1;
        visibility: visible;
    }
    
    .whyus-point[data-point="0"]:hover::after {
        background-image: url('/images/why2.jpeg');
    }
    .whyus-point[data-point="1"]:hover::after {
        background-image: url('/images/why1.jpeg');
    }
    .whyus-point[data-point="2"]:hover::after {
        background-image: url('/images/why3.jpeg');
    }
    .whyus-point[data-point="3"]:hover::after {
        background-image: url('/images/hero/hero10.jpeg');
    }
    .whyus-point[data-point="4"]:hover::after {
        background-image: url('/images/hero/hero6.jpeg');
    }
}

/* Additional Programs Section */
.programs-extra-section {
    padding: 10rem 2rem;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--off-white);
}

.programs-extra-card {
    max-width: 90vw;
    width: 100%;
    background: var(--green);
    border-radius: 32px;
    padding: 3rem 10rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    /* Safari fix */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.programs-extra-title {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2.5rem;
    margin-top: 2rem;
    line-height: 1.3;
}

.programs-extra-emphasis {
    font-family: var(--font-curve);
    font-size: 3rem;
    color: var(--yellow);
    display: inline-block;
}

/* Grid Layout */
.programs-extra-grid {
    display: -webkit-grid;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

/* Program Item */
.program-extra-item {
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 4rem;
    transition: transform 0.3s ease;
    background-color: var(--green-pastel);
    border-radius: 1rem;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.program-extra-item:hover {
    transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
}

.program-icon {
    width: 75px;
    height: 75px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}

.program-extra-name {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--yellow);
    margin: 0;
}

/* Programs Extra Footer & CTA */
.programs-extra-footer {
    margin-top: 2.5rem;
    text-align: center;
}

.programs-extra-cta {
    display: inline-block;
    background: var(--yellow);
    color: var(--dark);
    text-decoration: none;
    padding: 0.875rem 2rem;
    border-radius: 40px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    -webkit-appearance: none;
}

.programs-extra-cta:hover {
    background: var(--white);
    transform: translateX(5px);
    -webkit-transform: translateX(5px);
}

/* Mobile */
@media (max-width: 768px) {
    .programs-extra-footer {
        margin-top: 2rem;
    }
    
    .programs-extra-cta {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        width: 100%;
        text-align: center;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .programs-extra-section {
        padding: 3rem 0rem;
    }
    
    .programs-extra-card {
        padding: 2rem 1.5rem;
        min-width: 90vw;
    }
    
    .programs-extra-title {
        font-size: 1.5rem;
        margin-top: 2rem;
    }
    
    .programs-extra-emphasis {
        font-size: 1.75rem;
    }
    
    .programs-extra-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .program-extra-item{
        padding: 1rem;
    }
    
    .program-icon {
        width: 50px;
        height: 50px;
    }
    
    .program-extra-name {
        font-size: 0.875rem;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .programs-extra-card {
        max-width: 800px;
        padding: 2.5rem 2rem;
    }
    
    .programs-extra-title {
        font-size: 1.75rem;
    }
    
    .programs-extra-emphasis {
        font-size: 2rem;
    }
    
    .program-icon {
        width: 55px;
        height: 55px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 5rem 2rem;
    background: var(--off-white);
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    align-items: center;
}

.faq-card {
    max-width: 90vw;
    width: 100%;
    background: var(--white);
    border-radius: 32px;
    display: -webkit-grid;
    display: grid;
    grid-template-columns: 35% 65%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    /* Safari fix */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

/* Left Side */
.faq-left {
    background: linear-gradient(rgba(46, 125, 50, 0.5), rgba(46, 125, 50, 0.5)), url('/images/hero/hero5.jpeg');
    background-size: cover;
    background-position: center;
    padding: 3rem 2rem;
    display: -webkit-flex;
    display: flex;
}

.faq-title {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
    margin-top: 2rem;
}

.faq-emphasis {
    font-family: var(--font-curve);
    font-size: 3rem;
    color: var(--yellow);
    display: inline-block;
    margin-top: 0.5rem;
}

/* Right Side */
.faq-right {
    padding: 3rem;
}

.faq-accordion {
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* FAQ Item */
.faq-item {
    border-bottom: 1px solid var(--green);
}

.faq-question {
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    cursor: pointer;
}

.faq-question span {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--green);
    flex: 1;
    padding-right: 1rem;
}

.faq-toggle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--white);
    border: solid 1px var(--green);
    cursor: pointer;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    -webkit-appearance: none;
}

.faq-toggle:hover {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
}

.faq-icon {
    width: 19px;
    height: 19px;
    stroke: var(--green);
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 0;
}

.faq-item.open .faq-answer {
    max-height: 800px;
    padding-bottom: 1.25rem;
}

.faq-answer p {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark);
    margin: 0;
}

.discipline-policy {
    font-family: var(--font-body);
}

.policy-title {
    font-weight: 700;
    color: var(--green);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.policy-list {
    margin: 0;
    padding-left: 1.25rem;
}

.policy-list li {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.policy-list li strong {
    color: var(--red);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 0rem;
    }
    
    .faq-card {
        grid-template-columns: 1fr;
        border-radius: 24px;
        min-width: 90vw;
    }
    
    .faq-left {
        padding: 2rem 1rem;
        text-align: left;
    }
    
    .faq-title {
        font-size: 2rem;
    }
    
    .faq-emphasis {
        font-size: 2.5rem;
    }
    
    .faq-right {
        padding: 1.5rem;
    }
    
    .faq-question span {
        font-size: 1.1rem;
    }
    
    .faq-toggle {
        width: 30px;
        height: 30px;
    }
    
    .faq-icon {
        width: 15px;
        height: 15px;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .faq-card {
        max-width: 900px;
    }
    
    .faq-left {
        padding: 2rem 1.5rem;
    }
    
    .faq-title {
        font-size: 1.5rem;
    }
    
    .faq-emphasis {
        font-size: 1.75rem;
    }
    
    .faq-right {
        padding: 1.5rem;
    }
    
    .faq-question span {
        font-size: 0.9rem;
    }
}

/* Safari/iOS specific fixes */
@supports (-webkit-touch-callout: none) {
    /* iOS specific */
    .hero, .hero-image img {
        height: -webkit-fill-available;
    }
    
    /* Fix for 100vh on iOS */
    .hero-container {
        min-height: -webkit-fill-available;
    }
    
    /* Fix for sticky/hover issues on iOS */
    .whyus-point, .program-extra-item {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    /* Fix for border-radius + overflow hidden on iOS */
    .testimonial-card, .programs-extra-card, .faq-card, .whyus-image {
        -webkit-mask-image: -webkit-radial-gradient(white, black);
    }
}