.bg-primary-light {
    background-color: #e8f0ff;
}
.bg-tertiary-light {
    background-color: #b2fef6;
}
.bg-secondary-light {
    background-color: #d9e6da;
}

/* ================= HERO ================= */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.85),
        rgba(255, 255, 255, 0.4),
        transparent
    );
    backdrop-filter: blur(0px);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 550px;
    animation: fadeUp 1s ease forwards;
}

.badge {
    background: #c9f3ec;
    color: #008c7a;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
}

.hero-text h1 {
    font-size: 48px;
    margin: 20px 0;
}

.hero-text h1 span {
    color: #0077b6;
}

.hero-text p {
    margin-bottom: 25px;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.primary-btn {
    background: #0a1f44;
    color: #fff;
    padding: 14px 24px;
    border-radius: 30px;
}

.secondary-btn {
    background: #f1f1f1;
    color: black;
    padding: 14px 24px;
    border-radius: 30px;
}

.hero-btn-icon {
    vertical-align: middle;
}

/* ================= STATS ================= */
.stats {
    margin-top: -70px;
    position: relative;
    z-index: 5;
}

.stats-wrapper {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.stat-card {
    flex: 1;
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    animation: fadeUp 1s ease forwards;
}

.stat-card:hover {
    transform: translateY(-8px);
}

.stat-card .icon {
    font-size: 30px;
    background: #eef4ff;
    padding: 15px;
    border-radius: 12px;
}

.stat-card h3 {
    font-size: 22px;
}

/* ================= ABOUT ================= */
.home-about {
    padding: 3rem 1rem;
    overflow: hidden;
}

.home-about-container,
.home-services-container,
.home-why-us-container,
.home-timeline-container,
.home-testimonials-container,
.home-emergency-container {
    width: 100%;
    padding: 0;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .home-about-container,
    .home-services-container,
    .home-why-us-container,
    .home-timeline-container,
    .home-testimonials-container,
    .home-emergency-container {
        width: 90%;
        padding: 0;
    }
}

@media (min-width: 1600px) {
    .home-about-container,
    .home-services-container,
    .home-why-us-container,
    .home-timeline-container,
    .home-testimonials-container,
    .home-emergency-container {
        max-width: 1600px;
        width: 85%;
    }
}

@media (min-width: 2000px) {
    .home-about-container,
    .home-services-container,
    .home-why-us-container,
    .home-timeline-container,
    .home-testimonials-container,
    .home-emergency-container {
        max-width: 2000px;
        width: 80%;
    }
}

.about-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.about-image-col {
    position: relative;
    width: 100%;
}

.about-quote {
    font-family: "Manrope", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    font-style: italic;
    max-width: 16rem;
    line-height: 1.4;
}

.about-img-wrapper {
    position: relative;
    z-index: 10;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}

.about-image-col:hover .about-img-wrapper {
    transform: scale(1.02) translateY(-10px);
}

.about-img {
    position: relative;
    z-index: 10;
    border-radius: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

.about-quote-card {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    background-color: #136964;
    padding: 1.5rem 2rem;
    border-radius: 2.5rem;
    color: #ffffff;
    z-index: 20;
    box-shadow: 0 10px 25px rgba(19, 105, 100, 0.3);
    max-width: 300px;
}

@media (max-width: 768px) {
    .about-quote-card {
        position: relative;
        bottom: 0;
        right: 0;
        margin: 2rem auto 0;
        max-width: 100%;
    }
}

.about-blob {
    position: absolute;
    top: -2.5rem;
    left: -2.5rem;
    width: 20rem;
    height: 20rem;
    background: radial-gradient(circle, #e8f0ff 0%, rgba(232, 240, 255, 0) 70%);
    border-radius: 9999px;
    filter: blur(2rem);
    opacity: 0.6;
    animation: blobFloat 10s ease-in-out infinite alternate;
}

@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 20px) scale(1.1); }
}

.about-text-col {
    width: 100%;
}

.about-title {
    font-family: "Manrope", sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #191c1e;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.highlight-tertiary {
    color: #136964;
}

.about-desc {
    font-size: 1.125rem;
    color: #43474a;
    line-height: 1.625;
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.about-feature-item:hover {
    transform: translateX(10px);
    background: #f8fafc;
    border-color: rgba(0, 97, 164, 0.1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-icon-circle {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(0, 97, 164, 0.1);
    border-radius: 1rem;
    color: #0061a4;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.about-feature-item:hover .feature-icon-circle {
    background-color: #0061a4;
    color: #ffffff;
    transform: rotate(10deg);
}

.feature-heading {
    font-weight: 800;
    color: #191c1e;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.feature-subtext {
    color: #43474a;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Services */
.home-services {
    padding: 3rem 1rem;
    background-color: rgba(242, 244, 246, 0.5);
}



.services-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
    margin-bottom: 4rem;
}

.services-title {
    font-family: "Manrope", sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.services-desc {
    color: #43474a;
    font-size: 1.125rem;
}

.services-bento-grid {
    display: grid;
    gap: 1.5rem;
}

.service-bento-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.service-card-large-vertical {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;
}

.service-card-small-yoga {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: rgba(178, 254, 246, 0.3);
}

.service-card-small-counseling {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: rgba(217, 230, 218, 0.3);
}

.service-icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.circle-box {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
}

.service-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.service-subtext {
    color: #43474a;
}

.text-tertiary-dark {
    color: #297872;
}
.text-secondary-dark {
    color: #5b675e;
}

.service-image {
    height: 8rem;
    width: 100%;
    object-fit: cover;
    border-radius: 1rem;
    margin-top: 2rem;
}

/* Bento Layout Adjustments */
.service-card-large-horizontal {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .service-card-large-horizontal {
        flex-direction: row;
        align-items: center;
    }
    
    .inverse-row {
        flex-direction: row-reverse !important;
    }

    .text-right-md {
        text-align: right;
    }

    .float-right-md {
        float: right;
    }

    .clear-both {
        clear: both;
    }
}

.service-content-half {
    width: 100%;
}

@media (min-width: 768px) {
    .service-content-half {
        width: 50%;
    }
}

.bg-error-light {
    background-color: #ffdad6;
}
.text-error-color {
    color: #93000a;
}

.service-illustration {
    background-color: #f7f9fb;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

.illustration-icon {
    font-size: 6rem;
    color: rgba(115, 120, 123, 0.3);
}

/* Why Choose Us */
.home-why-us {
    padding: 4rem 1.5rem;
}



.why-us-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
    margin-bottom: 4rem;
}

.why-us-title {
    font-family: "Manrope", sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.why-us-desc {
    color: #43474a;
    font-size: 1.125rem;
}

.why-us-subtitle {
    color: #f28c1b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
}

.why-us-title span {
    color: #f28c1b;
}

.why-us-grid {
    display: grid;
    gap: 2rem;
}

.why-us-card {
    padding: 2rem;
    border-radius: 2rem;
    background-color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.why-us-card:hover {
    transform: translateY(-4px);
}

.why-us-icon {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.why-us-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.why-us-subtext {
    font-size: 0.875rem;
    color: #43474a;
}

/* Timeline */
.home-timeline {
    padding: 6rem 1.5rem;
    background-color: #ffffff;
}

.timeline-banner {
    background-image: linear-gradient(rgba(0, 97, 164, 0.9), rgba(0, 97, 164, 0.92)), url('../../images/transformation-path-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    border-radius: 4rem;
    padding: 6rem 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 97, 164, 0.15);
}

@media (max-width: 768px) {
    .timeline-banner {
        padding: 4rem 1.5rem;
        border-radius: 2.5rem;
        background-attachment: scroll;
    }
}

.timeline-blob {
    display: none;
}

.timeline-content {
    position: relative;
    z-index: 10;
}

.timeline-title {
    font-family: "Manrope", sans-serif;
    font-size: 2.5rem; /* Standardized as per request for this section */
    font-weight: 800;
    margin-bottom: 5.5rem;
    text-align: center;
}

@media (max-width: 768px) {
    .timeline-title {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }
}

.timeline-grid {
    display: grid;
    gap: 3rem;
    position: relative;
}

.timeline-connector {
    display: none;
    position: absolute;
    top: 2.5rem;
    left: 0;
    width: 100%;
    height: 0.125rem;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.timeline-step:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
}

.step-circle {
    width: 5rem;
    height: 5rem;
    border-radius: 9999px;
    background-color: #f28c1b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 15px 30px rgba(242, 140, 27, 0.3);
}

.step-heading {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.step-subtext {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.625;
}

.step-meta {
    background: rgba(255, 255, 255, 0.15);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.step-sup {
    font-size: 0.65em;
    vertical-align: super;
}

/* Testimonials */
.home-testimonials {
    padding: 4rem 1.5rem;
    background-color: #f2f4f6;
}

/* ================= RESTORED LIVES SECTION (CAROUSEL) ================= */
.home-testimonials {
    padding: 6rem 0;
    background-color: #f8fafb;
    overflow: hidden;
}

.home-testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.testimonials-badge {
    background: rgba(19, 105, 100, 0.1);
    color: #136964;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 1.25rem;
}

.testimonials-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0a1f44;
}

.testimonials-title span {
    color: #f28c1b;
}

.testimonials-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
}

/* Edge Fades for seamless feel */
.testimonials-carousel-wrapper::before,
.testimonials-carousel-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15vw;
    z-index: 2;
    pointer-events: none;
}

.testimonials-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f8fafb, transparent);
}

.testimonials-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f8fafb, transparent);
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scrollTestimonials 40s linear infinite;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scrollTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); }
}

.testimonial-small-card {
    width: 300px;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-small-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.small-card-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 0.75rem;
    color: #f28c1b;
}

.small-card-stars span {
    font-size: 0.9rem;
    font-variation-settings: 'FILL' 1;
}

.small-card-quote {
    font-size: 0.92rem;
    color: #333;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-style: italic;
    flex-grow: 1;
}

.small-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid #f2f4f6;
    padding-top: 1rem;
}

.small-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.small-author-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0a1f44;
    margin: 0;
}

.small-author-role {
    font-size: 0.75rem;
    color: #777;
    display: block;
}

@media (max-width: 768px) {
    .testimonials-title {
        font-size: 2rem;
    }
    .testimonial-small-card {
        width: 260px;
    }
}


/* Emergency CTA */
.home-emergency-cta {
    padding: 3rem 1.5rem;
}
.home-emergency-container {
    max-width: 80rem;
    margin: 0 auto;
}

.emergency-banner {
    background-color: #136964;
    color: #ffffff;
    border-radius: 2rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.emergency-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.emergency-icon-box {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 9999px;
}
.emergency-heading {
    font-size: 1.5rem;
    font-weight: 700;
}
.emergency-subtext {
    color: #a4f0e9;
    font-size: 1.125rem;
}

.emergency-actions {
    display: flex;
    justify-content: center;
}
.btn-emergency-call {
    background-color: #ffffff;
    color: #136964;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}
.btn-emergency-call:active {
    transform: scale(0.95);
}
.btn-emergency-call:hover {
    transform: scale(1.05);
}

/* ================= ANIMATIONS ================= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .home-about {
        padding: 1rem 1.5rem;
    }

    .hero-overlay {
        width: 100%;
        /* background: rgba(255, 255, 255, 0.9); */
        backdrop-filter: blur(2px);
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
        margin-top: 0;
    }

    .hero-buttons {
        justify-content: center;
        gap: 10px;
    }

    .stats-wrapper {
        flex-direction: column;
    }

    .stats {
        margin-top: 0;
        padding-top: 20px;
    }

    .about-wrapper {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .home-services {
        padding: 2rem 1.5rem;
    }
    .home-about {
        padding: 2rem 1.5rem;
    }

    .home-why-us{
        padding: 2rem 1.5rem;
    }
    .home-timeline{
        padding: 2rem 1.5rem;
    }
    .home-testimonials {
        padding: 4rem 1rem;
    }
    .home-emergency-cta{
        padding: 2rem 1.5rem;
    }

    .hero {
        height: auto;
        padding: 0;
        flex-direction: column;
        display: flex;
        overflow: visible;
    }

    .hero-video {
        position: relative;
        height: 250px;
        z-index: 1;
    }

    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 250px;
        background: rgba(0, 0, 0, 0.4);
        z-index: 2;
        backdrop-filter: none;
    }

    .hero-content {
        padding: 40px 1.5rem;
        background: #ffffff;
        z-index: 3;
    }

    .hero-text h1 {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .about-content h2 {
        font-size: 26px;
    }
}

@media (min-width: 768px) {
    /* about */

    .home-about {
        padding: 1rem 1.5rem;
    }

    .about-quote-card {
        display: block;
    }
    .about-title {
        font-size: 3rem;
    }

    /* service */
    .services-bento-grid {
        grid-template-columns: repeat(12, 1fr);
    }
    .service-card-large-vertical {
        grid-column: span 8 / span 8;
    }
    .service-card-small-yoga {
        grid-column: span 4 / span 4;
    }
    .service-card-small-counseling {
        grid-column: span 4 / span 4;
    }
    .service-card-large-horizontal {
        grid-column: span 8 / span 8;
        flex-direction: row;
    }
    .service-content-half {
        width: 50%;
    }
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* timeline  */
    .timeline-banner {
        padding: 5rem;
    }
    .timeline-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .timeline-connector {
        display: block;
    }

    /* testimonials  */
    .emergency-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

}

@media (min-width: 1024px) {
    .home-about {
        padding: 5rem 1.5rem;
    }

    /* home-about */
    .about-flex {
        flex-direction: row;
        align-items: center;
    }
    .about-image-col {
        width: 48%;
    }
    .about-text-col {
        width: 52%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* service  */
    .why-us-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ================= UNIFIED SERVICES GRID ================= */
.services-grid-unified {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .services-grid-unified {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 1400px) {
    .services-grid-unified {
        gap: 3rem;
    }
}

.service-standard-card {
    position: relative;
    border-radius: 2.5rem;
    overflow: hidden;
    height: 480px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.service-standard-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 2;
    transition: background 0.3s ease;
}

.service-standard-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.service-standard-card:hover::after {
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.95) 100%);
}

.card-image-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-standard-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.card-icon-floating {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f28c1b;
    color: #fff;
    margin-bottom: 0.75rem;
    box-shadow: 0 8px 20px rgba(242, 140, 27, 0.3);
    z-index: 5;
}

.card-icon-floating .material-symbols-outlined {
    font-size: 26px;
}

.service-standard-card .card-content {
    position: relative;
    margin-top: auto;
    padding: 2.5rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
}

.service-standard-card h3 {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.service-standard-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #ffffff;
    background: #000;
    padding: 10px 24px;
    border-radius: 8px;
    width: fit-content;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    background: #1a1c1e;
    transform: translateX(5px);
}

.read-more .material-symbols-outlined {
    display: none; /* User screenshot doesn't show the arrow in the button */
}

/* ================= MODAL OVERLAY & CONTAINER ================= */
.blog-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.blog-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 31, 68, 0.75);
    backdrop-filter: blur(10px);
}

.modal-container {
    background: #ffffff;
    width: 90%;
    max-width: 1000px;
    height: 560px; /* Fixed height for predictability */
    max-height: 85vh;
    border-radius: 1.5rem;
    position: relative;
    z-index: 10;
    overflow: hidden;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    animation: modalSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 1024px) {
    .modal-container {
        height: 640px;
        width: 85%;
    }
}

@media (min-width: 1600px) {
    .modal-container {
        height: 720px;
        max-width: 1200px;
    }
}

@keyframes modalSlide {
    from { opacity: 0; transform: translateY(30px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ffffff;
    border: 1px solid #e1e7ec;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #43474a;
    z-index: 100;
}

.modal-close:hover { 
    background: #0a1f44; 
    color: #ffffff;
    transform: rotate(90deg);
}

/* Modal Body Layout */
#modalLayout {
    display: flex;
    height: 100%;
    width: 100%;
    flex-direction: column;
}

@media (min-width: 1024px) {
    #modalLayout {
        flex-direction: row;
    }
}

.modal-img-container {
    height: 180px; /* Even smaller for more text space */
    min-height: 180px;
    width: 100%;
    background: #0a1f44;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .modal-img-container {
        height: 100%;
        max-width: 40%;
    }
}

.modal-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-content-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    min-height: 0;
}

.modal-text-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background: #fff;
}

.header-accent {
    width: 3.5rem;
    height: 4px;
    background: linear-gradient(90deg, #f28c1b, #ffa94d);
    border-radius: 2px;
    margin-bottom: 1rem;
}

.modal-text-scroll h2 {
    font-size: 1.4rem;
    color: #0a1f44;
    margin-bottom: 0.5rem;
    font-weight: 800;
    line-height: 1.1;
}

@media (min-width: 1024px) {
    .modal-text-scroll h2 {
        font-size: 2.4rem;
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 1600px) {
    .modal-text-scroll h2 {
        font-size: 3rem;
    }
}

.modal-body-text {
    color: #43474a;
    line-height: 1.4;
    font-size: 0.82rem;
}

@media (min-width: 1024px) {
    .modal-body-text {
        font-size: 1.1rem;
        line-height: 1.7;
    }
}

@media (min-width: 1600px) {
    .modal-body-text {
        font-size: 1.25rem;
    }
}

.modal-body-p {
    margin-bottom: 1rem;
}

.modal-footer {
    padding: 0.75rem 1rem;
    border-top: 1px solid #f2f4f6;
    background: #fafbfc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .modal-footer {
        padding: 1.5rem 3rem;
    }
}

.modal-footer p {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.2;
}

@media (min-width: 1024px) {
    .modal-footer p {
        font-size: 1rem;
    }
}

@media (min-width: 1600px) {
    .modal-footer p {
        font-size: 1.2rem;
    }
}

.support-highlight {
    color: #136964;
    font-weight: 800;
    font-size: 0.75rem;
}

.btn-modal-help {
    padding: 10px 20px !important;
    font-size: 0.85rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    line-height: 1;
}

@media (min-width: 1024px) {
    .btn-modal-help {
        padding: 14px 28px !important;
        font-size: 1rem !important;
    }
}

.hidden-full-content {
    display: none;
}

/* ================= MAP SECTION ================= */
.home-map-section {
    padding: 0;
    margin: 0;
    width: 100%;
    line-height: 0; /* Remove potential whitespace below iframe */
}

.home-map-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    border: none;
    box-shadow: none;
}

.home-map-container iframe {
    display: block;
    width: 100%;
    height: 450px;
}

@media (max-width: 768px) {
    .home-map-container iframe {
        height: 350px;
    }
}


/* ================= YOUTUBE SHOWCASE SECTION ================= */
.home-youtube-showcase {
    padding: 6rem 1.5rem;
    background-color: #f8fbff;
    overflow: hidden;
}

.home-youtube-container {
    max-width: 80rem;
    margin: 0 auto;
}

.youtube-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 4rem;
}

.youtube-badge {
    background: #ff0000;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.youtube-badge:hover {
    transform: translateY(-3px) scale(1.05);
    color: #fff;
}

.youtube-badge svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.youtube-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0a1f44;
    margin-bottom: 1rem;
}

.youtube-title span {
    color: #ff0000;
    position: relative;
}

.youtube-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255, 0, 0, 0.1);
    z-index: -1;
}

.youtube-desc {
    max-width: 42rem;
    color: #43474a;
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Main Grid & Overlap Fix */
.youtube-main-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.youtube-featured {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #000;
    box-shadow: 0 40px 80px -20px rgba(10, 31, 68, 0.2);
    width: 100%;
}

.youtube-featured iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.youtube-channel-info {
    background: #fff;
    padding: 2.5rem;
    border-radius: 2rem;
    box-shadow: 0 30px 60px -20px rgba(10, 31, 68, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

@media (min-width: 1024px) {
    .youtube-main-grid {
        flex-direction: row;
        align-items: stretch;
    }
    
    .youtube-featured {
        flex: 2;
        min-width: 0;
    }
    
    .youtube-channel-info {
        flex: 1;
        min-width: 350px;
    }
}

/* Shorts/Clips Row */
.youtube-shorts-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 4rem 0 2rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0a1f44;
}

.youtube-shorts-label .divider {
    flex: 1;
    height: 1px;
    background: #eef2f6;
}

.shorts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.short-card {
    position: relative;
    aspect-ratio: 9/16;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #111;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.short-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.short-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.short-card:hover .short-thumb {
    opacity: 1;
}

.short-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

.short-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s, background 0.3s;
}

.short-card:hover .short-play-btn {
    opacity: 1;
    background: #ff0000;
}

.short-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

/* Channel CTA */
.youtube-footer-cta {
    margin-top: 5rem;
    text-align: center;
}

.btn-youtube-subscribe {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #ff0000;
    color: #fff;
    padding: 1.1rem 2.25rem;
    border-radius: 9999px;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(255, 0, 0, 0.25);
}

.btn-youtube-subscribe:hover {
    background: #cc0000;
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(255, 0, 0, 0.35);
}

@media (min-width: 768px) {
    .shorts-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== YOUTUBE SECTION FIX ===== */

.youtube-main-grid{
    display:grid;
    grid-template-columns: 2fr 1fr;
    gap:40px;
    align-items:center;
}

/* VIDEO */
.video-box{
    position:relative;
    display:block;
    border-radius:20px;
    overflow:hidden;
}

.video-box img{
    width:100%;
    height:350px;
    object-fit:cover;
    border-radius:20px;
}

/* PLAY BUTTON */
.play-btn{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    font-size:40px;
    background:red;
    color:white;
    padding:12px 18px;
    border-radius:50%;
}

/* CHANNEL */
.youtube-channel-info{
    background:#f5f5f5;
    padding:30px;
    border-radius:20px;
    text-align:center;
}

.channel-logo{
    width:80px;
    margin-bottom:15px;
}

.channel-btn{
    display:inline-block;
    margin-top:15px;
    padding:12px 25px;
    background:#0a1f44;
    color:white;
    border-radius:30px;
    text-decoration:none;
}

/* SHORTS */
.shorts-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    margin-top:40px;
}

.short-card{
    position:relative;
    display:block;
    border-radius:20px;
    overflow:hidden;
}

.short-card img{
    width:100%;
    height:300px;
    object-fit:cover;
    border-radius:20px;
}

.short-overlay{
    position:absolute;
    bottom:0;
    width:100%;
    padding:10px;
    background:linear-gradient(transparent, rgba(0,0,0,0.7));
    color:white;
}