/* style.css */
:root {
    --primary: #FF5A5F;
    /* Refined Coral/Red */
    --secondary: #087E8B;
    /* Deep Teal */
    --tertiary: #FFC107;
    /* Warm Amber */
    --quaternary: #3C3744;
    /* Dark Slate */
    --dark: #2D2D2D;
    --gray: #717171;
    --light: #F7F7F9;
    --white: #FFFFFF;
}

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

html,
body {
    overflow-x: clip !important;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

main {
    overflow-x: clip;
    width: 100%;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-wrap: break-word;
    word-wrap: break-word;
    padding-bottom: 75px;
    /* Space for sticky bottom bar */
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Outfit', sans-serif;
    color: var(--quaternary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
    box-sizing: border-box;
}

section {
    padding: 5rem 0;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 3.5rem;
}

/* Header & Nav */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

nav .nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--quaternary);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--quaternary);
    transition: 0.3s;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.8rem 2rem;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    /* More professional, less rounded */
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    cursor: pointer;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
}

.btn:hover {
    background-color: var(--quaternary);
    border-color: var(--quaternary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('videoveimage/f-1.jpeg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    margin-top: -115px;
    /* Pull it up behind the header */
    padding: calc(4rem + 115px) 5% 4rem;
    /* Add padding so text isn't covered */
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    /* Light overlay for text readability */
    z-index: 1;
}

.hero::after {
    display: none;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 10;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    color: var(--quaternary);
}

.hero .highlight {
    color: var(--primary);
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: var(--white);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.blob {
    display: none;
}

/* Removed blobs for a cleaner pro look */

/* Grid and feature sections */
.about {
    background: linear-gradient(rgba(247, 247, 249, 0.7), rgba(247, 247, 249, 0.7)), url('videoveimage/f-14.jpeg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.about-text {
    background: rgba(255, 255, 255, 0.85);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.about-text h2 {
    text-align: left;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 1.2rem;
}

.check-list {
    list-style: none;
    margin-top: 1.5rem;
}

.check-list li {
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    word-break: break-word;
}

.check-list i {
    color: var(--primary);
    margin-top: 5px;
}

/* Why Us */
.why-us {
    background: linear-gradient(180deg, #ffffff 0%, var(--light) 100%);
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

@media (min-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1100px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-box {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gray);
    z-index: 0;
    transition: height 0.3s ease, opacity 0.3s ease;
}

.box-color-1::before {
    background: var(--primary);
}

.box-color-2::before {
    background: #25d366;
}

.box-color-3::before {
    background: var(--tertiary);
}

.box-color-4::before {
    background: var(--secondary);
}

.feature-box:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-box:hover::before {
    height: 100%;
    opacity: 0.03;
}

.feature-box h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-weight: 800;
    color: var(--dark);
    position: relative;
    z-index: 2;
}

.feature-box p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray);
    position: relative;
    z-index: 2;
}

.icon-wrapper {
    width: 75px;
    height: 75px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: var(--light);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
}

.box-color-1 .icon-wrapper {
    background: rgba(255, 90, 95, 0.1);
    color: var(--primary);
}

.box-color-2 .icon-wrapper {
    background: rgba(37, 211, 102, 0.1);
    color: #1daa54;
}

.box-color-3 .icon-wrapper {
    background: rgba(255, 193, 7, 0.15);
    color: #d49a00;
}

.box-color-4 .icon-wrapper {
    background: rgba(30, 58, 138, 0.1);
    color: var(--secondary);
}

.feature-box:hover .icon-wrapper {
    transform: scale(1.1) rotate(10deg);
}

/* Programs */
.programs {
    background-color: var(--light);
}

.program-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 30px;
    /* Playful squircle */
    border: 3px solid transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Fun subtle background blobs */
.card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    opacity: 0.1;
    transition: all 0.6s ease;
    z-index: 0;
}

.card * {
    position: relative;
    z-index: 1;
}

.card.color-1::before {
    background: var(--primary);
}

.card.color-2::before {
    background: var(--secondary);
}

.card.color-3::before {
    background: var(--tertiary);
}

.card.color-4::before {
    background: #3f51b5;
}

/* Playful borders */
.card.color-1 {
    border-color: #FFB3B3;
}

.card.color-2 {
    border-color: #99E6D9;
}

.card.color-3 {
    border-color: #FFD699;
}

.card.color-4 {
    border-color: #B3C6FF;
}

.card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.card:hover::before {
    transform: scale(2.5);
    opacity: 0.15;
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    display: inline-block;
    transition: all 0.4s ease;
}

@keyframes bounceRotate {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-10px) rotate(-10deg);
    }

    50% {
        transform: translateY(0) rotate(0deg);
    }

    75% {
        transform: translateY(-5px) rotate(10deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.card:hover .card-icon {
    animation: bounceRotate 1.5s ease-in-out infinite;
}

.card.color-1:hover .card-icon {
    color: var(--primary);
}

.card.color-2:hover .card-icon {
    color: var(--secondary);
}

.card.color-3:hover .card-icon {
    color: var(--tertiary);
}

.card.color-4:hover .card-icon {
    color: #3f51b5;
}

.card h3 {
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.age-range {
    font-weight: 800;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
}

.card.color-1 .age-range {
    background: #FFE5E5;
    color: var(--primary);
}

.card.color-2 .age-range {
    background: #E5F6F4;
    color: var(--secondary);
}

.card.color-3 .age-range {
    background: #FFF4E5;
    color: var(--tertiary);
}

.card.color-4 .age-range {
    background: #E5EFFF;
    color: #3f51b5;
}

/* Timeline */
.timeline {
    max-width: 600px;
    margin: 0 auto;
    border-left: 2px solid #EBEBEB;
    padding-left: 2rem;
    position: relative;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: -2px;
    width: 2px;
    background-color: var(--primary);
    height: 0%;
    z-index: 1;
    transition: height 0.2s ease-out;
}

.timeline-item {
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 5px;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50%;
}

.timeline-time {
    font-weight: 700;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Testimonials */
.testimonials {
    background-color: var(--light);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.testimonial-box {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid #EBEBEB;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
}

.testimonial-box::before {
    content: '\201C';
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.15;
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
    line-height: 1;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--gray);
    position: relative;
    z-index: 1;
}

.author {
    font-weight: 800;
    color: var(--quaternary);
}

/* Contact Floating Icons */
@keyframes floatBob {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.floating-icon {
    position: absolute;
    color: var(--primary);
    opacity: 0.15;
    z-index: 0;
    animation: floatBob 6s ease-in-out infinite;
}

.icon-1 {
    top: 10%;
    left: 10%;
    font-size: 6rem;
    animation-delay: 0s;
}

.icon-2 {
    bottom: 10%;
    right: 10%;
    font-size: 8rem;
    animation-delay: 2s;
    color: var(--secondary);
}

.icon-3 {
    top: 20%;
    right: 15%;
    font-size: 5rem;
    animation-delay: 4s;
    color: var(--tertiary);
}

/* Contact */
.contact {
    background: var(--white);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto;
    background: transparent;
    border-radius: 20px;
    border: none;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

@keyframes meshGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.contact-info {
    padding: 2rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary), #ff7e82, var(--tertiary));
    background-size: 300% 300%;
    animation: meshGradient 12s ease infinite;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.contact-info::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -20px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.contact-info h2,
.contact-info p,
.info-item {
    position: relative;
    z-index: 2;
}

.contact-info h2 {
    color: var(--white);
    text-align: left;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
}

.info-item i {
    font-size: 1.6rem;
    background: rgba(255, 255, 255, 0.25);
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

.info-item:hover i {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.35);
}

.info-item h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.info-item p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.contact-form-container {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

input,
textarea,
select {
    width: 100%;
    padding: 0.5rem 0.8rem;
    border: 1px solid #D1D1D1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--white);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer */
footer {
    background-color: var(--quaternary);
    color: var(--white);
    padding: 5rem 0 2rem;
    border-top: 4px solid var(--primary);
}

.footer-brand h2 {
    color: var(--white);
    text-align: left;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand i {
    color: var(--primary);
}

.footer-brand p {
    color: #B0B0B0;
    max-width: 400px;
}

.footer-links h3,
.footer-social h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #B0B0B0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #B0B0B0;
    margin-top: 3rem;
}

/* Footer Additions */
.footer-contact ul {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    color: #B0B0B0;
}

.footer-contact a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-contact i {
    color: var(--primary);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.newsletter-form {
    display: flex;
    margin-top: 0.5rem;
    gap: 0.5rem;
    position: relative;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 6px;
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: inherit;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-form button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: var(--tertiary);
    color: var(--dark);
    transform: translateY(-2px);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Safety Section */
.safety-section {
    background: linear-gradient(135deg, var(--white), #f9f9fc);
    padding: 6rem 5%;
}

.safety-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.safety-badge {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border-bottom: 4px solid var(--secondary);
    transition: transform 0.3s ease;
}

.safety-badge:hover {
    transform: translateY(-5px);
}

.safety-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.safety-badge h4 {
    color: var(--quaternary);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.safety-badge p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Announcement Bar */
.announcement-bar {
    position: relative;
    z-index: 1001;
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 10px 15px;
    font-size: 0.95rem;
    font-weight: 600;
}

.announcement-bar a {
    color: var(--white);
    text-decoration: underline;
    margin-left: 10px;
    font-weight: 700;
}

.announcement-bar a:hover {
    color: var(--dark);
}

/* Header Controls */
.header-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #ddd;
    padding: 6px 14px;
    border-radius: 20px;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.lang-toggle:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    background: none;
    border: none;
    color: var(--dark);
    font-size: 1.4rem;
    cursor: pointer;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode-toggle:hover {
    color: var(--primary);
}

/* Dark Mode Theme Variables */
body.dark-mode {
    --light: #000000;
    --white: #000000;
    --dark: #ffffff;
    --gray: #b0b0b0;
    --quaternary: #000000;
    color: var(--dark);
    background-color: #000000;
}

/* Dark mode specific overrides */
body.dark-mode .why-us {
    background: #000000;
}

body.dark-mode .feature-box {
    background: #0a0a0a;
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .feature-box h3 {
    color: var(--white);
}

body.dark-mode header {
    background: rgba(0, 0, 0, 0.98);
}

body.dark-mode .box-color-1,
body.dark-mode .box-color-2,
body.dark-mode .box-color-3,
body.dark-mode .box-color-4 {
    background-color: #000000;
    color: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* Keep a subtle border so they don't disappear */
}

body.dark-mode .icon-wrapper {
    background-color: #000000;
}

body.dark-mode .dark-mode-toggle {
    color: #f1c40f;
    /* Make the moon/sun yellow in dark mode */
}

body.dark-mode .nav-links a {
    color: var(--dark);
}

body.dark-mode .nav-links a:hover {
    color: var(--primary);
}

body.dark-mode .hamburger span {
    background-color: var(--dark);
}

body.dark-mode .faq-section {
    background: #0a0a0a;
}

body.dark-mode .faq-item {
    background: var(--card-bg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

body.dark-mode .faq-question {
    color: var(--white);
}

body.dark-mode .faq-question i {
    background: rgba(255, 255, 255, 0.1);
}

/* Cookie Banner & Backgrounds */
body.dark-mode .contact {
    background: #000000;
}

body.dark-mode .contact-form-container {
    background: rgba(17, 24, 39, 0.85);
}

body.dark-mode .certificates-section {
    background: #050505;
}

body.dark-mode .about {
    background: linear-gradient(rgba(17, 24, 39, 0.95), rgba(17, 24, 39, 0.95)), url('videoveimage/f-11.jpeg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

body.dark-mode .about-text {
    background: rgba(17, 24, 39, 0.85);
}

body.dark-mode .meet-caregiver {
    background: #0a0a0a;
}

body.dark-mode .detail-box {
    background: var(--card-bg);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .detail-box h4 {
    color: var(--white);
}

body.dark-mode .contact-form-container {
    background: var(--card-bg);
}

.cookie-banner {
    position: fixed;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    padding: 1.2rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    z-index: 10000;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner.show {
    bottom: 85px;
}

@media (min-width: 768px) {
    .cookie-banner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        bottom: -200px;
    }

    .cookie-banner.show {
        bottom: 95px;
    }
}

.cookie-banner p {
    margin: 0;
    font-size: 0.95rem;
}

.cookie-banner a {
    color: var(--primary);
    text-decoration: underline;
}

/* Responsive Overrides */
@media (max-width: 992px) {

    .about-grid,
    .contact-wrapper,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 1.5rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .container {
        padding: 0 2rem;
    }

    section {
        padding: 3rem 0;
    }

    .hero {
        min-height: auto;
        padding: calc(3rem + 115px) 1.5rem 4rem;
    }

    .hero-content {
        padding: 0;
        background: transparent;
        box-shadow: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .nav-links {
        display: none !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 2rem;
        border-top: 1px solid #EBEBEB;
    }

    .nav-links.active {
        display: flex !important;
    }

    .hamburger {
        display: flex;
    }

    .contact-info,
    .contact-form-container {
        padding: 1.2rem !important;
    }

    .contact-info h2 {
        font-size: 2rem !important;
        margin-bottom: 0.5rem !important;
    }

    .contact-info p {
        font-size: 0.95rem !important;
        margin-bottom: 1rem !important;
    }

    .info-item {
        margin-bottom: 0.5rem !important;
        gap: 0.8rem !important;
    }

    .info-item i {
        width: 35px !important;
        height: 35px !important;
        font-size: 1.1rem !important;
    }

    .info-item h4 {
        font-size: 1.1rem !important;
    }

    .info-item p {
        font-size: 0.85rem !important;
    }

    .floating-group {
        margin-bottom: 0.5rem !important;
    }

    .contact-form-container input,
    .contact-form-container textarea,
    .contact-form-container select {
        padding: 0.5rem 0.6rem !important;
        font-size: 0.9rem !important;
    }

    .form-row {
        gap: 0.5rem !important;
    }

    .feature-box,
    .card,
    .testimonial-box {
        padding: 1.5rem;
    }
}

/* Enhanced Form UI */
.form-glass {
    /* Kept for other form usages if needed */
}

.floating-group {
    position: relative;
    margin-bottom: 0.8rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.half-width {
    flex: 1;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 1rem;
    transition: color 0.3s;
    z-index: 2;
}

.textarea-icon {
    top: 1.5rem;
}

.floating-input {
    width: 100%;
    padding: 1.5rem 1rem 0.5rem 2.8rem;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--dark);
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

select.floating-input {
    appearance: none;
    -webkit-appearance: none;
}

.floating-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 90, 95, 0.1);
    background: var(--white);
    outline: none;
}

.floating-input:focus~.input-icon {
    color: var(--primary);
}

.floating-label {
    position: absolute;
    left: 2.8rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.floating-input:focus~.floating-label,
.floating-input:not(:placeholder-shown)~.floating-label,
select.floating-input:valid~.floating-label {
    top: 0.6rem;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 700;
}

textarea.floating-input {
    min-height: 120px;
    padding-top: 2rem;
    resize: vertical;
}

textarea.floating-input~.floating-label {
    top: 1.5rem;
}

textarea.floating-input:focus~.floating-label,
textarea.floating-input:not(:placeholder-shown)~.floating-label {
    top: 0.8rem;
}

.btn-animated {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
    transition: all 0.4s ease;
}

.btn-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-animated:hover::before {
    left: 100%;
}

.plane-icon {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.btn-animated.sending .plane-icon {
    transform: translate(30px, -30px) scale(0);
    opacity: 0;
}

.btn-animated.sending {
    background-color: var(--secondary);
    border-color: var(--secondary);
    pointer-events: none;
}

/* FAQ Section */
.faq-section {
    background-color: var(--quaternary);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.faq-section h2,
.faq-section .section-subtitle,
.faq-section .section-tag {
    color: var(--white);
}

/* Playful background blobs */
.faq-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0) 70%);
    z-index: 0;
}

.faq-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 90, 95, 0.1) 0%, rgba(255, 90, 95, 0) 70%);
    z-index: 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-item {
    background: var(--white);
    border-radius: 20px;
    margin-bottom: 1.2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    border: 3px solid transparent;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s, border-color 0.3s;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.faq-item:nth-child(odd):hover,
.faq-item:nth-child(odd):focus-within {
    border-color: var(--primary);
}

.faq-item:nth-child(even):hover,
.faq-item:nth-child(even):focus-within {
    border-color: var(--tertiary);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.8rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--quaternary);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover,
.faq-question.active {
    color: var(--primary);
}

.faq-item:nth-child(even) .faq-question:hover,
.faq-item:nth-child(even) .faq-question.active {
    color: #d49a00;
}

.faq-question i {
    background: var(--light);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s, color 0.3s;
    color: var(--gray);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-question.active i {
    transform: rotate(180deg) scale(1.1);
    background: var(--primary);
    color: var(--white);
}

.faq-item:nth-child(even) .faq-question.active i {
    background: var(--tertiary);
    color: var(--dark);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 1.8rem;
}

.faq-answer p {
    color: var(--gray);
    padding-bottom: 1.8rem;
    line-height: 1.6;
}

/* Sticky Bottom Bar */
.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid #EBEBEB;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 0.5rem;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.08);
}

.sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.8rem 0.2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.sticky-btn:active {
    transform: scale(0.95);
}

.btn-call {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-whatsapp {
    background: #e8f9ef;
    border: 1px solid #25d366;
    color: #1daa54;
}

.btn-book {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: var(--white);
}

body.dark-mode .sticky-bottom-bar {
    background: rgba(20, 20, 20, 0.95);
    border-top: 1px solid #333;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

body.dark-mode .btn-whatsapp {
    background: rgba(37, 211, 102, 0.1);
}

body.dark-mode .btn-book {
    color: var(--white);
}

@media (min-width: 768px) {
    .sticky-bottom-bar {
        padding: 1rem;
        gap: 1.5rem;
    }

    .sticky-btn {
        max-width: 200px;
    }
}

/* =====================================================
   CERTIFICATES & ACCREDITATIONS SECTION
===================================================== */
.certificates-section {
    background: var(--light);
    padding: 6rem 0;
    position: relative;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 90, 95, 0.1);
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.2rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.certificate-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    cursor: pointer;
    position: relative;
    outline: none;
}

.certificate-card:hover,
.certificate-card:focus-visible {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 90, 95, 0.35);
}

.certificate-card:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

/* Card Image Preview Box */
.certificate-preview-box {
    position: relative;
    background: #edf1f7;
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid #ebeff5;
}

.certificate-thumb {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.06));
}

.certificate-card:hover .certificate-thumb {
    transform: scale(1.05);
}

/* Hover overlay on card */
.cert-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certificate-card:hover .cert-overlay,
.certificate-card:focus-visible .cert-overlay {
    opacity: 1;
}

.overlay-btn {
    background: var(--white);
    color: var(--dark);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.certificate-card:hover .overlay-btn,
.certificate-card:focus-visible .overlay-btn {
    transform: translateY(0);
}

/* Pills & Badges */
.cert-pill {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    letter-spacing: 0.3px;
    z-index: 2;
}

.pill-gold {
    background: #FFC107;
    color: #593D00;
}

.pill-blue {
    background: #087E8B;
    color: #FFFFFF;
}

.pill-coral {
    background: #FF5A5F;
    color: #FFFFFF;
}

.pill-green {
    background: #25D366;
    color: #064E24;
}

.pill-navy {
    background: #1E293B;
    color: #FFFFFF;
}

.pill-teal {
    background: #0D9488;
    color: #FFFFFF;
}

.pill-purple {
    background: #7C3AED;
    color: #FFFFFF;
}

/* Card Info Body */
.certificate-content {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cert-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--gray);
    margin-bottom: 0.6rem;
}

.cert-meta-row i {
    color: var(--primary);
}

.cert-status {
    color: #10B981;
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(16, 185, 129, 0.1);
    padding: 3px 8px;
    border-radius: 20px;
}

.cert-status i {
    color: #10B981;
}

.cert-card-title {
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--quaternary);
    line-height: 1.35;
    margin-bottom: 0.4rem;
}

.cert-holder {
    font-size: 0.88rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.cert-holder strong {
    color: var(--dark);
}

.cert-purpose-box {
    background: rgba(8, 126, 139, 0.05);
    border-left: 3.5px solid var(--secondary);
    padding: 0.85rem 1rem;
    border-radius: 0 12px 12px 0;
    margin-bottom: 1.4rem;
    flex-grow: 1;
}

.purpose-title {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--secondary);
    margin-bottom: 0.3rem;
}

.purpose-title i {
    margin-right: 4px;
}

.cert-purpose-box p {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--dark);
    margin: 0;
}

.btn-inspect-cert {
    width: 100%;
    padding: 0.85rem 1.2rem;
    background: #F7F7F9;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    color: var(--quaternary);
    font-weight: 700;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.certificate-card:hover .btn-inspect-cert,
.certificate-card:focus-visible .btn-inspect-cert {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-inspect-cert i {
    transition: transform 0.3s ease;
}

.certificate-card:hover .btn-inspect-cert i {
    transform: translate(2px, -2px);
}

/* =====================================================
   CERTIFICATES CTA & PORTFOLIO TEASER
===================================================== */
.certificates-cta-wrap {
    margin-top: 3.5rem;
    display: flex;
    justify-content: center;
}

.certs-cta-card {
    background: #ffffff;
    border: 2px dashed rgba(255, 90, 95, 0.35);
    border-radius: 24px;
    padding: 2.8rem 2.2rem;
    max-width: 820px;
    width: 100%;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.certs-cta-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 20px 45px rgba(255, 90, 95, 0.12);
}

.certs-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 90, 95, 0.1);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 1.2rem;
}

.certs-cta-card h3 {
    font-size: 1.65rem;
    color: var(--secondary);
    margin-bottom: 0.8rem;
    font-family: var(--font-heading);
}

.certs-cta-card p {
    color: var(--gray);
    font-size: 1.02rem;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto 1.8rem;
}

.btn-view-all-certs {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1.05rem 2.4rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 50px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(255, 90, 95, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-view-all-certs:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 90, 95, 0.45);
    color: var(--white);
}

/* =====================================================
   CERTIFICATE.HTML DEDICATED PAGE STYLES
===================================================== */
.cert-page-hero {
    padding: 8.5rem 5% 4rem;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFFFFF 50%, #F0FBFD 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cert-page-hero h1 {
    font-size: 2.8rem;
    color: var(--quaternary);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.cert-page-hero .cert-hero-subtitle {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    color: var(--gray);
    font-size: 1.12rem;
    line-height: 1.65;
}

.cert-trust-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    max-width: 1050px;
    margin: 0 auto;
    text-align: left;
}

.trust-pillar-card {
    background: var(--white);
    padding: 1.3rem 1.4rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.trust-pillar-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.trust-pillar-card h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 0.2rem;
}

.trust-pillar-card p {
    font-size: 0.82rem;
    color: var(--gray);
    line-height: 1.4;
    margin: 0;
}

/* Category Filter Bar */
.cert-filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 2.5rem 0 1rem;
}

.cert-filter-btn {
    background: var(--white);
    border: 1.5px solid #E2E8F0;
    color: var(--quaternary);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.cert-filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.cert-filter-btn.active {
    background: var(--quaternary);
    border-color: var(--quaternary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(10, 15, 28, 0.2);
}

.cert-hidden {
    display: none !important;
}

/* Trust Guarantee Banner at bottom of certificate.html */
.cert-guarantee-section {
    padding: 5rem 5%;
    background: #F7F7F9;
}

.cert-guarantee-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.guarantee-icon-box {
    width: 90px;
    height: 90px;
    background: rgba(46, 196, 182, 0.12);
    color: var(--tertiary);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    flex-shrink: 0;
}

.guarantee-content h3 {
    font-size: 1.6rem;
    color: var(--quaternary);
    margin-bottom: 0.6rem;
}

.guarantee-content p {
    color: var(--gray);
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 1.4rem;
}

.guarantee-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Dark Mode Additions */
body.dark-mode .certs-cta-card {
    background: var(--card-bg);
    border-color: rgba(255, 255, 255, 0.15);
}

body.dark-mode .certs-cta-card h3 {
    color: var(--light);
}

body.dark-mode .certs-cta-card p {
    color: #a0aec0;
}

body.dark-mode .cert-page-hero {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
}

body.dark-mode .cert-page-hero h1 {
    color: #ffffff;
}

body.dark-mode .trust-pillar-card {
    background: var(--card-bg);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .trust-pillar-card h4 {
    color: #ffffff;
}

body.dark-mode .trust-pillar-card p {
    color: #a0aec0;
}

body.dark-mode .cert-filter-btn {
    background: var(--card-bg);
    border-color: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}

body.dark-mode .cert-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

body.dark-mode .cert-guarantee-section {
    background: #0f172a;
}

body.dark-mode .cert-guarantee-card {
    background: var(--card-bg);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .guarantee-content h3 {
    color: #ffffff;
}

body.dark-mode .guarantee-content p {
    color: #a0aec0;
}

@media (max-width: 768px) {
    .cert-page-hero {
        padding: 7rem 5% 3rem;
    }

    .cert-page-hero h1 {
        font-size: 2.1rem;
    }

    .cert-guarantee-card {
        flex-direction: column;
        text-align: center;
        padding: 2.2rem 1.5rem;
    }

    .guarantee-actions {
        justify-content: center;
    }

    .trust-pillar-card {
        text-align: left;
    }
}

/* /* =====================================================
   CLEAN STANDALONE CERTIFICATE LIGHTBOX MODAL
===================================================== */
body.cert-modal-open {
    overflow: hidden !important;
}

.cert-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cert-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cert-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 28, 0.90);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

.cert-modal-dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 820px;
    max-height: 92vh;
    background: #0F172A;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cert-modal.active .cert-modal-dialog {
    transform: scale(1);
}

.cert-modal-topbar {
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    background: rgba(15, 23, 42, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
}

.modal-topbar-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    overflow: hidden;
}

.modal-topbar-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #F8FAFC;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.modal-topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.modal-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.modal-action-btn:hover {
    background: var(--secondary);
    color: #FFFFFF;
}

.modal-close-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 90, 95, 0.15);
    border: 1px solid rgba(255, 90, 95, 0.3);
    color: #FF5A5F;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
}

.cert-modal-viewer-stage {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #080C14;
    padding: 16px;
    overflow: auto;
}

.cert-image-holder {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
}

.modal-cert-img {
    max-width: 100%;
    max-height: calc(92vh - 125px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #FFFFFF;
}

.cert-modal-caption-bar {
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #94A3B8;
    font-size: 0.88rem;
}

.caption-info {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.caption-holder strong {
    color: #F8FAFC;
}

.caption-divider {
    color: rgba(255, 255, 255, 0.2);
}

.btn-close-modal-text {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-close-modal-text:hover {
    background: var(--primary);
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .cert-modal {
        padding: 8px;
    }
    .cert-modal-dialog {
        max-height: 96dvh;
        border-radius: 14px;
    }
    .modal-cert-img {
        max-height: calc(96dvh - 120px);
    }
    .caption-issuer {
        display: none;
    }
    .caption-divider {
        display: none;
    }
}

/* Day in the Life Timeline Styles */
.day-in-life {
    background-color: var(--white);
}

.ditl-timeline {
    max-width: 700px;
    margin: 3rem auto 0;
    position: relative;
    padding-left: 3rem;
}

.ditl-progress-bar {
    position: absolute;
    top: 0;
    left: 20px;
    width: 4px;
    height: 0%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 4px;
    z-index: 1;
    transition: height 0.3s ease-out;
}

.ditl-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    width: 4px;
    height: 100%;
    background-color: #f0f0f0;
    border-radius: 4px;
    z-index: 0;
}

.ditl-item {
    position: relative;
    margin-bottom: 3.5rem;
    z-index: 2;
}

.ditl-item:last-child {
    margin-bottom: 0;
}

.ditl-icon {
    position: absolute;
    left: -3rem;
    /* Align perfectly over the line */
    top: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateX(-1px);
    /* micro-adjustment */
    border: 4px solid var(--white);
}

.ditl-content {
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid #EBEBEB;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ditl-item:hover .ditl-content {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.ditl-time {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    display: inline-block;
    background: rgba(255, 90, 95, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.ditl-content h3 {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.ditl-content p {
    color: var(--gray);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .ditl-timeline {
        padding-left: 2.5rem;
    }

    .ditl-progress-bar,
    .ditl-timeline::before {
        left: 10px;
    }

    .ditl-icon {
        left: -2.5rem;
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .ditl-content {
        padding: 1.5rem;
    }
}

/* Meet Caregiver Section */
.meet-caregiver {
    background: var(--white);
    padding: 6rem 0;
}

.caregiver-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

@media (min-width: 992px) {
    .caregiver-layout {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.caregiver-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-box {
    display: flex;
    gap: 1.5rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-box:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.detail-icon {
    font-size: 1.8rem;
    color: var(--primary);
    background: rgba(255, 90, 95, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.detail-box:hover .detail-icon {
    transform: scale(1.1) rotate(5deg);
}

.detail-box h4 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.detail-box p {
    color: var(--gray);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.profile-card-container {
    perspective: 1000px;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.profile-card {
    background: transparent;
    width: 100%;
    height: 550px;
    position: relative;
    border-radius: 16px;
}

.profile-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
}

.profile-card.is-flipped .profile-card-inner {
    transform: rotateY(180deg);
}

.profile-card-front,
.profile-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    /* Safari */
    backface-visibility: hidden;
    border-radius: 16px;
    background: var(--white);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.profile-card-front {
    z-index: 2;
}

.profile-card-back {
    transform: rotateY(180deg);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--quaternary);
    color: var(--white);
    text-align: left;
}

.profile-image-wrap {
    position: relative;
    height: 55%;
    width: 100%;
}

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

.profile-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(255, 90, 95, 0.3);
    white-space: nowrap;
}

.profile-front-content {
    padding: 2.5rem 1.5rem 1.5rem;
    height: 45%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.profile-front-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.profile-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.profile-stats .stat {
    font-size: 0.85rem;
    color: var(--gray);
    background: var(--light);
    padding: 4px 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.profile-stats i {
    color: var(--secondary);
}

.profile-back-content h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.profile-back-content p {
    color: #EBEBEB;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.profile-qualifications {
    list-style: none;
    margin-bottom: 2rem;
}

.profile-qualifications li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.profile-qualifications i {
    color: var(--tertiary);
}

.profile-back-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.profile-back-actions .btn-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.profile-back-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-flip,
.btn-flip-back {
    cursor: pointer;
}

/* Stats Banner */
.stats-banner {
    position: relative;
    background-image: url('videoveimage/f-12.jpeg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--white);
    padding: 6rem 0;
    z-index: 1;
}

.stats-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 55, 72, 0.75);
    /* Deep slate overlay */
    z-index: -1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-item h3 {
    font-size: 3.5rem;
    display: inline-block;
    color: var(--primary);
    margin-bottom: 0.2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
}

.stat-suffix {
    font-size: 2.5rem;
    color: var(--tertiary);
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

.stat-item p {
    color: #EBEBEB;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 768px) {
    .stat-item h3 {
        font-size: 3rem;
    }

    .stat-suffix {
        font-size: 2rem;
    }

    .stats-banner {
        padding: 4rem 0;
    }
}

/* Gallery Preview Section */
.gallery-preview {
    padding: 5rem 0;
    background: var(--light);
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.preview-item {
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    height: 350px;
}

.preview-item img,
.preview-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Instagram Feed Section */
.instagram-feed {
    padding: 4rem 0;
    background-color: #fcfcfc;
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 2rem;
}

.insta-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1/1;
    display: block;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.insta-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 90, 95, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insta-item:hover img {
    transform: scale(1.1);
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}

@media (max-width: 768px) {
    .insta-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .insta-item.desktop-only {
        display: none;
    }
}

@media (max-width: 480px) {
    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #20b858;
    color: white;
}

/* Hide floating WhatsApp on mobile since there is a sticky bottom bar */
@media (max-width: 768px) {
    .floating-whatsapp {
        display: none;
    }
}

/* =====================================================
   Playful Floating Balloons Animation (3-4 balloons)
   ===================================================== */
.balloons-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    overflow: hidden;
    z-index: 998; /* just below header / interactive overlays */
}

.balloon-item {
    position: absolute;
    bottom: -160px;
    width: 60px;
    height: 75px;
    pointer-events: auto; /* allows fun hover/click effect without blocking text underneath */
    cursor: pointer;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.12));
    animation-name: balloonFloatUp;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.balloon-item svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Gentle sway wrapper */
.balloon-inner {
    width: 100%;
    height: 100%;
    animation: balloonSway 3.6s ease-in-out infinite alternate;
    transform-origin: bottom center;
}

/* Hover & pop / nudge interaction */
.balloon-item:hover {
    transform: scale(1.15) rotate(4deg);
}

.balloon-item.popped {
    animation: balloonPop 0.4s ease-out forwards !important;
    pointer-events: none;
}

/* Balloon 1: Vibrant Coral (FND Brand Primary) */
.balloon-1 {
    left: 6%;
    width: 58px;
    height: 72px;
    animation-duration: 22s;
    animation-delay: 0s;
}
.balloon-1 .balloon-inner { animation-duration: 3.2s; }

/* Balloon 2: Cheerful Sunshine Yellow */
.balloon-2 {
    left: 19%;
    width: 52px;
    height: 65px;
    animation-duration: 25s;
    animation-delay: 8s;
}
.balloon-2 .balloon-inner { animation-duration: 4.1s; animation-delay: 0.8s; }

/* Balloon 3: Fresh Teal */
.balloon-3 {
    left: 33%;
    width: 64px;
    height: 78px;
    animation-duration: 21s;
    animation-delay: 14s;
}
.balloon-3 .balloon-inner { animation-duration: 3.5s; animation-delay: 1.5s; }

/* Balloon 4: Lavender Purple */
.balloon-4 {
    left: 47%;
    width: 50px;
    height: 63px;
    animation-duration: 27s;
    animation-delay: 4s;
}
.balloon-4 .balloon-inner { animation-duration: 3.8s; animation-delay: 0.3s; }

/* Balloon 5: Sky Blue */
.balloon-5 {
    left: 60%;
    width: 62px;
    height: 76px;
    animation-duration: 23s;
    animation-delay: 11s;
}
.balloon-5 .balloon-inner { animation-duration: 4.3s; animation-delay: 1.2s; }

/* Balloon 6: Soft Peach / Tangerine */
.balloon-6 {
    left: 73%;
    width: 54px;
    height: 67px;
    animation-duration: 26s;
    animation-delay: 2s;
}
.balloon-6 .balloon-inner { animation-duration: 3.6s; animation-delay: 2.1s; }

/* Balloon 7: Mint Lime */
.balloon-7 {
    left: 85%;
    width: 66px;
    height: 82px;
    animation-duration: 24s;
    animation-delay: 17s;
}
.balloon-7 .balloon-inner { animation-duration: 3.9s; animation-delay: 0.6s; }

/* Balloon 8: Bubblegum Pink */
.balloon-8 {
    left: 93%;
    width: 48px;
    height: 60px;
    animation-duration: 20s;
    animation-delay: 9s;
}
.balloon-8 .balloon-inner { animation-duration: 3.3s; animation-delay: 1.9s; }

@keyframes balloonFloatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.95;
    }
    85% {
        opacity: 0.95;
    }
    100% {
        transform: translateY(calc(-100vh - 220px)) rotate(12deg);
        opacity: 0;
    }
}

@keyframes balloonSway {
    0% {
        transform: rotate(-7deg) translateX(-12px);
    }
    100% {
        transform: rotate(7deg) translateX(12px);
    }
}

@keyframes balloonPop {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.4);
        opacity: 0.8;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}

/* Mobile screen adjustments: Keep all 8 balloons active, scale nicely, and increase frequency so they float by regularly */
@media (max-width: 600px) {
    .balloon-item {
        /* Faster ascent on mobile so new balloons constantly appear */
        animation-duration: 13s !important;
    }
    /* Distribute horizontally across mobile screen with staggered delays (every 1.5 - 2s a new balloon appears) */
    .balloon-1 { left: 4%; width: 42px; height: 54px; animation-delay: 0s !important; }
    .balloon-2 { left: 18%; width: 38px; height: 49px; animation-delay: 1.8s !important; }
    .balloon-3 { left: 32%; width: 44px; height: 56px; animation-delay: 3.5s !important; }
    .balloon-4 { left: 46%; width: 39px; height: 50px; animation-delay: 5.2s !important; }
    .balloon-5 { left: 60%; width: 43px; height: 55px; animation-delay: 7s !important; }
    .balloon-6 { left: 74%; width: 40px; height: 52px; animation-delay: 8.8s !important; }
    .balloon-7 { left: 86%; width: 44px; height: 56px; animation-delay: 10.5s !important; }
    .balloon-8 { left: 92%; width: 38px; height: 49px; animation-delay: 12.2s !important; }
}

