/* Table of Contents:
1. Import Statements
2. Keyframes and Property Animations    
3. Custom Properties
4. Global Styles
5. Typography Styles
6. Heading and Subheadings
7. Form and Inputs
8. Maps Elements
9. Header and Navbar
10. Section and Container
11. Background and Setting Color
12. Swiper Setting
13. Button and Links
14. Overlay
15. Utility Classes
16. Social and Contact Setting
17. Breadcrumb
18. Spesific Media Queries
19. Card Setting
20. Progress and Rating 
21. Accordion
*/


/* ---------------------------- */
/* Import Statements            */
/* ---------------------------- */
@import url('../css/vendor/bootstrap.min.css');
@import url('../css/vendor/fontawesome.css');
@import url('../css/vendor/brands.css');
@import url('../css/vendor/regular.css');
@import url('../css/vendor/solid.css');
@import url('../css/vendor/swiper-bundle.min.css');
@import url('../css/vendor/rtmicons.css');
@import url('../css/vendor/montserrat/stylesheet.css');
@import url('../css/vendor/pontano-sans/stylesheet.css');

/* ---------------------------- */
/* Keyframes and Property Animations */
/* ---------------------------- */
@property --progress {
    syntax: '<integer>';
    inherits: true;
    initial-value: 0;
}

@keyframes load {
    to {
        --progress: var(--value)
    }
}

@keyframes background_animation {
    from {
        background-size: 100%;
    }

    to {
        background-size: 110%;
    }
}

@keyframes ripple {
    from {
        opacity: 1;
        transform: scale3d(1, 1, 1);
        transform-origin: center;
        border-width: 0px;
    }

    to {
        opacity: 0;
        transform: scale3d(1.7, 1.7, 1.8);
        transform-origin: center;
        border-width: 13px;
    }
}

/* ---------------------------- */
/*  Custom Properties            */
/* ---------------------------- */
:root {
    --primary: #000000;
    --text-color: #F4F4F4;
    --text-color-2: #DADADA;
    --background-color: #101010;
    --accent-color: #C0C0C0;
    --accent-gradient: linear-gradient(
        45deg,
        #999 5%,    /* Darker shade, simulating shadow */
        #fff 10%,   /* Bright highlight */
        #ccc 30%,   /* Mid-tone gray */
        #ddd 50%,   /* Lighter mid-tone */
        #ccc 70%,   /* Mid-tone gray */
        #fff 80%,   /* Bright highlight */
        #999 95%    /* Darker shade, simulating shadow */
    );
    --accent-gradient-2: linear-gradient(45deg, #F5F5F5, #C0C0C0, #999999);
    --accent-gradient-3: linear-gradient(90deg, #DCDCDC, #C0C0C0, #B8B8B8);
    --accent-color-2: #D9D9D9;
    --accent-color-3: #2B2B2B;
    --accent-color-4: #1D1D1D;
    --font-1: "Montserrat", sans-serif;
    --font-2: "Pontano Sans", sans-serif;

}

.o_wappointment_wrap {
    background-color: var(--background-color) !important;
}

/* ---------------------------- */
/* Global Styles                */
/* ---------------------------- */
body {
    font-family: var(--font-1);
    color: var(--text-color);
    background-color: var(--primary);
}

/* ---------------------------- */
/* Typography                   */
/* ---------------------------- */
h1 {
    font-size: 68px;
    text-transform: uppercase;
    font-weight: bold;
}

h2 {
    font-size: 64px;
    text-transform: uppercase;
    font-weight: bold;
}

h3 {
    font-size: 50px;
    text-transform: uppercase;
    font-weight: bold;
}

h4 {
    font-size: 22px;
    text-transform: uppercase;
    font-weight: bolder;
}

h5 {
    font-size: 21px;
    text-transform: uppercase;
    font-weight: bold;
}

h6 {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    font-style: italic;
}

button,
a {
    font-size: 18px;
    font-family: var(--font-2);
}

p {
    font-size: 16px;
    font-family: var(--font-2);
    color: var(--text-color);
}

ul {
    list-style: none;
}

.list-circle {
    list-style: disc var(--accent-color);
}

li {
    font-size: 16px;
}

img {
    object-fit: cover;
}

/* ---------------------------- */
/* Headings and Subheadings      */
/* ---------------------------- */
.banner-heading {
    font-size: 5.5rem;
}
.sub-heading {
    color: var(--accent-color);
}

.text-color {
    color: var(--text-color);
}

.text-color-2 {
    color: var(--text-color-2);
}

/* ---------------------------- */
/* Forms and Inputs             */
/* ---------------------------- */
.form-control {
    padding: 15px 24px;
    border-radius: 0;
}

.form textarea {
    background-color: transparent;
    border: solid 1px var(--accent-color);
    color: var(--text-color);
    outline: none;
    font-family: var(--font-2);
    font-size: 18px;
    border-radius: 0;
}

.form input,
.form select {
    background-color: var(--primary);
    border: solid 1px var(--accent-color);
    border-radius: 0;
    color: var(--text-color);
    outline: none;
    font-family: var(--font-2);
    font-size: 18px;
}

.form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23F4F4F4" class="bi bi-caret-down-fill" viewBox="0 0 16 16"><path d="M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px 12px;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
    box-shadow: none;
    border: solid 1px var(--accent-color);
    background-color: var(--primary);
    color: var(--text-color);
}

.form input:autofill,
.form input:autofill:focus {
    color: var(--accent-color);
    transition: background-color 5000s ease-in-out;
    -webkit-text-fill-color: var(--accent-color);
    font-family: var(--font-2);
}

.form input::placeholder,
.form textarea::placeholder {
    color: var(--text-color-2);
    font-family: var(--font-2);
}

.form-check-input:checked[type=checkbox] {
    --bs-form-check-bg-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="blue" class="bi bi-check-xl" viewBox="0 0 16 16"><path d="M12.736 3.97a.733.733 0 0 1 1.047 0c.286.289.29.756.01 1.05L7.88 12.01a.733.733 0 0 1-1.065.02L3.217 8.384a.757.757 0 0 1 0-1.06.733.733 0 0 1 1.047 0l3.052 3.093 5.4-6.425a.247.247 0 0 1 .02-.022Z"/></svg>');
}

.form input.form-check-input {
    background-color: transparent;
    border: 1px solid gray;
}

.form input.form-check-input:checked {
    border: 1px solid blue;
    color: blue;
}

/* .form .submit_form {
    padding-inline: 2rem;
    padding-block: 0.7rem;
    text-decoration: none;
    transition: all 0.5s;
    background-color: var(--accent-color);
    color: white;
    border-radius: 5px;
    border: solid 1px var(--accent-color);
}

.submit_form:hover {
    background-color: transparent;
} */

.submit_form-subscribe {
    padding-inline: 2rem;
    padding-block: 0.7rem;
    text-decoration: none;
    transition: all 0.5s;
    color: white;
    background-color: transparent;
    border-radius: 5px;
}

.submit_form-subscribe:hover {
    background-color: transparent;
    color: white;
    filter: none;
}

/* ---------------------------- */
/* Map Elements       */
/* ---------------------------- */
.maps {
    width: 100%;
    height: 480px;
    transition: filter 0.5s;
    display: block;
}

/* ---------------------------- */
/* Header and Navbar       */
/* ---------------------------- */
#header {
    transition: all 0.5s ease;
}

.logo-container {
    max-width: 180px;
}

.logo-partner {
    filter: brightness(200%) contrast(0%) saturate(0%) blur(0px) hue-rotate(0deg);
    transition-duration: 0.5s;
}

.logo-partner:hover {
    filter: none;
}

.navbar-nav .nav-link:focus {
    color: var(--accent-color);
    text-align: center;
}

.navbar-nav .nav-link.show {
    color: var(--accent-color);
}

.nav-link {
    border-bottom: 2px solid transparent;
    font-size: 16px;
    font-family: var(--font-1);
    padding-block: 1.2rem;
    color: var(--text-color);
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
}

/* Nav link with gradient text */
.nav-link.accent-gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(1px 1px 2px rgba(255, 255, 255, 0.5)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.nav-link:hover {
    color: var(--accent-color);
    text-align: center;
}

/* Nav link gradient on hover */
.nav-link.accent-gradient-text:hover {
    background: var(--accent-gradient-2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: brightness(1.2) drop-shadow(1px 1px 3px rgba(255, 255, 255, 0.7));
}

.nav-link.active {
    color: var(--accent-color) !important;
}

.navbar-toggler {
    border: none;
    color: var(--accent-color);
}

.navbar-toggler:focus {
    box-shadow: none;
    background-color: transparent;
    color: var(--accent-color-2);
}

.nav-tabs {
    border-bottom: none;
}

.nav-tabs .nav-link {
    background-color: transparent;
    color: var(--accent-color);
    border: none;
    position: relative;
}

.nav-tabs .nav-link:hover {
    border: none;
    color: white;
}

.nav-tabs .nav-link.active {
    background-color: transparent;
    border: none;
}

.nav-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

.dropdown-menu {
    border-radius: 0;
    border: none;
    padding: 0;
    width: 200px;
    -webkit-box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
    padding-block: 0.75rem;
    color: var(--text-color);
    font-family: var(--font-1);
    font-size: 0.95rem;
    font-weight: 400;
    padding-inline: 0.75rem;
    text-align: center;
    background-color: var(--primary);
}

.dropdown-item.active {
    color: var(--accent-color);
    background-color: var(--primary);
}

.dropdown-item:hover {
    background-color: var(--accent-color);
    color: var(--primary);
}

.dropdown-item:focus {
    color: var(--accent-color);
}

/* ---------------------------- */
/* Section and Container       */
/* ---------------------------- */
.section {
    padding: 6em 2em 6em 2em;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.r-container {
    max-width: 1300px;
    margin-right: auto;
    margin-left: auto;
}

.section.bg-attach-cover.program {
    background-size: cover;
    background-position: center;
    background-image: var(--url-image);
}

.section.bg-attach-cover.program .border-accent-program {
    border-top: 2px solid var(--accent-color-3);
}

.section.bg-attach-cover.program h6,
.section.bg-attach-cover.program h3  {
    color: var(--accent-color);
}
.section.bg-attach-cover.program span,


/* ---------------------------- */
/* Background and Setting Color      */
/* ---------------------------- */
.bg-accent-primary {
    background-color: var(--primary);
}

.bg-accent-color {
    background-color: var(--accent-color);
}

.bg-accent-gradient {
    background: var(--accent-gradient);
}

.bg-accent-gradient-2 {
    background: var(--accent-gradient-2);
}

.bg-accent-gradient-3 {
    background: var(--accent-gradient-3);
}

.bg-accent-color-2 {
    background-color: var(--accent-color-2);
}

.bg-accent-color-3 {
    background-color: var(--accent-color-3);
}

.bg-accent-color-4 {
    background-color: var(--accent-color-4);
}

.bg-text-color {
    background-color: var(--text-color);
}

.bg-text-color-2 {
    background-color: var(--text-color-2);
}

.accent-primary {
    color: var(--primary);
}

.accent-color {
    color: var(--accent-color);
}

.accent-gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* Optional: Add text-shadow for more depth */
    filter: drop-shadow(1px 1px 2px rgba(255, 255, 255, 0.5)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.accent-gradient-text-2 {
    background: var(--accent-gradient-2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(1px 1px 2px rgba(255, 255, 255, 0.5)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.accent-gradient-text-3 {
    background: var(--accent-gradient-3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(1px 1px 2px rgba(255, 255, 255, 0.5)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.accent-color-2 {
    color: var(--accent-color-2);
}

.accent-color-3 {
    color: var(--accent-color-3);
}

.accent {
    color: var(--background-color);
}

.border-accent-color {
    border-color: var(--accent-color) !important;
}


.border-accent-color-linear {
    border-image: var(--accent-gradient) 1;
    border-style: solid;
    border-width: 1px;
}

.border-accent-color-2 {
    border-image: var(--accent-gradient) 1;
    border-style: solid;
    border-width: 1px;
}

.border-accent-color-3 {
    border-color: var(--accent-color-3) !important;
}

.border-accent-2 {
    border-color: var(--accent-color-2) !important;
}

.border-testimonial {
    border-right: 5px solid var(--accent-color-2);
}

.border-bottom-hover:hover {
    border-bottom: 2px solid var(--accent-color);
}

.custom-border {
    border-width: 5px;
    border-style: solid;
    border-color: white;
    border-radius: 20px;
}

.outline {
    color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: var(--accent-color);
}

.text-gray {
    color: grey !important;
}

.text-accent {
    font-size: 18px;
    background: -webkit-linear-gradient(99.79deg, #2F4A9D 0%, #A502A8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-accent-color-hover:hover {
    background-color: var(--accent-color);
    color: white;
}

.bg-dark-transparent {
    background-color: #232323b7;
}

.bg-accent {
    background-color: var(--background-color);
}

.bg-trapesium {
    margin: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px;
    height: max-content;
    background-color: var(--accent-color);
    clip-path: polygon(0px 100%, 100% 100%, calc(100% - 90px) 0%, 0% 0%);
    color: var(--primary);
}

.bg-trapesium-gradient {
    margin: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px;
    height: max-content;
    background: var(--accent-gradient);
    clip-path: polygon(0px 100%, 100% 100%, calc(100% - 90px) 0%, 0% 0%);
    color: var(--primary);
}

.bg-trapesium.accent {
    margin: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: max-content;
    background-color: var(--accent-color);
    clip-path: polygon(0px 100%, 100% 100%, calc(100% - 90px) 0%, 0% 0%);
    color: var(--primary);
}

.trapesium-content {
    padding-right: 5rem;
}

/* ---------------------------- */
/* Swiper Setting              */
/* ---------------------------- */
.swiperPartner {
    overflow: visible;
}

.swiper-pagination {
    margin-block: 1rem;
    position: relative;
}

.swiper-slide {
    padding: 0.5rem;
}

.swiper-pagination .swiper-pagination-bullet {
    background-color: var(--accent-color-2);
}

.swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

/* ---------------------------- */
/* Buttons & Links              */
/* ---------------------------- */
button {
    padding-inline: 1rem;
    padding-block: 0.5rem;
    text-decoration: none;
    transition: all 0.5s;
}

button:hover {
    color: var(--text-color);
}

a {
    text-decoration: none;
}

.w-max-content {
    width: max-content;
}

.read-more {
    color: var(--accent-color);
    transition: all 0.5s;
    text-transform: uppercase;
}

.read-more:hover {
    color: var(--text-color);
}

.btn {
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-1);
    text-transform: uppercase;
    font-weight: 700;

}

.btn-accent {
    background: var(--accent-gradient);
    color: var(--primary);
    transition: all 0.5s;
    border: 1px solid transparent;
    /* Add metallic effect with subtle shadow for depth */
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-accent::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-accent:hover::before {
    left: 100%;
}

.btn-accent-gradient {
    background: var(--accent-gradient);
    color: var(--primary);
    transition: all 0.5s;
    border: 1px solid transparent;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-accent-gradient:hover {
    background: var(--accent-gradient-2);
    color: var(--primary);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-accent:hover {
    background: var(--accent-gradient-2);
    border-color: var(--accent-color);
    color: var(--primary);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.3);
}

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

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

.btn-white-accent {
    background-color: white;
    color: var(--accent-color);
    border: 3px solid transparent;
}


.btn-white-accent:hover {
    background-color: transparent;
    border-color: white;
    color: white;
}

.btn-black-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
    border-width: 1px;
}

.btn-black-outline:hover {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.card .link {
    color: var(--accent-color);
}

.card:hover .link {
    color: white;
}

.link.accent-color {
    color: var(--accent-color);
    transition: color 0.5s;
}

.link.accent-color:hover {
    color: var(--dark-bg);
}

.link {
    color: var(--accent-color);
}

.link:hover {
    color: var(--accent-color-2);
}

.link-white {
    color: white;
}

.link-white:hover {
    color: var(--accent-color);
}

/* ---------------------------- */
/* Overlay                      */
/* ---------------------------- */
.blog-overlay {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(179.87deg, rgba(21, 12, 28, 0) 0.12%, rgba(65, 66, 96, 0.86) 107.53%);
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

.image-overlay {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background: linear-gradient(0deg, rgba(16, 16, 16, 0.6), rgba(16, 16, 16, 0.6));
}

.overlay {
    color: var(--accent-color-2);
    opacity: 0.3;
}

.bg-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

}

.bg-overlay-2 {
    background: linear-gradient(0deg, rgba(0, 33, 64, 0.5), rgba(0, 33, 64, 0.5));
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.testimonial-overlay {
    background: linear-gradient(0deg, rgba(255, 239, 225, 0.96), rgba(255, 239, 225, 0.96));
    position: absolute;
    width: 75%;
    height: 100%;
    top: 0;
    right: 0;
}

.bg-accent-opacity {
    background: linear-gradient(0deg, rgba(43, 43, 43, 0.86), rgba(43, 43, 43, 0.86));
}

.linear-gradient {
    padding: 14px 42px;
    background-color: var(--accent-color-2);
    border-radius: 50px;
    width: max-content;
}

.cta-overlay {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

}

.video-overlay {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background: linear-gradient(180deg, rgba(4, 56, 63, 0.144) 0%, rgba(4, 56, 63, 0.72) 100%);
    opacity: 0.5;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

/* ---------------------------- */
/* Utility Classes              */
/* ---------------------------- */
.hover-transform:hover {
    transform: translateY(-10px);
}

.font-1 {
    font-family: var(--font-1);
}

.font-2 {
    font-family: var(--font-2);
}

.ls-2 {
    letter-spacing: 2px;
}

.fs-7 {
    font-size: 0.8rem !important;
}

.fs-very-large {
    font-size: 4.125rem;
}

.fw-black {
    font-weight: 900 !important;
}

.team-detail {
    background-color: var(--background-color);
    color: var(--accent-color);
    transition: all 0.5s;
}

.team-detail:hover {
    background-color: var(--accent-color);
    color: var(--primary);
}

.divider {
    display: flex;
    align-items: center;
}

.divider::after {
    display: block;
    content: "";
    border-bottom: 0;
    flex-grow: 1;
    border-top: 3px solid #8692af;
    max-width: 30px;
    min-width: 30px;
}


.divider-element {
    letter-spacing: 2px;
    flex-shrink: 0;
    flex-grow: 1;
    margin: 0;
    margin-left: 1rem;
    font-weight: 400;
}

.image-infinite-bg {
    height: 90vh;
}

.animation-bg {
    animation: background_animation 10s forwards;
}

.bg-attach-fixed {
    background-attachment: fixed;
}

.bg-attach-cover {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

.social-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-container.accent {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.character-img {
    position: relative;
    z-index: 2;
}

.w-70 {
    width: 70%;
}

.stock-img {
    position: relative;
    z-index: 20;
}

.customer-item {
    border-radius: 50%;
    aspect-ratio: 1/1;
    font-size: 19px;
    width: 3rem;
    height: 3rem;
    transition: all 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--accent-color);
    color: var(--text-color-2);
    border: 2px solid var(--accent-color);
    margin-left: -6px;
    overflow: hidden;
}

.testimonial-item {
    border-radius: 50%;
    aspect-ratio: 1/1;
    font-size: 19px;
    width: 5rem;
    height: 5rem;
    transition: all 0.5s;
    display: flex;
    justify-content: center;
    margin-left: -6px;
    overflow: hidden;
}

.bg-box {
    bottom: 0;
    right: 0;
    height: 60%;
    width: 50%;
    border: solid 3px var(--accent-color-2);
}

.icon-box-2 {
    display: flex;
    font-size: 24px;
    justify-content: center;
    align-items: center;
    text-align: center;
    aspect-ratio: 1/1;
    border-radius: 50%;
    height: 4rem;
    padding: 1px;
    transition: all 0.5s;
}

.author-box {
    border-radius: 50%;
    aspect-ratio: 1/1;
    width: 15rem;
    transition: all 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -6px;
    overflow: hidden;
}

.post-button {
    background-color: transparent;
    color: var(--accent-color) !important;
    border: none !important;
}

.post-button:hover {
    background-color: transparent !important;
    color: var(--accent-color) !important;
    transform: scale(1.15);
}

.position-xl-absolute {
    position: absolute;
}

.w-60 {
    width: 60% !important;
}

.shadow-double {
    box-shadow: 40px -40px 0px -4px var(--accent-color), -54px 44px 0px -3px var(--text-color-2);
}

.shadow-single-left {
    box-shadow: -54px 44px 0px -3px var(--accent-color);
}

.shadow-single-right {
    box-shadow: 40px -40px 0px -4px var(--accent-color);
}

.shadow-accent-2 {
    -webkit-box-shadow: -90px -23px 0px 0px var(--accent-color);
    -moz-box-shadow: -90px -23px 0px 0px var(--accent-color);
    box-shadow: -90px -23px 0px 0px var(--accent-color);
}

.number-text {
    font-size: 100px;
}

.text-404 {
    font-size: 12rem;
    font-weight: 700;
}

.rounded-end {
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.floating-bg {
    position: absolute;
    width: 50%;
    bottom: 0;
    left: 0;
    padding-bottom: 6em;
    padding-right: 5rem;
}

.floating-image {
    position: absolute;
}

.floating-banner {
    padding-bottom: 15rem;
}

.floating-top {
    margin-top: -15rem;
}

.floating-left {
    margin-left: 48%;
    margin-top: 10%;
}

.d-inline-block {
    display: inline-block;
}

.position-responsive {
    position: absolute;
}

.list .icon-box {
    width: 4.3rem;
    height: 4.3rem;
}

.list-flush-horizontal {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 1rem;
}

.list-flush-horizontal .list-item:first-child,
.list-flush-horizontal .list-item {
    border-right: 1px solid white;
}

.list-flush-horizontal .list-item:last-child {
    border-left: 1px solid white;
    border-right: none;
}

.list-flush-horizontal .list-item:nth-last-child(2) {
    border: none;
}

.list-group-item {
    background-color: transparent;
    border-radius: 10px;
}

.list-group .list-group-item .link {
    background-color: transparent;
    border-bottom: 1px solid var(--text-color);
    color: var(--text-color);
    transition: all 0.5s;
}

.list-group .list-group-item .link:hover {
    border-color: var(--accent-color) !important;
    color: var(--accent-color) !important;
    background-color: transparent;
}

.list-group .list-group-item.active {
    background-color: var(--accent-color-2);
    color: var(--accent-color);
}

.list-group .list-group-item.list-group-item-action:hover {
    background-color: var(--accent-color-2);
    color: white;
}

.list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    padding-inline: 0.5rem;
}

.list .link {
    font-weight: 400;
    text-wrap: nowrap;
}

.list li {
    padding: 0;
    font-size: 16px;
    font-family: var(--font-2);
}

.list li .link {
    transition: all 0.5s;
    color: var(--text-color);
}

.list li i {
    transition: all 0.5s;
    color: var(--accent-color);
}

.list.text-black i {
    color: #131313;
}

.list li .link:hover,
.list li .link:hover i {
    color: var(--accent-color);
}


/* ---------------------------- */
/* Social and Contact Setting    */
/* ---------------------------- */
.customer-container {
    display: flex;
    flex-direction: row-reverse;
}

.customer-item:nth-child(1) {
    z-index: 6;
}

.customer-item:nth-child(2) {
    z-index: 5;
}

.customer-item:nth-child(3) {
    z-index: 4;
}

.customer-item:nth-child(4) {
    z-index: 3;
}

.subscribe-container {
    box-sizing: border-box;
    margin-bottom: -8em;
}

.contact-item {
    border-radius: 4px;
    aspect-ratio: 1/1;
    font-size: 40px;
    height: 2rem;
    transition: all 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    background-color: var(--accent-color);
    padding: 20px;
}

.social-item {
    border-radius: 50%;
    aspect-ratio: 1/1;
    font-size: 19px;
    width: 2rem;
    height: 2rem;
    transition: all 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    background-color: transparent;
}

.social-item-2 {
    border-radius: 50%;
    aspect-ratio: 1/1;
    font-size: 19px;
    width: 2rem;
    height: 2rem;
    transition: all 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    border: 1px solid var(--primary);
    background-color: transparent;
}

.social-item-3 {
    border-radius: 0;
    aspect-ratio: 1/1;
    font-size: 19px;
    width: 2rem;
    height: 2rem;
    transition: all 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: var(--accent-color-2);
    border: 1px solid var(--accent-color-2);
}

.social-container.accent .social-item:hover {
    background-color: var(--accent-color);
    color: var(--primary);

}

.social-container.share .social-item {
    background-color: var(--accent-color);
    color: white;
}

.social-container.share .social-item:hover {
    background-color: var(--accent-color);
    color: white;
    border: 1px solid var(--accent-color);
}


.social-container.team .social-item {
    width: 1.8rem;
    height: 1.8rem;
    font-size: 16px;
}


.social-item:hover {
    background-color: var(--primary);
    color: var(--accent-color);
    border: solid 1px var(--primary);
}

.social-item-2:hover {
    background-color: var(--primary);
    color: var(--accent-color);
    border: solid 1px var(--primary);
}

.social-item-3:hover {
    background-color: transparent;
    color: var(--accent-color-2);
    border: solid 1px var(--accent-color-2);
}

.social-container .share-button {
    background-color: var(--accent-color-1);
    aspect-ratio: 1/1;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.share-button:hover {
    background-color: var(--accent-color-2);
}

/* ---------------------------- */
/* Breadcrumb    */
/* ---------------------------- */
.breadcrumb {
    align-items: center;
    font-family: var(--font-1);
    font-weight: bold;
    text-transform: uppercase;
}

.breadcrumb .breadcrumb-item>a {
    color: var(--accent-color);
    font-family: var(--font-1);
    font-size: 18px;
}

.breadcrumb .breadcrumb-item.active {
    color: var(--accent-color);
    font-family: var(--font-1);
    font-size: 18px;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--accent-color);
}

/* ---------------------------- */
/* Specific Media Queries       */
/* ---------------------------- */
.video-e119 {
    width: 60%;
    margin-bottom: -3rem;
    margin-left: -3rem;
}

.ifr-video {
    aspect-ratio: 16/9;
    width: 100%;
}

.video-container {
    aspect-ratio: 3/2;
    background-size: cover;
    background-position: center;
    position: relative;
    border: 5px solid white;
    border-radius: 10px;
}

.video-iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.video-btn {
    border-radius: 50%;
    aspect-ratio: 1/1;
    width: 4rem;
    background-color: var(--accent-color);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    font-size: 2rem;
    color: white;
    border: none;
    opacity: 0.7;
}

.video-btn:hover {
    opacity: 1;
    color: white;
}

.request-loader {
    position: relative;
    height: 50px;
    width: 50px;
    border-radius: 50% !important;
    border: solid 1px var(--accent-color);
    background-color: var(--accent-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 25px;
    aspect-ratio: 1/1;
}

.request-loader.accent {
    position: relative;
    height: 50px;
    border-radius: 50% !important;
    border: solid 1px var(--accent-color);
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-color);
    font-size: 25px;
    aspect-ratio: 1/1;
}

.request-loader:hover {
    border: solid 2px var(--accent-color);
    color: var(--accent-color);
    background-color: transparent;
}

.request-loader.accent:hover {
    border: solid 2px var(--accent-color);
    color: var(--accent-color);
    background-color: transparent;
}

.request-loader.accent::after,
.request-loader.accent::before {
    opacity: 0.2;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    color: var(--accent-color);
    border: 4px solid currentColor;
    border-radius: 50%;
    animation-name: ripple;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(.65, 0, .34, 1);
    z-index: 0;
}

.request-loader::after,
.request-loader::before {
    opacity: 0.2;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    color: var(--accent-color);
    border: 4px solid currentColor;
    border-radius: 50%;
    animation-name: ripple;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(.65, 0, .34, 1);
    z-index: 0;
}

.request-loader::after {
    animation-delay: 0.5s;
    animation-duration: 3s;
}

.request-loader::before {
    animation-delay: 0.2s;
    animation-duration: 3s;
}


/* ---------------------------- */
/* card Setting       */
/* ---------------------------- */
.card {
    border: none;
    transition: all 0.5s;
}

.card-accent {
    color: var(--accent-color);
    position: relative;
    background-size: cover;
    background-position: center;
    border-width: 1px;
    border-style: solid;
    border-radius: 10px;
    border-image: linear-gradient(to left, #A502A8, #2F4A9D)1;
}

.card-service {
    color: var(--text-color-2);
    position: relative;
    background-size: cover;
    background-position: center;
    transition: all 0.5s;
}

.card-service:hover {
    color: var(--text-color);
    border-bottom: 4px solid var(--accent-color);
}

.card.card-outline-hover {
    box-shadow: 0 7px 15px 0 rgba(0, 0, 0, .13), 0 1px 4px 0 rgba(0, 0, 0, .11);
    background-color: var(--accent-color-3);
    color: var(--text-color);
}

.card.card-outline-hover i,
.card.card-outline-hover h5 {
    color: var(--accent-color);
}

.card.card-outline-hover:hover {
    color: var(--primary);
    border-radius: 0;
}

.card.card-outline-hover:hover i,
.card.card-outline-hover:hover h5 {
    color: var(--primary);
}

/* Override gradient text on hover to make it black for readability */
.card.card-outline-hover:hover .accent-gradient-text {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: var(--primary) !important;
    color: var(--primary) !important;
    filter: none !important;
}

.card.card-outline-hover:hover .border-accent-color-linear {
    border-image: var(--accent-gradient) 1;
}

.card.card-outline-hover:hover .btn-accent {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    /* Apply gradient to text */
    background-image: var(--accent-gradient) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    /* Ensure black background is maintained */
    position: relative;
}

.card.card-outline-hover:hover .btn-accent::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    z-index: -1;
    border-radius: inherit;
}


.background-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 0;
}

.card-outline-hover:hover .background-hover {
    opacity: 1;
    background: var(--accent-gradient);
    border-radius: 0px;
    /* Add metallic effect with shadow overlay */
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.card-outline-hover.img-hover:hover {
    background-image: var(--url-image);
}

.image-hover {
    opacity: 0;
    position: absolute;
}

.card-outline-hover:hover .image-hover {
    opacity: 100%;
}

/* Blog Card Image Hover Effect */
.card-outline-hover:hover img {
    transform: scale(1.1);
}

.card-testimonial {
    border: none;
    border-radius: 20px;
    transition: all 0.5s;
    background-color: var(--accent-color-3);

}

.icon-box {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    aspect-ratio: 1/1;
    transition: all 0.5s;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--primary);
    padding: 20px;
    width: 5rem;
    height: 5rem;
}

.card .icon-box.bg-accent-color {
    background-color: var(--accent-color);
    color: var(--accent-color);
}

.card .icon-box.accent-color-2 {
    color: var(--accent-color-2);
    font-size: 4rem;
}

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

.card:hover {
    transform: translateY(-5px);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.card-testimonial:hover {
    transform: translateY(-20px);
    box-shadow: 0px 0px 0px 2px var(--accent-color);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.card.card-pricing-hover {
    background-color: transparent;
    font-family: var(--font-2);
    color: var(--text-color);
    box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.card.card-pricing-hover i {
    color: var(--accent-color-2);
}


.card.card-pricing-hover:hover {
    background-color: transparent;
    box-shadow: 0px 0px 0px 2px var(--accent-color);
    color: var(--accent-color);
    transform: scale(1.05);
}

.card-pricing-hover-middle {
    transform: scale(1.04);
    flex: 1.00;
    background-color: var(--accent-color);
    box-shadow: 0px 0px 0px 2px var(--accent-color);
    color: white;
}


.card.card-pricing-hover:hover .btn-accent {
    background-color: var(--accent-color-2);
    border-color: var(--accent-color-2);
    color: white;
}

.card:hover .icon-box.bg-accent-color {
    background-color: var(--accent-color);
    color: var(--accent-color-2);

}

.card.blog {
    background-color: var(--background-color);
}

.card.blog:hover {
    border: solid 1px var(--accent-color-2);
    border-radius: 10px;
}

.card-overlay .card-body {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(4, 56, 63, 0) 0%, rgba(4, 56, 63, 0.72) 100%);
    opacity: 0;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: all 0.5s;
}

.card-overlay:hover .card-body {
    opacity: 1;
    transform: scaleY(1);
}

.card:hover .icon-box.bg-accent-color {
    background-color: white;
    color: var(--accent-color);
}

.card:hover p {
    transition: all 0.5s;
}

.card.with-border-bottom {
    border-bottom: 5px solid var(--accent-color) !important;
}

.card .link {
    color: var(--accent-color);
    transition: color 0.5s;
}

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

.testimonial-container {
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: 100%;
    /* box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.1); */
}

.services-container {
    background-color: transparent;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: 100%;
    box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.1);
}

/* ---------------------------- */
/* Progress and Rating       */
/* ---------------------------- */
.r-progress {
    --value: 17;
    --progress-color: var(--accent-color);
    --secondary-progress-color: var(--accent-color-3);
    --animation-duration: 2000;
}

.r-progress-bar {
    position: relative;
    height: 12px;
    background-color: var(--secondary-progress-color);
    display: flex;
    border-radius: 10px;
    /* overflow: hidden; */
}

.r-progress-bar .progress-value {
    height: 100%;
    width: calc(var(--progress) * 1%);
    background-color: var(--progress-color);
    position: relative;
    border-radius: 10px;
    animation: load;
    animation-fill-mode: forwards;
    animation-duration: calc(var(--animation-duration) * 1ms);
    animation-timing-function: linear;
    animation-delay: 500ms;
    color: black;
}

.r-progress-bar.percentage-label::after {
    counter-reset: percentage var(--progress);
    content: counter(percentage) '%';
    display: block;
    position: absolute;
    left: calc((var(--progress) * 1%));
    animation: load;
    animation-fill-mode: forwards;
    animation-duration: calc(var(--animation-duration) * 1ms);
    animation-timing-function: linear;
    animation-delay: 500ms;
    font-size: 18px;
    line-height: 1.2;
    /* font-weight: 700; */
    font-family: var(--font-1);
    bottom: calc(100% + 0.5rem);
}

.glass-effect {
    background: #a55950d5;
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
}

.rating {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
}

.rating li {
    color: #f1c644;
}

.rating li.inactive {
    color: #d9d9d9;
}

/* ---------------------------- */
/* Accordion                    */
/* ---------------------------- */
.accordion .accordion-item {
    border: none;
    color: var(--text-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-bottom: solid 1px var(--accent-color);
}

.accordion .accordion-button {
    background-color: var(--primary);
    font-weight: 700;
    font-size: 18px;
    padding-inline: 1rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    justify-content: start;
    padding-block: 1.2rem;
    color: var(--text-color);
    text-transform: uppercase;
    border-bottom: solid 1px var(--accent-color);
    font-family: var(--font-1);
    gap: 1em;
}

.accordion-item:last-of-type .accordion-button.collapsed {
    border-radius: 0px;
}

.accordion .accordion-button::after {
    color: white;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23F4F4F4" class="bi bi-caret-up-fill" viewBox="0 0 16 16"><path d="m7.247 4.86-4.796 5.481c-.566.647-.106 1.659.753 1.659h9.592a1 1 0 0 0 .753-1.659l-4.796-5.48a1 1 0 0 0-1.506 0z"/></svg>');
}

.accordion-button:not(.collapsed) {
    /* Highlight active question with metallic gradient + strong contrast text */
    background: var(--accent-gradient);
    color: var(--primary);
    -webkit-text-fill-color: initial;
    box-shadow: none;
    border-bottom: 1px solid transparent;
    border-image: var(--accent-gradient) 1;
}

.accordion .accordion-button:not(.collapsed)::after {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23000000" class="bi bi-caret-up-fill" viewBox="0 0 16 16"><path d="m7.247 4.86-4.796 5.481c-.566.647-.106 1.659.753 1.659h9.592a1 1 0 0 0 .753-1.659l-4.796-5.48a1 1 0 0 0-1.506 0z"/></svg>');

}

.accordion .accordion-body {
    background-color: var(--primary);
    font-size: 14px;
    color: var(--text-color-2);
}


@media only screen and (max-width:993px) {

    /* ---------------------------- */
    /* Typography                   */
    /* ---------------------------- */
    h1 {
        font-size: 50px;
    }

    h2 {
        font-size: 38px;
    }

    h3 {
        font-size: 28px;
    }

    h4 {
        font-size: 22px;
    }

    h5 {
        font-size: 18px;
    }

    h6 {
        font-size: 14px;
    }

    p,
    button,
    a {
        font-size: 13px;
    }

    /* ---------------------------- */
    /* Button and Links Setting     */
    /* ---------------------------- */
    .btn {
        font-size: 13px;
        width: 100%;
    }

    /* ---------------------------- */
    /* Header and Navigation Setting  */
    /* ---------------------------- */
    .logo-container {
        max-width: 100px;
    }

    .nav-link {
        padding-block: 0.2rem;
        text-align: center;
    }

    #header {
        background: #a55950d5;
        backdrop-filter: blur(11px);
        -webkit-backdrop-filter: blur(11px);
    }

    /* ---------------------------- */
    /* Section and Container       */
    /* ---------------------------- */
    .section.bg-attach-cover.program {
        background-image: none;
        border-color: var(--accent-color);
    }

    .section.bg-attach-cover.program h3,
    .section.bg-attach-cover.program p,
    .section.bg-attach-cover.program .program-text {
        color: var(--text-color);
    }

    .section.bg-attach-cover.program h6,
    .section.bg-attach-cover.program span,
    .section.bg-attach-cover.program .btn-black-outline {
        color: var(--accent-color);
        border-color: var(--accent-color);
    }

    .section.bg-attach-cover.program .border-accent-program {
        border-top: 2px solid var(--accent-color);
    }

    .section {
        padding: 4em 2em 4em 2em;
    }

    /* ---------------------------- */
    /* Utility Classes              */
    /* ---------------------------- */
    .w-max-content {
        width: 100%;
    }

    .divider {
        width: 330px;
    }

    .fs-very-large {
        font-size: 3.125rem;
    }

    .number-text {
        font-size: 60px;
    }

    .text-404 {
        font-size: 8rem;
        font-weight: 700;
    }

    .image-absolute-1 {
        left: 45%;
        top: 35%;
    }

    .image-infinite-bg {
        background-size: cover !important;
    }

    

    .border-custom {
        border-width: 0px 0px 1px 0px;
    }

    .outer-margin {
        margin-right: 0;
    }

    .banner-image {
        margin: 0;
        transform: none;
    }

    .testimonial-img {
        margin: 0;
        margin-bottom: 1rem;
    }

    .dropdown-menu {
        width: 100%;
        box-shadow: none;
    }

    .video-e119 {
        width: 85%;
        margin-left: -1.5rem;
    }

    .dropdown-item {
        padding-block: 0.35rem;
    }

    .floating-image {
        position: inherit;
    }

    .floating-price {
        top: -2rem;
        right: -4.8rem;
    }

    .floating-bg {
        position: inherit;
        width: 100%;
        padding-right: 0;
    }

    .floating-banner {
        padding-bottom: 0;
    }

    .floating-top {
        margin-top: 0;
    }

    .floating-left {
        margin-left: 45%;
        margin-top: 46rem;
    }

    .border-testimonial {
        border-right: none;
    }

    .service-container {
        background-color: transparent;
        padding: 30px;
        display: flex;
        flex-direction: column;
        gap: 1.75rem;
        box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.1);
        height: 100%;
    }

    .appointment-box {
        top: -2rem;
        bottom: 0;
        left: 0;
        right: 0;
        height: 8rem;
    }

    .w-md-70 {
        width: 70%;
    }

    .w-md-60 {
        width: 60%;
    }

    .position-responsive {
        position: relative;
    }



    .form-appointment-container {
        position: relative;
        transform: translateY(0);
    }

    .list-flush-horizontal {
        flex-direction: column;
    }

    .list-flush-horizontal .list-item:first-child,
    .list-flush-horizontal .list-item {
        border-right: none;
        border-bottom: 1px solid white;
    }

    .list-flush-horizontal .list-item:last-child {
        border-left: none;
        border-bottom: none;
        border-top: 1px solid white;
    }

    .position-xl-absolute {
        position: static;
    }

    .banner-heading {
        font-size: 2.5rem;
    }

    /* ---------------------------- */
    /* About Section Responsive     */
    /* ---------------------------- */
    /* Statistics overlay box - responsive sizing */
    .bg-accent-gradient.accent-primary {
        padding: 0.75rem 1.5rem !important;
        margin-top: 1rem !important;
    }

    .bg-accent-gradient.accent-primary h1 {
        font-size: 2rem !important;
        margin-bottom: 0.25rem;
    }

    .bg-accent-gradient.accent-primary p {
        font-size: 0.75rem !important;
        line-height: 1.2;
        margin: 0;
    }

    /* Trapezium phone contact - responsive */
    .bg-trapesium-gradient {
        padding: 15px 15px !important;
        margin-left: 1rem !important;
        clip-path: polygon(0px 100%, 100% 100%, calc(100% - 60px) 0%, 0% 0%) !important;
    }

    .trapesium-content {
        padding-right: 3rem !important;
    }

    .trapesium-content .rtmicon {
        font-size: 40px !important;
    }

    .trapesium-content h4 {
        font-size: 1rem !important;
        margin-bottom: 0.25rem;
    }

    .trapesium-content h6 {
        font-size: 0.75rem !important;
        margin: 0;
    }

    .trapesium-content .d-flex.flex-row {
        gap: 0.75rem !important;
    }
}

/* Additional media query for very small devices */
@media only screen and (max-width: 576px) {
    /* Extra small adjustments for statistics box */
    .bg-accent-gradient.accent-primary {
        padding: 0.5rem 1rem !important;
        margin-top: 0.5rem !important;
    }

    .bg-accent-gradient.accent-primary h1 {
        font-size: 1.5rem !important;
    }

    .bg-accent-gradient.accent-primary p {
        font-size: 0.7rem !important;
    }

    /* Extra small adjustments for trapezium */
    .bg-trapesium-gradient {
        padding: 10px 10px !important;
        margin-left: 0.5rem !important;
        clip-path: polygon(0px 100%, 100% 100%, calc(100% - 40px) 0%, 0% 0%) !important;
    }

    .trapesium-content {
        padding-right: 2rem !important;
    }

    .trapesium-content .rtmicon {
        font-size: 30px !important;
    }

    .trapesium-content h4 {
        font-size: 0.9rem !important;
    }

    .trapesium-content h6 {
        font-size: 0.7rem !important;
    }

    .trapesium-content .d-flex.flex-row {
        gap: 0.5rem !important;
    }

    /* ---------------------------- */
/* Pricing Cards Equal Height   */
/* ---------------------------- */

/* Hacer que el contenido interno de las tarjetas use toda la altura disponible */
.card.card-outline-hover.h-100 > .d-flex.flex-column {
    height: 100% !important;
}

/* Hacer que la sección de características crezca para ocupar el espacio disponible */
.card.card-outline-hover .d-flex.flex-column.gap-2 {
    flex-grow: 1;
    min-height: 0; /* Permite que flex-grow funcione correctamente */
}

/* Asegurar que el botón siempre esté en la parte inferior */
.card.card-outline-hover .w-100:last-child {
    margin-top: auto;
}

/* Alternativa: Clase específica para mejor control */
.pricing-card-content {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.pricing-features {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

.pricing-button-container {
    margin-top: auto !important;
}

/* Estilos para el Pop-up del IMC */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.popup {
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: popupSlide 0.4s ease;
    border: 2px solid rgba(78, 205, 196, 0.3);
    color: white;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #ccc;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    color: #ff6b6b;
}

.popup-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #4ecdc4;
    font-weight: bold;
}

.imc-value {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.imc-category {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    font-weight: bold;
}

/* Colores para las diferentes categorías de IMC */
.imc-category.normal { 
    background: rgba(76, 175, 80, 0.2); 
    color: #4CAF50; 
    border: 2px solid rgba(76, 175, 80, 0.5);
}

.imc-category.underweight { 
    background: rgba(33, 150, 243, 0.2); 
    color: #2196F3; 
    border: 2px solid rgba(33, 150, 243, 0.5);
}

.imc-category.overweight { 
    background: rgba(255, 193, 7, 0.2); 
    color: #FFC107; 
    border: 2px solid rgba(255, 193, 7, 0.5);
}

.imc-category.obese { 
    background: rgba(244, 67, 54, 0.2); 
    color: #F44336; 
    border: 2px solid rgba(244, 67, 54, 0.5);
}

.popup-description {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #4ecdc4;
}

.popup-btn {
    background: var(--accent-gradient);
    border: 1px solid transparent;
    padding: 16px 32px;
    border-radius: 0;
    color: var(--primary);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.5s ease;
    font-size: 18px;
    font-family: var(--font-1);
    text-transform: uppercase;
    min-width: 160px;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.popup-btn::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;
}

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

.popup-btn:hover {
    background: var(--accent-gradient-2);
    color: var(--primary);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.3);
}

.popup-btn:active {
    transform: translateY(1px);
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popupSlide {
    from { 
        opacity: 0; 
        transform: translateY(-50px) scale(0.9); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .popup {
        margin: 20px;
        padding: 30px 20px;
        max-width: 350px;
    }
    
    .imc-value {
        font-size: 2.5rem;
    }
    
    .popup-title {
        font-size: 1.5rem;
    }
    
    .popup-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .popup {
        margin: 15px;
        padding: 25px 15px;
    }
    
    .imc-value {
        font-size: 2rem;
    }
    
    .popup-title {
        font-size: 1.3rem;
    }
}

/* Estilos específicos para botones de género */
.gender-toggle {
    gap: 10px;
}

/* BMI Modal Variables */
:root {
  --modal-bg: #111;
  --modal-w: min(92vw, 540px);
  --modal-h: 90vh;
  --modal-radius: 16px;
  --modal-shadow: 0 24px 80px rgba(0,0,0,.45);
  --modal-border: 1px solid rgba(255,255,255,.08);
  --modal-text: #fff;
  --modal-text-muted: #cbd5e1;
  --modal-transition: 220ms ease;
}

/* Prevent background scroll when modal is open */
body.modal-open,
html.modal-open {
    overflow: hidden !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* Hidden state for modals */
#bmiModal[hidden],
#calorieModal[hidden] {
  display: none !important;
}

#bmiModal:not([hidden]),
#calorieModal:not([hidden]) {
  display: block !important;
}

#bmiModalOverlay[hidden],
#calorieModalOverlay[hidden] {
  display: none !important;
}

#bmiModalOverlay:not([hidden]),
#calorieModalOverlay:not([hidden]) {
  display: block !important;
}

/* Resultado BMI - Tema oscuro elegante */
.bmi-result {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  width: 100%;
}

.bmi-value {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bmi-category {
  font-size: 1.25rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.bmi-result p {
  color: var(--modal-text-muted);
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.bmi-result small {
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive BMI para móviles */
@media (max-width: 576px) {
  .bmi-value {
    font-size: 2.8rem;
  }
  
  .bmi-category {
    font-size: 1.1rem;
    padding: 8px 16px;
  }
}

/* Colores de categoría BMI */
.bmi-underweight {
  background: linear-gradient(135deg,#74b9ff,#0984e3);
}

.bmi-normal {
  background: linear-gradient(135deg,#00b894,#00a085);
}

.bmi-overweight {
  background: linear-gradient(135deg,#fdcb6e,#e17055);
}

.bmi-obese {
  background: linear-gradient(135deg,#e17055,#d63031);
}


}
/* ---------------------------- */
/* Blog Carousel Styles         */
/* ---------------------------- */

/* Swiper Blog Container */
.swiperBlog {
    padding: 2rem 6rem 4rem 6rem; /* Aumentado de 3.5rem a 6rem para dar espacio a los botones */
    overflow: visible; /* Visible para que los botones no se corten */
}

/* Contenedor interno para proper spacing */
.swiperBlog .swiper-wrapper {

}

/* Ensure all blog slides have equal height */
.swiperBlog .swiper-slide {
    height: auto;
    display: flex;
    padding: 0 5px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Ocultar slides que están parcialmente fuera del contenedor */
.swiperBlog .swiper-slide:not(.swiper-slide-visible) {
    opacity: 0;
    pointer-events: none;
}

.swiperBlog .swiper-slide > a {
    display: flex;
    flex: 1;
}

.swiperBlog .card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.swiperBlog .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.swiperBlog .card-body p {
    flex: 1;
}

/* Blog Ribbon Diagonal - Estilo "NUEVO" */
.blog-ribbon {
    position: absolute;
    top: 15px;
    left: -35px;
    z-index: 10;
    width: 150px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-gradient));
    padding: 8px 10px;
    text-align: center;
    transform: rotate(-45deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.blog-ribbon span {
    color: #000000;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

.blog-ribbon::before,
.blog-ribbon::after {
    content: '';
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
}

.blog-ribbon::before {
    left: 0;
    border-width: 0 0 8px 8px;
    border-color: transparent transparent rgba(0, 0, 0, 0.3) transparent;
}

.blog-ribbon::after {
    right: 0;
    border-width: 8px 8px 0 0;
    border-color: rgba(0, 0, 0, 0.3) transparent transparent transparent;
}

/* Ocultar ribbon por defecto (se mostrará dinámicamente con JS) */
.blog-ribbon.hidden {
    display: none;
}

/* Blog Grid - Cards con altura uniforme (para blog.html) */
.col > a {
    text-decoration: none;
    color: inherit;
    display: flex;
    height: 100%;
}

.col > a:hover {
    text-decoration: none;
    color: inherit;
}

.col > a .card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.col > a .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.col > a h4,
.col > a p,
.col > a span,
.col > a ul {
    color: inherit;
}

.col > a:hover .card {
    cursor: pointer;
}

/* Blog Card Hover Effects */
.card-outline-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-outline-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-outline-hover:hover .img-fluid {
    transform: scale(1.05);
}

/* Blog Card Link Styles */
.swiper-slide > a {
    text-decoration: none;
    color: inherit;
}

.swiper-slide > a:hover {
    text-decoration: none;
    color: inherit;
}

.swiper-slide > a h4,
.swiper-slide > a p,
.swiper-slide > a span {
    color: inherit;
}

.swiper-slide > a:hover .card {
    cursor: pointer;
}

/* Blog Navigation Buttons */
.swiper-nav-blog {
    width: 50px;
    height: 50px;
    background: #000000;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.swiper-nav-blog:after {
    font-size: 20px;
    font-weight: bold;
    color: var(--accent-color);
}

.swiper-nav-blog:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #000000;
    transform: scale(1.1);
}

.swiper-nav-blog:hover:after {
    color: #000000;
}

.swiper-button-next.swiper-nav-blog,
.swiper-button-prev.swiper-nav-blog {
    top: 45%;
    transform: translateY(-50%);
    /* Posicionamiento horizontal será manejado dinámicamente por JavaScript */
}

.swiper-button-next.swiper-nav-blog {
    right: auto; /* JavaScript lo ajustará dinámicamente */
}

.swiper-button-prev.swiper-nav-blog {
    left: auto; /* JavaScript lo ajustará dinámicamente */
}

/* Blog Pagination */
.swiper-pagination-blog {
    bottom: 0 !important;
}

.swiper-pagination-blog .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.swiper-pagination-blog .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--accent-gradient);
    width: 30px;
    border-radius: 6px;
}

/* Responsive adjustments for navigation */
@media (max-width: 1200px) {
    .swiperBlog {
        padding: 2rem 3rem 4rem 3rem;
    }
    
    .swiper-button-next.swiper-nav-blog {
        right: 5px;
    }
    
    .swiper-button-prev.swiper-nav-blog {
        left: 5px;
    }
    
    .swiper-nav-blog {
        width: 40px;
        height: 40px;
    }
    
    .swiper-nav-blog:after {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .swiperBlog {
        padding: 1rem 0 3rem 0;
    }
    
    .swiper-button-next.swiper-nav-blog,
    .swiper-button-prev.swiper-nav-blog {
        display: none;
    }
}

/* ====================================== */
/* Herramientas Section - Tool Cards      */
/* ====================================== */

.tool-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,.05);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,.3);
}

.tool-header h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* ====================================== */
/* Modal Base Styles (Shared)             */
/* ====================================== */

.modal-title {
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

@media (max-width: 576px) {
    .modal-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
}

/* ====================================== */
/* Calorie Modal Styles                   */
/* ====================================== */

.calorie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,.6);
    z-index: 1054;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    backdrop-filter: blur(4px);
}

.calorie-modal-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.calorie-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: min(92vw, 580px);
    max-height: 90vh;
    background: #111;
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0,0,0,.5);
    border: 1px solid rgba(255,255,255,.08);
    z-index: 1055;
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
    padding: 2rem;
    overflow-y: auto;
    overflow-x: hidden;
    color: #fff;
    /* Hide scrollbar for Chrome, Safari and Opera */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.calorie-modal::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.calorie-modal.is-open {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.calorie-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 0;
    color: #fff;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all .3s ease;
}

.calorie-modal__close:hover {
    background: rgba(255,255,255,.2);
    border-color: rgba(255,255,255,.4);
    transform: scale(1.1);
    color: #ff6b6b;
}

/* Calorie Result Styles */
.calorie-results {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.calorie-tmb {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: rgba(255,255,255,.05);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.1);
}

.tmb-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tmb-value {
    font-size: 2rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.calorie-goals {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calorie-goal {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    transition: transform 0.2s ease, background 0.2s ease;
}

.calorie-goal:hover {
    transform: translateX(5px);
    background: rgba(255,255,255,.06);
}

.goal-icon {
    font-size: 1.8rem;
    width: 50px;
    text-align: center;
}

.goal-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.goal-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.goal-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.goal-detail {
    font-size: 0.8rem;
    color: rgba(255,255,255,.5);
}

/* Goal specific colors */
.calorie-goal.lose {
    border-left: 3px solid #74b9ff;
}

.calorie-goal.lose .goal-value {
    color: #74b9ff;
}

.calorie-goal.maintain {
    border-left: 3px solid #00b894;
}

.calorie-goal.maintain .goal-value {
    color: #00b894;
}

.calorie-goal.gain {
    border-left: 3px solid #fdcb6e;
}

.calorie-goal.gain .goal-value {
    color: #fdcb6e;
}

.calorie-summary {
    padding: 1rem;
    background: rgba(255,255,255,.03);
    border-radius: 8px;
    font-size: 0.9rem;
    color: rgba(255,255,255,.7);
    text-align: center;
}

.calorie-summary p {
    margin: 0.25rem 0;
}

.calorie-info {
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.08);
}

.calorie-info .info-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
}

.calorie-info p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,.6);
    line-height: 1.5;
}

/* Responsive for Calorie Modal */
@media (max-width: 576px) {
    .calorie-modal {
        width: 95vw;
        padding: 2.5rem 1rem 1.5rem;
        max-height: 85vh;
    }
    
    .calorie-modal__close {
        top: 0.5rem;
        right: 0.5rem;
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .calorie-modal h2 {
        margin-top: 0.5rem;
    }
    
    .tmb-value {
        font-size: 1.6rem;
    }
    
    .goal-value {
        font-size: 1.25rem;
    }
    
    .goal-icon {
        font-size: 1.5rem;
        width: 40px;
    }
    
    .calorie-goal {
        padding: 0.75rem 1rem;
    }
}

/* ====================================== */
/* BMI Modal Improvements                 */
/* ====================================== */

/* Override previous complex styles with simpler ones */
.bmi-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,.6);
    z-index: 1054;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    backdrop-filter: blur(4px);
}

.bmi-modal-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.bmi-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: min(92vw, 380px);
    max-height: 90vh;
    background: #111;
    border-radius: 20px;
    box-shadow: 0 24px 80px rgba(0,0,0,.5);
    border: 1px solid rgba(255,255,255,.08);
    z-index: 1055;
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
    padding: 2.5rem 2rem 2rem;
    overflow-y: auto;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bmi-modal.is-open {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.bmi-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 0;
    color: #fff;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all .3s ease;
}

.bmi-modal__close:hover {
    background: rgba(255,255,255,.2);
    border-color: rgba(255,255,255,.4);
    transform: scale(1.1);
    color: #ff6b6b;
}

/* Responsive for BMI Modal */
@media (max-width: 576px) {
    .bmi-modal {
        width: 95vw;
        padding: 1.5rem 1rem;
        max-height: 85vh;
    }
}
