@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Jost:ital,wght@0,100..900;1,100..900&family=Konkhmer+Sleokchher&family=Lexend&family=Manrope:wght@200..800;1,200..800&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

:root {
    --primary-color: #70b1e6;
    --secondary-color: #0d2e73;
    --tertiary-color: #12a18d;
    --text-dark: #333;
    --text-light: #fff;
    --bg-light: #f4f4f4;
    --bg-dark: #1f2937;
    --bg-highlight: #cbe3da;
    --card-bg: #fff;
    --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
    outline: none;
    border: none;
    text-decoration: none;
    transition: 0.2s linear;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
    overflow-x: hidden;
}

body {
    background: var(--bg-light);
}

section {
    padding: 5rem 9%;
    max-width: 1400px;
    margin: 0 auto;
}

.heading, .subheading {
    text-align: center;
    color: var(--secondary-color);
}

.heading {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.subheading {
    font-size: 1.8rem;
    color: var(--tertiary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

/* Bilingual content (data-lang) — ES hidden by default, EN always visible */
[data-lang="es"] { display: none; }
body[data-lang-active="es"] [data-lang="en"] { display: none; }
body[data-lang-active="es"] [data-lang="es"] { display: revert; }

/* Legal Drawers */
#drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1099;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.legal-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 42%;
    background: var(--card-bg);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    box-shadow: -0.5rem 0 3rem rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.legal-drawer.active {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.8rem 2.5rem;
    border-bottom: 1px solid #e8edf5;
    flex-shrink: 0;
    background: #f8fafd;
}

.drawer-title-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}

.drawer-title-group h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
}

.drawer-date {
    font-size: 1.2rem;
    color: #9ca3af;
    font-weight: 400;
}

.drawer-header-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.drawer-close {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.6rem;
    line-height: 1;
    border-radius: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-close:hover {
    color: var(--secondary-color);
    background: #edf0f5;
}

.drawer-body {
    overflow-y: auto;
    padding: 2.5rem 3rem;
    flex: 1;
    line-height: 1.8;
    color: #444;
    font-size: 1.5rem;
}

/* Override global section { padding: 5rem 9% } inside drawer and terms pages */
.drawer-body section,
.terms-content section {
    padding: 2rem 0;
    max-width: none;
    margin: 0;
    border-bottom: 1px solid #eef2f7;
}

.drawer-body section:last-of-type,
.terms-content section:last-of-type {
    border-bottom: none;
}

/* Section heading accent */
.drawer-body section h2,
.terms-content section h2 {
    font-size: 1.7rem;
    margin-top: 0;
    margin-bottom: 1rem;
    padding-left: 1.1rem;
    border-left: 0.3rem solid var(--primary-color);
}

/* List styling */
.drawer-body ul,
.terms-content ul {
    list-style: disc;
    padding-left: 2.2rem;
    margin: 1rem 0;
}

.drawer-body ul li,
.terms-content ul li {
    margin-bottom: 0.65rem;
    line-height: 1.75;
}

.drawer-body ul li strong,
.terms-content ul li strong {
    color: var(--secondary-color);
}

.drawer-body h3 {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-top: 2.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.drawer-body p {
    margin-bottom: 1rem;
}

.drawer-body a {
    color: var(--primary-color);
    text-decoration: underline;
}

.drawer-loader {
    display: flex;
    justify-content: center;
    padding: 4rem;
    color: var(--primary-color);
    font-size: 2.4rem;
}

.drawer-external-link {
    display: inline-flex;
    align-items: center;
    font-size: 1.8rem;
    color: #9ca3af;
    text-decoration: none;
    padding: 0.6rem;
    border-radius: 0.6rem;
}

.drawer-external-link:hover {
    color: var(--primary-color);
    background: #edf0f5;
}

.footer .copyright .drawer-trigger {
    background: transparent;
    border: none;
    color: #ccc;
    font-size: 1.4rem;
    cursor: pointer;
    margin-left: 2rem;
    padding: 0;
    font-family: inherit;
}

.footer .copyright .drawer-trigger:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .legal-drawer {
        width: 100%;
    }
}

/* Scroll To Top Button */
#scroll-top-btn {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    z-index: 1000;
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    cursor: pointer;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(1rem);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s linear;
}

#scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scroll-top-btn:hover {
    background: var(--secondary-color);
}

/* Language Switcher */
#language-switcher {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.4rem;
    background: transparent;
    border: 1.5px solid #ddd;
    border-radius: 5rem;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--secondary-color);
    white-space: nowrap;
    margin-left: 1.5rem;
    flex-shrink: 0;
}

#language-switcher:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

#language-switcher i {
    font-size: 1.4rem;
}

.description {
    text-align: center;
    font-size: 1.6rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 1rem 3rem;
    border-radius: 5rem;
    background: var(--secondary-color);
    color: var(--text-light);
    font-size: 1.8rem;
    cursor: pointer;
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    padding: 2rem 9%;
    display: flex;
    align-items: center;
    z-index: 1000;
    box-shadow: var(--box-shadow);
}

.header .logo {
    font-size: 3rem;
    color: var(--tertiary-color);
    font-weight: bolder;
    margin-right: 2rem;
}

.header .menu-wrapper {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.header .navbar {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.header .navbar a {
    font-size: 1.8rem;
    padding: 0 1.5rem;
    color: var(--secondary-color);
}

.header .navbar a:hover {
    color: var(--primary-color);
}

.header .buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.header .buttons .sign-in {
    background: transparent;
    color: var(--secondary-color);
    padding: 0.8rem 2rem;
}

.header .buttons .sign-in:hover {
    color: var(--primary-color);
}

.header .buttons .sign-up {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 0.8rem 2rem;
}

.header .buttons .sign-up:hover {
    background: var(--secondary-color);
}

.header #toggler {
    display: none;
}

.header .fa-bars {
    font-size: 3rem;
    color: var(--text-dark);
    cursor: pointer;
    display: none;
    margin-left: 2rem;
}

/* Home Section */
.home {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding-top: 10rem;
    background: url('../images/light-blue-and-white-background.jpg') no-repeat center center;
    background-size: cover;
    max-width: none;
}

.home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(228, 243, 255, 0.5);
    z-index: 1;
}

.home .hero-content-wrapper {
    z-index: 2;
    max-width: 60rem;
    text-align: center; 
}

.home h1 {
    font-size: 5rem;
    color: var(--secondary-color);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.home p {
    font-size: 2rem;
    color: #4f4f4f;
    padding: 1rem 0;
    margin-bottom: 3rem;
}

.home .btn-home {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 5rem;
    background: var(--primary-color);
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
}

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

.home .image-container {
    z-index: 2;
    max-width: 45rem;
    animation: float 3s ease-in-out infinite;
    display: block;
    margin-left: 2rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-1rem); }
}

.home .image-container .home-image img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.section-button-title {
    display: inline-block;
    background-color: #66B3AD;
    color: #ffffff;
    padding: 10px 35px;
    border-radius: 50px;
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.section-heading-split {
    font-size: 3rem;
    font-weight: 500;
    color: #2B2B2B;
    text-align: center;
    margin-bottom: 4rem;
}

.section-heading-split .highlight-blue {
    color: #2686B6;
    font-weight: 500;
}

/* What We Offer Section */
.what-we-offer .heading {
    margin-bottom: 3rem;
}

.what-we-offer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40rem, 1fr));
    gap: 3rem;
}

.what-we-offer .offer-box {
    background: #f0f8ff;
    border-radius: 1.5rem;
    padding: 4rem;
    text-align: left;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08); 
    border: 2px solid transparent; 
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.what-we-offer .offer-box:hover {
    transform: translateY(-8px); 
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15); 
    border-color: var(--primary-color);
}

.what-we-offer .offer-box.highlight {
    background: #e6f7ff;
    border: 2px solid var(--primary-color);
}

.what-we-offer .offer-box.highlight:hover {
    border-color: var(--primary-color);
}

.what-we-offer .offer-box .icon-container {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.what-we-offer .offer-box h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.what-we-offer .offer-box p {
    font-size: 1.6rem;
    color: #666;
    line-height: 1.6;
}
/* Features Section */
.features-accordion {
    padding: 5rem 9%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    background: #f4f4f4;
}

.features-accordion .features-container-split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}

.features-accordion .video-container-split {
    flex: 1 1 50rem;
    aspect-ratio: 16 / 9;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
    animation: float 3s ease-in-out infinite;
    min-width: 40rem;
}

.features-accordion .video-container-split iframe {
    width: 100%;
    height: 100%;
}

.features-accordion .accordion-container {
    flex: 1 1 50rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 40rem;
}

.features-accordion .accordion-item {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.features-accordion .accordion-item.active {
    border-color: var(--primary-color);
}

.features-accordion .accordion-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    cursor: pointer;
}

.features-accordion .accordion-title h4 {
    font-size: 2rem;
    color: var(--secondary-color);
}

.features-accordion .accordion-title .fas {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.features-accordion .accordion-item.active .accordion-title .fas {
    transform: rotate(180deg);
}

.features-accordion .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 3rem;
}

.features-accordion .accordion-item.active .accordion-content {
    max-height: 20rem;
    padding: 1.5rem 3rem;
}

.features-accordion .accordion-content p {
    font-size: 1.6rem;
    color: #666;
    line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 9%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    background: #f4f4f4;
}

.benefits-section .heading {
    margin-bottom: 3.5rem;
}

.benefits-grid-image {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40rem, 1fr));
    gap: 3rem;
    justify-content: center;
}

.benefit-card-image {
    background: #fff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.card-image-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 3rem;
    text-align: left;
}

.card-content h3 {
    font-size: 2rem;
    color: #2B2B2B;
    margin-bottom: 1rem;
}

.card-content p {
    font-size: 1.5rem;
    color: #666;
    line-height: 1.6;
}

/* About Us Section */
.about-us {
    background: #F9FAFE;
    max-width: none;
}

.about-us .container-about {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5rem;
}

.about-us .content-about {
    flex: 1 1 50rem;
    text-align: left;
}

.about-us .content-about .section-button-title,
.about-us .content-about .section-heading-split {
    text-align: left;
}

.about-us .content-about h3 {
    font-size: 2rem;
    color: var(--tertiary-color);
    text-transform: uppercase;
}

.about-us .content-about h2 {
    font-size: 3.1rem;
    color: var(--secondary-color);
    margin: 1rem 0;
    line-height: 1.2;
}

.about-us .content-about p {
    font-size: 1.6rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.about-us .content-about ul {
    list-style: none;
}

.about-us .content-about ul li {
    font-size: 1.6rem;
    color: #555;
    margin-bottom: 1rem;
}

.about-us .content-about ul li .fas {
    color: var(--primary-color);
    margin-right: 1rem;
}

.about-us .video-container {
    position: relative;
    flex: 1 1 50rem;
    aspect-ratio: 16 / 9;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-us .video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Our Team Section */
.our-team .heading {
    margin-bottom: 4rem;
}

.our-team .team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    max-width: 100rem;
    margin: 0 auto;
}

.our-team .team-member {
    background: var(--card-bg);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-align: center;
    flex: 1 1 30rem;
    max-width: 32rem;
}

.our-team .team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.our-team .team-member img {
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

.our-team .team-member h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.our-team .team-member p {
    font-size: 1.6rem;
    color: var(--tertiary-color);
    margin-bottom: 1.2rem;
}

.our-team .team-member span {
    font-size: 1.4rem;
    color: #666;
    line-height: 1.5;
    display: block;
}


/* Plans Section */
.plans {
    text-align: center;
}

.plans .plan-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F9FAFE;
    border-radius: 1rem;
    padding: 0.5rem;
    width: fit-content;
    margin: 2rem auto 5rem;
    border: 1px solid #B8B8B8;
}

.plans .toggle-btn {
    padding: 1rem 3rem;
    border-radius: 1rem;
    font-size: 1.6rem;
    cursor: pointer;
    background: transparent;
    border: none;
    color: #4f4f4f;
    font-weight: 500;
    white-space: nowrap;
}

.plans .toggle-btn.active {
    background: #2686B6;
    color: var(--text-light);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.plans .plans-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.plans .plan-card {
    background: var(--card-bg);
    border-radius: 1.5rem;
    padding: 4rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08); 
    border: 2px solid transparent; 
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-align: center;
    max-width: 45rem; 
    flex-grow: 1; 
}

.plans .plan-card:hover {
    transform: translateY(-8px); 
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15); 
    border-color: var(--primary-color);
}

.plans .plan-card.highlight-card {
    background: #2686B6;
    color: var(--text-light);
    border: none;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.plans .plan-card.highlight-card h3,
.plans .plan-card.highlight-card .price p,
.plans .plan-card.highlight-card .price span,
.plans .plan-card.highlight-card .features h4,
.plans .plan-card.highlight-card .features li {
    color: var(--text-light);
}

.plans .plan-card.highlight-card .annual-save {
    color: #F8ECC9; 
}

.plans .plan-card.highlight-card .features .fas {
    color: #F8ECC9;
}

.plans .plan-card h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.plans .plan-card .price {
    margin-bottom: 0;
}

.plans .plan-card .price p {
    font-size: 4rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.plans .plan-card .price span {
    font-size: 1.6rem;
    color: #666;
}

.plans .plan-card .annual-save {
    font-size: 1.4rem;
    color: var(--tertiary-color);
    font-weight: bold;
    margin-top: 1rem;
}

.plans .plan-card .btn {
    margin-top: 2rem;
    background: #2686B6;
    color: var(--text-light);
    width: 100%;
}

.plans .plan-card.highlight-card .btn {
    background: var(--text-light);
    color: #2686B6;
}

.plans .plan-card .features {
    margin-top: 3rem;
    text-align: left;
}

.plans .plan-card .features h4 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.plans .plan-card .features ul {
    list-style: none;
}

.plans .plan-card .features li {
    font-size: 1.6rem;
    color: #666;
    margin-bottom: 0.8rem;
}

.plans .plan-card .features .fas {
    color: var(--tertiary-color);
    margin-right: 1rem;
}

.plans .plan-card .plan-description {
    font-size: 1.6rem;
    color: #666; 
    line-height: 1.6;
    margin-bottom: 2rem;
}

.plans .plan-card .plan-divider {
    border: 0;
    height: 1px;
    background-color: #ddd; 
    margin: 3rem 0;
}

.plans .plan-card.highlight-card .plan-description {
    color: var(--text-light); 
}

.plans .plan-card.highlight-card .plan-divider {
    background-color: rgba(255, 255, 255, 0.3); 
}

/* Testimonial & CTA Section */
.testimonials-cta {
    text-align: center;
}

.testimonials-cta .container-cta {
    background: #f0f8ff;
    border-radius: 1.5rem;
    padding: 6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    color: var(--secondary-color);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.testimonials-cta .container-cta .cta-content {
    flex: 1 1 60%;
    text-align: left;
}

.testimonials-cta .container-cta .cta-heading {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.testimonials-cta .container-cta .btn.subscribe-btn {
    background: linear-gradient(to right, #2686B6, #66B3AD);
    color: #fff;
    border: 1px solid #fff;
    transition: transform 0.3s ease;
    border-radius: 5rem;
    padding: 1.5rem 4rem;
    font-size: 2rem;
    cursor: pointer;
    white-space: nowrap;
}

.testimonials-cta .container-cta .btn.subscribe-btn:hover {
    background: linear-gradient(to left, #2686B6, #66B3AD);
    transform: translateY(-0.3rem);
    box-shadow: 0 0.8rem 1.2rem rgba(0, 0, 0, 0.2);
}

.testimonials-cta .container-reviews {
    margin-bottom: 5rem;
}

.testimonials-cta .reviews-heading {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

.testimonials-cta .review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
    justify-content: center;
}

.testimonials-cta .review-card {
    background: var(--card-bg);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid #eee;
}

.testimonials-cta .review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.testimonials-cta .review-stars {
    color: #ffc107;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.testimonials-cta .review-text {
    font-size: 1.6rem;
    color: #555;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonials-cta .reviewer-name {
    font-size: 1.4rem;
    color: #888;
    font-weight: 500;
}
/* Footer Section */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 5rem 9% 3rem;
    max-width: none;
    margin: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 3rem;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-brand .footer-logo img {
    width: 5rem;
}

.footer-brand .footer-logo p {
    font-size: 2rem;
    font-weight: 700;
}

.footer-tagline {
    font-size: 1.4rem;
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 24rem;
}

.footer-socials {
    display: flex;
    gap: 1.2rem;
}

.footer-socials a {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 1.4rem;
}

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

.footer-col h4 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.footer-col a,
.footer-col p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
    color: #aaa;
    margin-bottom: 1.2rem;
}

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

.footer .copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.4rem;
    color: #ccc;
}

.footer .copyright .legal-links a {
    color: #ccc;
    margin-left: 2rem;
}

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

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

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer .copyright {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Terms Page */
.terms-page {
    padding: 6rem 9%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(40,84,120,0.03), transparent);
}
.terms-page .container {
    max-width: 1000px;
}
.terms-card {
    background: var(--card-bg);
    border-radius: 1.2rem;
    padding: 3.5rem;
    box-shadow: 0 1.5rem 3rem rgba(21,32,43,0.08);
    border: 1px solid rgba(15,57,87,0.04);
}
.terms-hero h1 {
    font-family: 'Instrument Serif', serif;
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}
.terms-hero p {
    color: #9ca3af;
    font-size: 1.4rem;
    margin-bottom: 2rem;
}
.terms-hero .subtitle {
    color: #6b7280;
    font-size: 1.4rem;
    margin-bottom: 2rem;
}
.terms-content {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #444;
    margin-top: 2rem;
}
.terms-content h2 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}
.terms-content a { color: var(--primary-color); text-decoration: underline; }
.terms-footer { margin-top: 2.5rem; color: #6b6b6b; font-style: italic; }
.back-home { margin-top: 2rem; }
.back-home .btn { padding: 0.8rem 2rem; border-radius: 0.8rem; background: transparent; color: var(--secondary-color); border: 1px solid rgba(13,46,115,0.08); }

@media (max-width: 991px) {
   .terms-card{ padding: 2.5rem; }
   .terms-hero h1{ font-size:2.4rem; }
   .terms-content h2{ font-size:1.6rem; }
}

/* Media Queries for responsive design */
@media (max-width: 1200px) {
    .header .navbar a {
        font-size: 1.6rem;
        padding: 0 1rem;
    }

    .home {
        flex-direction: column;
        text-align: center;
        padding-top: 10rem;
    }

    .home .image-container {
        margin-top: 2rem;
    }

    .what-we-offer .container {
        grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    }

    .benefits-grid-image {
        grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    }

    .plan-toggle {
        justify-content: center;
    }

    .plans-container {
        flex-direction: column;
        align-items: center;
    }

    .plan-card {
        margin-bottom: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 991px) {
    html {
        font-size: 55%;
    }

    section {
        padding: 5rem 3%;
    }

    .header {
        padding: 2rem 3%;
    }

    .hero-content-wrapper h1 {
        font-size: 4.5rem;
    }

    .home .hero-content-wrapper {
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .header .fa-bars {
        display: block;
        cursor: pointer;
    }

    .header .menu-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--card-bg);
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.3s ease-in-out;
        display: none;
        margin-left: 0;
        margin-right: 0;
    }

    .header .menu-wrapper.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        display: flex;
    }

    .header .navbar {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .header .buttons {
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
        border-top: 1px solid var(--bg-light);
        padding-top: 1rem;
        margin-left: 0;
    }

    .header .buttons a {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }

    .header .navbar a {
        padding: 1rem;
        margin: 0;
    }

    .video-container-split, .video-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 100%;
    }

    .video-container iframe, .video-container-split iframe {
        width: 100%;
        height: 30rem;
    }

    .features-container-split {
        flex-direction: column;
    }

    .about-us .container-about {
        flex-direction: column;
    }

    .about-us .content-about {
        text-align: center;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .team-member {
        padding: 2rem;
        border-radius: 1rem;
        box-shadow: var(--box-shadow);
    }

    .what-we-offer .container {
        grid-template-columns: 1fr;
    }

    .benefits-grid-image {
        grid-template-columns: 1fr;
    }

    .testimonials-cta .container-reviews .review-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonials-cta .container-reviews {
        padding: 2rem;
    }

    .footer .top-footer {
        flex-direction: column;
    }

    .footer .subscribe-form {
        margin-top: 1rem;
        width: 100%;
    }

    .footer .subscribe-form input {
        flex-grow: 1;
    }

    .footer .bottom-footer {
        flex-direction: column;
        text-align: center;
    }

    .footer .footer-logo,
    .footer .footer-links .column {
        align-items: center;
    }

    .footer .footer-logo img {
        margin-bottom: 1rem;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }

    .header {
        padding: 2rem;
    }

    .home .hero-content-wrapper h1 {
        font-size: 3.5rem;
    }

    .cta-content .cta-heading {
        font-size: 3rem;
    }
}

