/* Global Variables */
/* Load Montserrat SemiBold */
@font-face {
    font-family: 'Montserrat SemiBold';
    src: url('/assets/fonts/Montserrat-SemiBold.ttf') format('opentype');
    /* font-weight: 600;  */
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat Regular';
    src: url('/assets/fonts/Montserrat-Regular.ttf') format('opentype');
    /* font-weight: 600;  */
    font-style: normal;
}


@font-face {
    font-family: 'Montserrat Medium';
    src: url('/assets/fonts/Montserrat-Medium.ttf') format('opentype');
    /* font-weight: 600;  */
    font-style: normal;
}

/* Load Renogare Regular */
@font-face {
    font-family: 'Renogare';
    src: url('/assets/fonts/Renogare-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

/* Common Version */

:root {
    /* --ff-global-font: "SF Pro Display","SF Pro Icons","AOS Icons","Helvetica Neue","Helvetica","Arial","sans-serif"; */
    --ff-global-font: "Montserrat Regular", "SF Pro Display", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-montserrat-regular: 'Montserrat Regular', sans-serif;
    --font-montserrat-semibold: 'Montserrat SemiBold', sans-serif;
    --font-montserrat-medium: 'Montserrat Medium', sans-serif;
    --font-renogare: 'Renogare', sans-serif;
    --border-75: 4.688rem;
    --border-50: 3.125rem;
    --border-25: 1.563rem;
    --border-18: 1.125rem;
    --border-15: 0.938rem;
    --border-12: 0.75rem;
    --border-8: 0.5rem;
    --border-6: 0.375rem;

    /* COLORS */
    --primary-50: #effcfc;
    --primary-100: #d8f5f4;
    --primary-200: #b5ecec;
    --primary-300: #82ddde;
    --primary-400: #47c5c9;
    --primary-500: #2caab0;
    --primary-600: #278993;
    --primary-700: #266e78;
    --primary-800: #275b63;
    --primary-900: #133239;

    --neutral-50: #F9F9F9;
    --neutral-100: #F5F5F5;
    --neutral-200: #E5E5E5;
    --neutral-300: #D4D4D4;
    --neutral-400: #A3A3A3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;

    --accent-50: #FAF7F2;
    --accent-100: #FBF5E9;
    --accent-200: #F7E9D3;
    --accent-300: #E8D2B6;
    --accent-400: #D2B599;
    --accent-500: #B49073;
    --accent-600: #9A6F54;
    --accent-700: #815239;
    --accent-800: #683724;
    --accent-900: #562416;

    --heading-desktop-h1: 2.25rem;
    --heading-desktop-h2: 2rem;
    --heading-desktop-h3: 1.813rem;
    --heading-desktop-h4: 1.625rem;
    --heading-desktop-h5: 1.438rem;
    --heading-desktop-h6: 1.238rem;

    --heading-tablet-h1: 2rem;
    --heading-tablet-h2: 1.75rem;
    --heading-tablet-h3: 1.563rem;
    --heading-tablet-h4: 1.375rem;
    --heading-tablet-h5: 1.188rem;
    --heading-tablet-h6: 0.988rem;
    --dark-light: #383B3B;
    --dark: #2D2F2F;
    --white: #ffffff;
    --background-2: #F2F7F8;
    --google-review-yellow: #fdd663;

    --box-shadow-polaroid: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    --box-shadow-mini-course: rgb(1 50 73 / 15%) 0px 4px 40px;
    --background-figcaption: rgb(5 94 110 / 80%);

    --gallery-max-width: 80vw;
    --gallery-max-height: 70vh;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    scroll-margin-top: 3rem;
}

html {
    font-family: var(--ff-global-font);
    /* font-family: 'Montserrat Regular', sans-serif; */
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.47rem;
    font-style: normal;
    font-weight: 300;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    /* background: var(--dark); */
    color: var(--light);
    margin: 0;
    padding: 0;
    -webkit-overflow-scrolling: touch;
    overflow-y: scroll;
    scroll-behavior: smooth;
}


html[data-theme="pro"] {
    color: var(--white);
    background: var(--dark);
}

html[data-theme="pro"] :is(.top-nav, .nav-icons, .bg-2, .dropdown-button, .links-container, .dropdown-item, .text-with-offer-card, .step-card) {
    background-color: var(--dark);
    background: var(--dark);
    color: var(--white);
}

html[data-theme="pro"] :is(.tabs-info-tab) {
    background-color: var(--dark);
    background: var(--dark);
    color: var(--primary-500);
}


html[data-theme="pro"] :is(.form-container) {
    background-color: rgba(0, 0, 0, 0.7)
}

html[data-theme="pro"] :is(.flow-root, .how-to-section) {
    background-color: var(--dark-light);
    background: var(--dark-light);
}


html[data-theme="pro"] :is(p, .step-number, .nav-icons-main-points-figure figcaption, .top-nav a, .nav-icons-a, .hgroup p, .subtitle, .why-choose-description, .course-mini-text, .course-mini-item figcaption, .courses-mini-info-item, .unique-footer-column ul li a, .unique-footer-bottom ul li a, .why-choose-description p) {
    color: var(--white);
}

html[data-theme="pro"] :is(.nav-icons-svg, .top-nav svg, .nav-icons-large-svg) {
    fill: var(--white);
}


html[data-theme="pro"] :is(.course-mini-item, .course-mini-info) {
    border: 2px solid var(--primary-500)
}


html[data-theme="pro"] :is(.dropdown-button) {
    border: 1px solid var(--white)
}


html[data-theme="pro"] :is(summary.faq-question, .why-choose-title, .nav-icons-value, .tabs-info-time, h2) {
    color: var(--primary-500) !important;
}

html[data-theme="pro"] :is(.comment) {
    color: var(--primary-900);
}
html[data-theme="pro"] :is(.unique-footer-column, .unique-footer-newsletter h4) {
    color: var(--white) !important;
}

html[data-theme="pro"] :is(hr) {
    background: var(--accent-500);
    background-color: var(--accent-500);
}


html[data-theme="pro"] :is(.tabs-info-content ul li::before) {
    border: 3px solid pink !important;
}

/* html[data-theme="pro"] .tabs-info-content ul li::before {
    content: "";
    border: 3px solid var(--primary-800);
} */

/* ECWIND */
html#ecwid_html body#ecwid_body .ecsp.ecsp-SingleProduct-v2 div[customprop='addtobag'] {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


.ecsp .ecwid-btn--primary,
.ecwid .ecwid-btn--primary {
    background-color: var(--primary-500) !important;
    background: var(--primary-500) !important;
    color: var(--neutral-50);
    font-family: var(--font-montserrat-semibold) !important;
    
    /* width: 100% !important;
    min-width: 114px !important; */
}

.ecsp .ecwid-btn--primary:hover,
.ecwid .ecwid-btn--primary:hover {
    background-color: var(--primary-700) !important;
    background: var(--primary-700) !important;
}

html#ecwid_html body#ecwid_body .ecsp.ecsp-SingleProduct-v2 {
    min-width: 100px !important;
}

/* 
html#ecwid_html body#ecwid_body .ecsp .ecwid-btn--primary, html#ecwid_html body#ecwid_body .ecwid .ecwid-btn--primary {

} */
/* html#ecwid_html body#ecwid_body .ecwid div {
    width: 100% !important;
} */



/* html#ecwid_html body#ecwid_body .ecsp.ecsp-SingleProduct-v2 {
    min-width: 100% !important;
    max-width: 100% !important;
    border-radius: var(--border-6);
} */

html#ecwid_html body#ecwid_body .ecsp.ecsp-SingleProduct-v2.loaded {
    padding-bottom: 0 !important;
}


.btn.ecwid {
    /* width: auto !important; */
    font-family: var(--font-montserrat-semibold) !important;
    padding: 0 !important;
    /* padding: 0 !important; */
}
/* END ECWIND */





body {
    margin: 0;
    padding: 0;
    /* min-height: 100vh; */
    text-wrap: pretty;
}

/* 
main {
    
} */

figure {
    margin: 0;
}

video {
    object-fit: cover;
    position: absolute;
    left: 0;
    width: 100%;
    height: auto;
}

p {
    /* text-wrap: balance; */
    text-wrap: pretty;
    color: var(--primary-900);
}

strong {
    font-weight: bold;
}

p strong {
    font-family: var(--font-montserrat-semibold);
    font-weight: bolder;
}

p a {
    color: var(--primary-500);
}

p a:hover {
    color: var(--primary-600);
    transition: all ease-in-out .5s;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    /* line-height: 4rem; */
    font-family: var(--font-renogare);
    line-height: normal;
    font-weight: lighter; /* Changed headings to use lighter */
}

h1 {
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}

.h1-with-desc {
    color: var(--primary-500);
    line-height: 2.5rem;
    text-align: center;
    text-wrap: balance;
    text-transform: uppercase;
    margin-bottom: 0;
    font-size: 2.5rem;
    letter-spacing: -1px;
    line-clamp: 4;
    -webkit-line-clamp: 4;
}


h2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

h2 {
    color: var(--primary-500);
}
h4 {
    color: var(--primary-600)
}

.bg-primary h2 {
    color: white;
}

/* .hgroup {
    margin-bottom: 2rem;
} */


.pt-4rem {
    padding-top: 4rem;
}
.pb-3rem {
    padding-bottom: 3rem;
}
.hgroup h2 {
    text-align: center;
    text-wrap: balance;
    text-transform: uppercase;
    margin-bottom: 0;
}

.hgroup p,
.subtitle {
    color: var(--primary-900);
    text-align: center;
    font-weight: bolder;
    margin-top: .5rem;
    font-weight: bolder;
    font-family: var(--font-montserrat-semibold);
}

/* a:hover {
    color: var(--primary-600);
} */

hr {
    background: var(--accent-500);
    height: 3px;
    border: none;
    /* width: 30%; */
    /* min-width: 8rem;
    max-width: 30%; */
}

hr.hr-30-4px {
    height: 4px;
    width: 30%;
    min-width: 8rem;
    max-width: 30%;
}

hr.left {
    margin-left: 0;
}

.hr-half-slim {
    height: 2px;
    width: 50%;
}

.hr-half {
    width: 50%;
    margin-inline: auto;
}


.hr-natural {
    background: var(--neutral-300);
    height: 1px;
}

.hr-vertial-neutral {
    display: block;
    height: 2.75rem;
    line-height: 2.75rem;
    background: var(--neutral-300);
    width: 1px;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    font-size: 0.813rem;
    line-height: 1.125rem;
}


.p-large {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.p-medium {
    font-size: 1rem;
    line-height: 1.5rem;
}

.p-small {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.p-xsmall {
    font-size: 0.75rem;
    line-height: 1.125rem;
}

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


.bg-2 {
    background: linear-gradient(var(--background-2) 0%, var(--background-2) 70%, transparent 100%);
}

.bg-3 {
    background: linear-gradient(var(--background-2) 0%, var(--background-2) 90%, transparent 100%);
}

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

.bg-primary {
    background: linear-gradient(var(--primary-600) 0%, var(--primary-700) 100%);
}

.flow-root {
    display: flow-root;
}

.clear {
    clear: both;
}


blockquote {
    margin-inline-start: 0;
    padding-left: 40px;
    border-left: 4px solid var(--accent-800);
}

cite {
    color: var(--neutral-500);
    font-size: 1rem;
    display: block;
    text-align: left;
}

/* width */

::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

/* Track */

::-webkit-scrollbar-track {
    background: red;
    border-radius: var(--border-6);
}


/* Handle */

::-webkit-scrollbar-thumb {
    /* background: yellow; */
    border-radius: var(--border-8);
}


/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
    background: blue;
}

::-webkit-scrollbar {
    display: none;
}

.rounded-top {
    border-radius: var(--border-6) var(--border-6) 0 0;
}

.rounded {
    border-radius: var(--border-6);
}

.rounded-8 {
    border-radius: var(--border-8);
}

.rounded-img {
    border-radius: var(--border-18);
}

.pb-25 {
    padding-bottom: .25rem;
}

.pt-25 {
    padding-top: .25rem;
}

.pb-5 {
    padding-bottom: .5rem;
}

.pt-5 {
    padding-top: .5rem;
}

.pb-75 {
    padding-bottom: .75rem;
}

.pt-75 {
    padding-top: .75rem;
}

.pt-1 {
    padding-top: .75rem;
}

.pb-1 {
    padding-bottom: 1rem;
}

.pt-125 {
    padding-top: 1.25rem;
}

.pb-125 {
    padding-bottom: 1.25rem;
}

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

.mb-0 {
    margin-bottom: 0;
}

.mt-25 {
    margin-top: .25rem;
}

.mb-25 {
    margin-bottom: .25rem;
}

.mb-5 {
    margin-bottom: .5rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mb-150 {
    margin-bottom: 1.5rem;
}

.mb-75 {
    margin-bottom: .75rem;
}

.mt-75 {
    margin-top: .75rem;
}

.mb-80 {
    margin-bottom: 5rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-125 {
    margin-top: 1.25rem;
}


.btn {
    text-decoration: none;
}

.btn.medium {
    padding: .5rem 1rem;
}

.btn.book {
    border: 1px solid var(--primary-500);
    background: var(--primary-500);
    color: var(--neutral-50);
    transition: all linear 0.25s;
}

.btn.book:hover {
    background: var(--primary-700);
    color: var(--neutral-50);
}

.btn.learn {
    border: 1px solid var(--primary-500);
    color: var(--primary-500);
    transition: all linear 0.25s;
}

.btn.learn:hover {
    background: var(--primary-700);
    color: var(--neutral-50);
}

.btn.mini-card {
    width: calc(50% - var(--bodyGutter));
    min-width: calc(50% - var(--bodyGutter));
    text-align: center;
    font-family: var(--font-montserrat-semibold);
}


/* SLIDER COMMON */
.vertical-scrolling {
    scroll-snap-type: x mandatory;
    overflow-x: scroll;
    overflow-y: clip;
    display: flex;
    display: -ms-flexbox;
    scrollbar-width: none;
}

/* END SLIDER COMMON */


/* TOP SUB NAVIGATION SLIDER WITH ICONS */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 11;
    background-color: var(--white);
}


.line-vertical-break {
    line-height: 2rem;
    font-size: 2rem;
    color: var(--accent-500)
}

/* Dropdown Container */
.custom-dropdown {
    position: relative;
    display: inline-block;
}
/* Courses overview button under courses */
.co-button-div {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 10rem;
    margin: 0;
}

.co-button {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.2s;
}

.co-button:hover {
    background-color: #e5e7eb;
}

.co-button-text {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--primary-500);
}

.co-button-icon {
    margin-left: 0.5rem;
    color: var(--primary-500);
}


/* Contact */
.contact-container {
    max-width: 700px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-container h1 {
    color: var(--primary-600);
    text-transform: uppercase;
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-row {
    display: flex;
    gap: 12px;
    /* space between label and value */
    margin-bottom: 2rem;
    /* vertical space between rows */
}

.contact-row a {
    color: var(--primary-400)
}

.contact-row .label {
    font-weight: bold;
    font-size: 1rem;
    color: var(--primary-900);
    min-width: 6rem;
    /* align labels nicely */
}

.google-maps {
    width: 100%;
    height: 50vh;
    border: 0;
}

/* Policies*/

.policy-text p {
    text-align: justify;
}

/* Dropdown Button */
.dropdown-button {
    background-color: white;
    color: var(--primary-500);
    border: 1px solid var(--primary-500);
    padding: 4px 5px;
    /* font-size: 16px; */
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 2px;
}

/* Dropdown Content */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 4rem;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    z-index: 1;
    cursor: pointer;
    border-radius: 4px;
}

.dropdown-content .dropdown-item {
    color: #00a3b4;
    padding: .25rem .5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-content .dropdown-item:hover {
    background-color: var(--primary-500);
    color: white;
}

/* Show Dropdown on Hover */
.custom-dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content svg {
    fill: var(--primary-500);
    height: 24px;
}

.dropdown-content .dropdown-item:hover svg {
    fill: white;
    stroke: white;
}
/* 
#language-select {
    display: none;
} */

.nav-icons {
    height: 4.5rem;
    justify-content: space-around;
    align-items: center;
    /* border-bottom: 1px solid var(--neutral-200); */
    gap: 1.5rem;
    position: sticky;
    top: 4.5rem;
    z-index: 10;
    background: white;
    box-shadow: 0 6px 8px -4px rgba(0, 0, 0, 0.1);
}

.nav-icons-a {
    display: block;
    text-decoration: none;
    color: var(--primary-700);
    height: 100%;
}


.nav-icons figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform ease-in-out 250ms;
    height: 100%;
    justify-content: center;
    min-width: 3rem;
    scroll-snap-align: center;
}


.nav-icons figcaption {
    text-wrap: nowrap;
    text-align: center;
    width: 100%;
    border-bottom: 2px solid transparent;
    position: relative;
    font-family: var(--font-montserrat-medium);
}

.nav-icons figure figcaption::before {
    content: '';
    display: block;
    height: .25rem;
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    transform: scale(0, 1);
    transition: transform linear 250ms;
    border-bottom: 2px solid var(--primary-300);
}

.nav-icons figure:hover figcaption::before {
    transform: scale(1, 1);
}

/* END TOP SUB NAVIGATION SLIDER WITH ICONS */

a.review-comment {
    text-decoration: none;
    /* Removes underline */
    color: inherit;
    /* Inherits color from parent, or set a custom one */
}

/* HERO BANNER */
.hero-banner {
    position: relative;
    max-width: 1920px;
    margin-inline: auto;
}

.hero-banner picture {
    display: block;
    overflow: hidden;
}

.hero-banner video {
    display: none;
    top: 0;
    height: 100%;
}

.hero-banner:hover video {
    display: block;
    z-index: 10;
}

.hero-banner picture::before,
.hero-banner video::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .4);
    pointer-events: none;
    z-index: 1;
}

.hero-banner img {
    height: 100%;
}
.team-wrapper {
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    overflow-y: clip;
    display: flex;
    display: -ms-flexbox;
    gap: var(--bodyGutter);
    padding-right: var(--bodyGutter);
    margin-block: 3.688rem 3rem;
    padding-left: var(--bodyGutter);
    /* scrollbar-width: none; */
    /* Firefox */
}
.inner-box {
    position: absolute;
    top: 2.125rem;
    left: 1.875rem;
    right: 1.875rem;
    bottom: 2.125rem;
    border: 4px solid var(--primary-50);
    border-radius: var(--border-8);
    text-transform: uppercase;
    color: var(--primary-50);
    text-align: center;
    text-shadow: 1px 1px 2px var(--white);
    z-index: 2;
}

/* END HERO BANNER */

.whatsapp-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    text-align: center;
    z-index: 1000;
}

.whatsapp-container p {
    margin: 0 0 5px;
    font-weight: bold;
    background-color: #25d366;
    color: white;
    padding: 5px 10px;
    border-radius: 20px 20px 0 0;
    font-family: var(--font-montserrat-medium);
    font-size: 16px;
}

.whatsapp-float {
    background-color: #25d366;
    color: white;
    border-radius: 40px 40px 40px 40px;
    padding: 12px 18px;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.whatsapp-float i {
    font-size: 2rem;
}

.whatsapp-float:hover {
    background-color: #1ebc59;
}

/* Gallery */
.gallery-img-credit {
    position: absolute;
    left: 27.5vw;
    bottom: 0vh;
    color: #F2F7F8;
    font-size: 1.850rem;

}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(50%);
    color: var(--primary-50);
    font-size: 2rem;
    background: transparent;
    padding: 0.5rem;
    border-radius: 50%;
    border: none;
    z-index: 1;
}

.gallery-btn.left {
    left: 15vw;
}

.gallery-btn.right {
    right: 15vw;
}
.gallery-grid-close-btn {
    transform: scale(1.2);
}
.gallery-grid-close-btn:hover {
    transform: scale(1.6);
    color: var(--primary-400);
}

.gallery-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}
.gallery-btn-icon {
    top: 50%;
    height: 3rem;
    width: 3rem;
    stroke: var(--primary-100);
}

.gallery-btn-icon:hover {
    stroke: var(--primary-500);
    transform: scale(1.3);
}

.space-x-4>*+* {
    margin-left: 1rem;
}

.gallery-grid-modal-content {
    align-items: center;
}

/* HERO GALLERY */


.gallery-grid-hero {
    margin: 0 auto;
    max-width: var(--gallery-max-width);
    max-height: 70vh;
}

.gallery-grid-header {
    display: flex;
    gap: 4px;
    position: relative;
    max-height: var(--gallery-max-height);
    /* Limit the height */
    overflow: hidden;
    /* Hide overflow */
}

/* Main Image */
.gallery-grid-main-image {
    flex: 1 1 calc(50% - 2px);
    /* Subtract half of the gap */
}

.gallery-grid-main-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: var(--border-6);

}

/* Thumbnails */
.gallery-grid-thumbnail-grid {
    flex: 1 1 calc(50% - 2px);
    /* Subtract half of the gap */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    height: 100%;
    /* Make it fill the available height */
}

.gallery-grid-thumbnail-grid a {
    display: block;
    max-height: calc(var(--gallery-max-height)/2);
}

.gallery-grid-thumbnail-grid img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: var(--border-6);
}

/* Show All Button */
.gallery-grid-show-all-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    padding: 0.375rem 0.75rem;
    background-color: rgb(44 170 176 / 80%);
    color: #fff;
    border: none;
    border-radius: var(--border-6);
    font-size: 0.75rem;
    text-decoration: none;
    cursor: pointer;
    line-height: 1.125rem;
    display: flex;
    align-items: center;
}

.gallery-grid-show-all-btn:hover {
    background-color: var(--primary-700);
}

.gallery-grid-show-all-btn svg {
    fill: transparent;
    stroke: white;
    width: 0.875rem;
    height: auto;
    margin-left: .25rem;
}

/* Modal Styling */
.gallery-grid-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.gallery-grid-modal:target {
    display: flex;
}

.gallery-grid-modal-content {
    position: relative;
    width: 90%;
    max-width: 80vw;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-grid-close-btn {
    position: absolute;
    top: 10vh;
    right: 15vw;
    color: #fff;
    font-size: 3rem;
    text-decoration: none;
    z-index: 1001;
}

.gallery-grid-slider {
    width: 60%;
    /* Images take up 70% of modal width */
    /* max-height: 90%; */
}

.gallery-grid-slides {
    display: flex;
    gap: var(--bodyGutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.gallery-grid-slide {
    flex-shrink: 0;
    width: 100%;
    scroll-snap-align: center;
}

.gallery-grid-slide img {
    width: 100%;
    height: 90%;
    object-fit: contain;
    border-radius: var(--border-6);
}

/* END HERO GALLERY */

/* HERO BLOG DETAILS */
/* General container styles */
.blog-details-header-container {
    text-align: center;
    /* padding: 20px; */
    /* box-sizing: border-box; */
}

/* Title styling */
.blog-details-header-title {
    color: var(--primary-500);
    margin: 0;
    line-height: normal;
}

/* Metadata (date and author) styling */
.blog-details-header-meta {
    font-size: 1rem;
    color: var(--accent-500);
    /* Neutral color for text */
    margin: 0;
    font-family: var(--font-montserrat-semibold);
}

.blog-details-header-date,
.blog-details-header-author {
    font-weight: bold;
    /* Highlights date and author */
}

/* Image styling */
.blog-details-header-hero-image {
    width: 100%;
    /* height: rem;*/
    display: block;
    border-radius: var(--border-6);
    object-fit: contain;
    object-position: center;
}

.blog-post-contnet {
    margin-inline: auto;
    width: 100%;
    max-width: 49.813rem;
}
.blog-post-contnet ul li {
    text-align: left;
}


.blog-post-contnet img {
    margin-block: 2rem;
}

.blog-post-contnet :is(h1, h2, h3, h4, h5) {
    text-align: left;
    color: var(--primary-900);
    line-height: normal;
}

.blog-post-contnet p {
    color: var(--primary-900);
    text-align: start;
}


.blog-post-contnet .conclusion {
    background-color: var(--background-2);
}

.blog-post-contnet button {
    background-color: var(--primary-500);
    color: #fff;
    padding: 0.75rem;
    font-size: 1rem;
    border: none;
    border-radius: var(--border-6);
    cursor: pointer;
    font-weight: bold;
    transition: all .3s linear;
    width: 100%;
}

.blog-post-contnet button:hover {
    background-color: var(--primary-700);
}

/* END HERO BLOG DETAILS */

/* SLIDER INTERNAL INDEX */
.nav-icons-large,
.nav-icons-main-points {
    justify-content: space-around;
    align-items: center;
    /* border-bottom: 1px solid var(--neutral-200); */
    gap: 1.5rem;
}

.nav-icons-large {
    height: 9.938rem;
}

.nav-icons-large-a {
    display: block;
    text-decoration: none;
    color: var(--primary-700);
    height: 100%;
}

.nav-icons-large-svg {
    fill: var(--primary-500)
}

.nav-icons-large figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform ease-in-out 250ms;
    height: 100%;
    justify-content: center;
    min-width: 8rem;
    scroll-snap-align: center;
}

.nav-icons-main-points-figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform ease-in-out 250ms;
    height: 100%;
    justify-content: center;
    min-width: 12rem;
    scroll-snap-align: center;
    gap: .5rem;
}

.nav-icons-svg {
    fill: var(--primary-500);
    height: 30px;
}

.nav-icons-large figcaption,
.nav-icons-main-points-figure figcaption {
    text-wrap: wrap;
    text-align: center;
    width: 100%;
    border-bottom: 2px solid transparent;
    position: relative;
}

.nav-icons-large figcaption {
    font-size: 0.875rem;
    line-height: 1.125rem;
    padding-top: .5rem;
    min-height: 2.875rem;
    font-family: var(--font-montserrat-semibold);
    color: var(--primary-500);
}

.nav-icons-main-points-figure figcaption {
    min-height: 3.625rem;
    font-family: var(--font-montserrat-semibold);
}

.nav-icons-large figure figcaption::before {
    content: '';
    display: block;
    height: .25rem;
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    transform: scale(0, 1);
    transition: transform linear 250ms;
    border-bottom: 2px solid var(--primary-300);
}

.nav-icons-large figure:hover figcaption::before {
    transform: scale(1, 1);
}

.nav-icons-value {
    color: var(--accent-500);
    margin-block: .5rem .75rem;
    font-family: var(--font-renogare);
}

/* END SLIDER INTERNAL INDEX */


/* POLAROID INDEX */


/* READ MORE PART INSIDE INDEX */
.read-more {
    /* max-height: 5lh; */
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 10;
    line-clamp: 10;
    transition: max-height .5s;
}


input.read-more-input {
    display: none;
}

input.read-more-input:checked~.read-more {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    max-height: 100lh;
}

input.read-more-input:not(:checked)~label.read-more-label>.show {
    display: inline-block;
    margin-right: .5rem;
}
input.read-more-input:not(:checked)~label.read-more-label>.hide {
    display: none;
}

input.read-more-input:checked~label.read-more-label>.show {
    display: none;
}
input.read-more-input:checked~label.read-more-label>.hide {
    display: inline-block;
}

input.read-more-input:checked~label.read-more-label svg {
    display: none;
}

label.read-more-label {
    cursor: pointer;
    margin-block: 1.5rem 2.75rem;
    display: inline-block;
    color: var(--primary-500);
    font-weight: 500;
    font-family: var(--font-montserrat-semibold);
}

/* END READ MORE INSIDE OF INDEX */


.index-polaroid-table {
    display: flex;
    justify-content: space-between;
}

.index-polaroid-table-separator {
    width: 3px;
    background-color: var(--accent-500);
}

.index-polaroid-img {
    width: 100%;
    box-shadow: var(--box-shadow-polaroid);
    background: var(--white);
}

.index-polaroid-img img {
    width: 100%;
    aspect-ratio: 424 / 387;
    object-position: center;
    /*
    object-fit: cover;
    max-width: 26.5rem;
    max-height: 24.188rem;
    */
}

.polaroid-img-content {
    color: var(--primary-600);
    text-align: center;
    font-family: var(--font-renogare);
    text-transform: uppercase;
}

.polaroid-table-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-wrap: balance;
    width: 30%;
}

.polaroid-table-title {
    margin: 0;
    color: var(--primary-500);
    font-family: var(--font-renogare);
}

.polaroid-table-text {
    margin: .5rem 0;
    color: var(--primary-900);
    font-family: var(--font-montserrat-medium);
}

/* END POLAROID INDEX */



/* TEXT WITH OFFER */

/* READ MORE PART INSIDE INDEX */
.text-with-offer-read-more {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
    line-clamp: 8;
    transition: max-height .5s;
}

.text-with-offer-read-more-input {
    display: none;
}


.text-with-offer-read-more-input:checked~.text-with-offer-read-more {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    max-height: 100lh;
}

.text-with-offer-read-more-input:not(:checked)~.text-with-offer-read-more-label>.show {
    display: inline-block;
}
.text-with-offer-read-more-input:not(:checked)~.text-with-offer-read-more-label>.hide {
    display: none;
}

.text-with-offer-read-more-input:checked~.text-with-offer-read-more-label>.hide {
    display: inline-block;
}
.text-with-offer-read-more-input:checked~.text-with-offer-read-more-label>.show {
    display: none;
}

.text-with-offer-read-more-input:checked~.text-with-offer-read-more-label svg {
    display: none;
}

.text-with-offer-read-more-label {
    cursor: pointer;
    margin-block: 1.5rem 2.75rem;
    display: inline-block;
    color: var(--primary-500);
    font-weight: 500;
    font-family: var(--font-montserrat-semibold);
}

.text-with-offer-hgroup h1 {
    line-height: normal;
    color: var(--primary-500);
    text-align: center;
    text-transform: uppercase;
    margin: 2.5rem 0 0;
}

.text-with-offer-hgroup p {
    color: var(--primary-900);
    text-align: center;
    font-weight: bolder;
    margin-top: .5rem;
    font-weight: bolder;
    font-family: var(--font-montserrat-semibold);
}

/* END READ MORE INSIDE OF INDEX */



.text-with-offer-img {
    width: 100%;
    padding: var(--bodyGutter);
    box-shadow: var(--box-shadow-polaroid);
    margin-bottom: var(--bodyGutter);
    background: var(--white);
}


/* Card container */
.text-with-offer-card {
    width: 100%;
    padding: 2rem;
    box-shadow: var(--box-shadow-mini-course);
    margin-bottom: var(--bodyGutter);
    background: var(--white);
    text-align: center;
    font-family: Arial, sans-serif;
    color: #00695c;
    margin: 1.25rem auto;
}

/* Title */
.text-with-offer-card-title {
    font-size: 1.438rem;
    line-height: normal;
    color: var(--primary-500);
    margin: 0 0 1.5rem;
}

/* Description */
.text-with-offer-card-description {
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-wrap: pretty;
}

/* Features section */
.text-with-offer-card-features {
    display: flex;
    justify-content: space-around;
    margin-block: 1.5rem;
}

/* Feature item */
.text-with-offer-feature {
    text-align: center;
}

.text-with-offer-feature svg {
    fill: var(--primary-600);
}

.text-with-offer-feature-text {
    font-size: 1rem;
    margin-top: 0.313rem;
    line-height: 1.5rem;
    color: var(--primary-600);
}

/* Book button */
.text-with-offer-card-button {
    background-color: var(--primary-500);
    color: #ffffff;
    border: none;
    padding: 0.625rem 1.25rem;
    font-size: 1rem;
    border-radius: var(--border-6);
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.text-with-offer-card-button:hover {
    background-color: var(--primary-700);
}

/* Note */
.text-with-offer-card-note {
    font-size: 0.75rem;
    color: var(--primary-900);
    margin-top: 1rem;
    line-height: 1.125rem;
}


/* Container for dive and price info columns */
.dive-info-container {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

/* Individual column styling */
.dive-info-column,
.price-info-column {
    text-align: left;
    flex: 1;
}

.price-info-column {
    text-align: right;
    flex: 1;
}

/* Items inside each column */
.dive-info-item,
.price-info-item {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
}

.dive-info-item svg,
.price-info-item svg {
    fill: var(--primary-600);
    margin-bottom: 0.5rem;
    max-width: 3.125rem;
}

.price-info-item svg {
    margin-left: auto;
}


.dive-info-item p,
.price-info-item p {
    font-size: 1rem;
    line-height: 1.5rem;
    color: var(--primary-600);
    margin: 0.25rem 0;
    font-family: var(--font-montserrat-semibold);
}

/* Book button with link */
.text-with-offer-card-button {
    display: inline-block;
    background-color: var(--primary-500);
    color: #ffffff;
    border: none;
    padding: 0.625rem 1.25rem;
    font-size: 1rem;
    border-radius: var(--border-6);
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    text-decoration: none;
    text-align: center;
}

.text-with-offer-card-button:hover {
    background-color: var(--primary-700);
}

/* END TEXT WITH OFFER */


/* TABS WITH INFO */
/* .tabs-info-container {
    
} */
.tabs-info-schedule-terms{
    width: 100%;
    font-style: italic;
}
.tabs-info-schedule-list h6,h4 {
    margin-block: 1.5rem;
}
.tabs-info-schedule-list h6 {
    color: var(--primary-700);
}

.tabs-info-schedule-description{
    width: 100%;
}
/* Style the navigation bar */
.tabs-info-nav {
    display: flex;
    justify-content: space-around;
    margin-block: 5rem 2.5rem;
    gap: var(--bodyGutter);
}

.tabs-info-tab {
    text-decoration: none;
    padding: .625rem 1.25rem;
    border-radius: var(--border-6);
    background-color: white;
    color: var(--primary-500);
    font-weight: lighter;
    text-align: center;
    transition: background-color 0.3s;
    cursor: pointer;
    line-height: 1.5rem;
    border: 1px solid var(--primary-500);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-montserrat-semibold);
}

.tabs-info-tab svg {
    width: 1rem;
    fill: white;
    stroke: var(--primary-500);
    height: 1rem;
    margin-right: .5rem;
}

/* Hide the radio buttons */
.tabs-info-radio {
    display: none;
}

/* Style the selected tab */
/* Target the label associated with the checked radio button */
#tabs-info-participate:checked~.tabs-info-nav label[for="tabs-info-participate"],
#tabs-info-included:checked~.tabs-info-nav label[for="tabs-info-included"],
#tabs-info-schedule:checked~.tabs-info-nav label[for="tabs-info-schedule"],
#tabs-info-insurance:checked~.tabs-info-nav label[for="tabs-info-insurance"] {
    background-color: var(--primary-500);
    color: white;
}

/* Hover effect for tabs */
.tabs-info-tab:hover {
    background-color: var(--primary-400);
    border-color: var(--primary-400);
    color: white;
}

/* Initially hide all tab content */
.tabs-info-content {
    display: none;
    border-radius: var(--border-6);
}

/* Show the content for the selected tab */
#tabs-info-participate:checked~.tabs-info-content-container #tabs-info-participate-content,
#tabs-info-included:checked~.tabs-info-content-container #tabs-info-included-content,
#tabs-info-insurance:checked~.tabs-info-content-container #tabs-info-insurance-content {
    display: block;
}
#tabs-info-schedule:checked~.tabs-info-content-container #tabs-info-schedule-content {
    display: flex;
    flex-flow: row wrap;
}

/* Styling for the schedule list */
.tabs-info-content ul {
    list-style: none;
    /* padding: 1rem; */
    /* flex: 0 0 calc(1/3 * 100%); */

}
.tabs-info-content p {
    font-size: 1rem;
}
#tabs-info-insurance-content h1 {
    font-size: 2rem;
    font-family: var(--font-montserrat-regular);
    color: var(--primary-500);
}
#tabs-info-insurance-content h2 {
    font-size: 1.5rem;
}
#tabs-info-insurance-content h3 {
    font-size: 1.3rem;
}
#tabs-info-insurance-content h4 {
    font-size: 1.2rem;
}
#tabs-info-insurance-content ol li::marker {
    padding-right: 1rem;
    color: var(--primary-700);
    font-size: 1.2rem;
}
#tabs-info-insurance-content ol li {
    padding-left: 0.5rem;
}
#tabs-info-insurance-content ol li p{
    color: var(--primary-600)
}
#tabs-info-insurance-content>ol li ul li {
    padding-left: 1rem;
}
p.tabs-info-day{
    line-height: 2rem;
    font-size: 1.5rem;
    color: #00a3b4;
    margin: 0;
    padding-bottom: 1rem;
}
.tabs-info-schedule-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
}
#tabs-info-insurance-content li p{
    margin: 0.5rem 0;
}
.tabs-info-schedule-item .tabs-info-time {
    width: 3rem;
    margin-right: 0;
    align-self: center;
}
.tabs-info-schedule-list{
    /*     list-style: none; */
    /* min-width: 25rem; */
    width: 50%;
    display: flex;
    flex-direction: column;
    margin-top: 0px;
    padding-top: 0px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

h4.tabs-info-day {
    margin-top: 0px;
    margin-bottom: 0px;
    text-transform: uppercase;
}

.tabs-info-content ul li {
    border-left: 1px solid var(--primary-600);

    align-items: center;
    padding-left: 1rem;
    padding-bottom: 0.5rem;
    position: relative;
    font-size: 1rem;
    line-height: 1.25rem;
    padding-top: 0.5rem;
}

.tabs-info-content ul li::before {
    content: "";
    height: 1rem;
    width: 1rem;
    /* background: var(--primary-400); */
    position: absolute;
    left: -0.5rem;
    padding: 0rem;
    z-index: 0;
    /* line-height: 2rem; */
    /* display: block; */
    /* top: 0.9rem; */
}

.tabs-info-content ul li::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -0.5rem;
    transform: translateY(-50%);
    width: 0.9rem;
    height: 0.9rem;
    background: var(--primary-400);
    /* circle color */
    border-radius: 50%;
    border: 2px solid #fff;
} 


/* .tabs-info-content ul li:not(:last-child) {
    border-left: 1px solid var(--primary-600);
} */


.tabs-info-time {
    font-weight: bold;
    color: #006d75;
    margin-right: 0.625rem;
    width: 20%;
    flex-shrink: 0;
    align-self: center;
    /* margin-top: 5px; */
}

.tabs-info-day-info {
    width: 100%;
    margin-block: 1rem;
}
.tabs-info-activity p {
    margin: 0.5rem 0 0.5rem 0;
    font-size: 1rem;
}
.tabs-info-activity ul{
    padding-left: 0rem;
}
/* END TABS WITH INFO */
.tabs-info-content ul {
    padding-left: 0rem;
}





/* COURSES MINI SECTION*/
.courses-mini-wrapper {
    display: flex;
    gap: var(--bodyGutter);
    flex-wrap: wrap;
}

.course-mini-item {
    display: flex;
    flex-direction: column;
    box-shadow: var(--box-shadow-mini-course);
    transition: ease-in-out .3s;
}

.course-mini-item:hover {
    box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 0.625rem;
    transform: scale3d(1.04, 1.04, 1.04);
}

.courses-mini-slider-wrapper {
    position: relative;
    margin: 0 auto;
    max-width: 100%;
    order: 1;
}

.course-mini-item figcaption {
    order: 2;
    padding: 1.5rem;
    color: var(--primary-500);
    font-size: 1.25rem;
    line-height: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    font-weight: 500;
    text-wrap: pretty;
    font-family: var(--font-renogare);
    letter-spacing: -0.02rem;
}

.course-mini-info {
    order: 3;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    border: 1px solid var(--neutral-300);
    border-radius: var(--border-8);
    /* padding: .5rem; */
    /* margin: 0 1rem; */
    padding: .5rem 0;
    margin: 0 .5rem;
}

.courses-mini-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--primary-700);
    font-family: var(--font-montserrat-semibold);
    /* width: calc(100% / 3); */
}

.courses-mini-info-item img {
    margin-bottom: 0.313rem;
}

.courses-mini-info-item span {
    font-size: .875rem;
    line-height: 1.25rem;
}

.course-mini-text {
    order: 4;
    color: var(--primary-900);
    padding: 1.5rem 1rem;
}

.course-mini-text,
.course-mini-text p {
    text-align: center;
    flex-grow: 1;
}

.course-mini-text p {
    font-size: .875rem;
    line-height: 1.25rem;
}

.course-mini-buttons {
    order: 5;
    display: flex;
    justify-content: space-evenly;
    padding-bottom: 1.5rem;
}

.courses-mini-slider {
    display: flex;
    aspect-ratio: 353 / 200;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.courses-mini-slider img {
    flex: 1 0 100%;
    scroll-snap-align: center;
    object-fit: cover;
    object-position: center;
}

.courses-mini-slider-nav {
    display: flex;
    column-gap: 1rem;
    position: absolute;
    bottom: .5rem;
    left: 50%;
    transform: translate(-50%);
    z-index: 1;
}

.courses-mini-slider-nav a {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background-color: var(--white);
    opacity: .75;
    transition: opacity ease 250ms;
}

.courses-mini-slider-nav a:hover {
    opacity: 1;
}

/* END COURSES MINI SECTIONS */


/* BLOG */
.blog-hero-section {
    position: relative;
    color: white;
}

.blog-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    padding: var(--bodyGutter);
}

.blog-heading-secondary {
    font-size: 1rem;
    margin-bottom: 0.625rem;
    font-weight: normal;
    line-height: 1.5rem;
    color: white;
    font-family: var(--font-montserrat-semibold);
    text-shadow: 0 4px 14px var(--primary-900);
}

.blog-heading-primary {
    margin-bottom: .5rem;
    margin-top: 0;
    text-shadow: 0 4px 14px var(--primary-900);
}

.blog-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5rem;
    margin-top: 0;
    color: white;
    text-shadow: 0 4px 14px var(--primary-900);
}

.blog-subscribe-form {
    display: flex;
    align-items: center;
    gap: .625rem;
}

.blog-input {
    padding: 0.625rem;
    font-size: 0.875rem;
    border: 1px solid #ccc;
    border-radius: var(--border-6);
    color: var(--neutral-300);
    line-height: 1.25rem;
}

.blog-input input:focus {
    background-color: white;
    color: var(--primary-800);
}

.blog-input input:focus-visible {
    outline: var(--primary-400);
    border: 1px solid var(--primary-400);
}


.blog-button {
    padding: .75rem 1.25rem;
    background-color: var(--primary-500);
    color: white;
    text-align: center;
    border-radius: var(--border-6);
    cursor: pointer;
    text-decoration: none;
    border: 1px solid var(--primary-600);
    transition: ease-in-out .3s;
}


.blog-button:hover {
    background-color: var(--primary-700);
}



/* blog main article */

/* Blog main article container */
/* .blog-main-article {
    display: flex;
    justify-content: space-between;
    padding: 5rem 0;
} */

/* Main card styling */
.blog-main-article-card {
    display: flex;
    text-decoration: none;
    gap: var(--bodyGutter);
    justify-content: space-between;
    padding: 5rem 0;
}

.blog-main-article-card:visited {
    color: var(--primary-900);
}

/* Image container styling */
.blog-main-article-image {
    flex: 1;
    max-width: 43.5rem;
    max-height: 30rem;
}

.blog-main-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 43.5rem;
    max-height: 30rem;
    border-radius: var(--border-6);
}

/* Content area styling */
.blog-main-article-content {
    flex: 1;
    max-width: 30.5rem;
    display: flex;
    flex-direction: column;
}

/* Label styling */
.blog-main-article-label {
    color: var(--accent-500);
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
    font-family: var(--font-montserrat-semibold);
}

/* Title styling */
.blog-main-article-title {
    font-size: 2rem;
    margin: 0;
    line-height: 2.75rem;
    text-transform: uppercase;
}

/* Date styling */
.blog-main-article-date {
    font-size: .875rem;
    line-height: 1.5rem;
    color: var(--primary-900);
    margin: 0;
}
a .blog-main-article-text {
    color: var(--primary-800);
}
/* Text content styling */
.blog-main-article-text {
    font-size: 1.125rem;
    line-height: 1.75rem;
    margin-block: 2rem 1rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
    line-clamp: 8;
    transition: max-height .5s;
}

/* Read more link styling */
.blog-main-article-read-more {
    color: var(--primary-500);
    font-weight: bold;
    text-decoration: none;
    margin-top: auto;
    display: inline-block;
    font-family: var(--font-montserrat-semibold);
}

.blog-main-article-read-more:hover {
    color: var(--primary-700);
}

/* end blog main article */
.blog-posts-card-container {
    display: flex;
    gap: var(--bodyGutter);
    padding: 2.5rem 0;
    flex-wrap: wrap;
}

.blog-posts-card-link {
    text-decoration: none;
    color: inherit;
}

.blog-posts-card {
    border-radius: var(--border-6);
    overflow: hidden;
    box-shadow: var(--box-shadow-mini-course);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
    /* max-width: 37rem; */
    height: 32.438rem;
    border: 1px solid var(--neutral-300);
}

.blog-posts-card:hover {
    transform: translateY(-5px);
}

.blog-posts-image-container {
    position: relative;
}

.blog-posts-image {
    width: 100%;
    height: 18.125rem;
    object-fit: cover;
}

.blog-posts-header {
    position: absolute;
    bottom: 0.375rem;
    left: 0;
    right: 0;
    padding: 1rem 1.5rem;
    /* background: rgba(255, 255, 255, 0.2); */
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    backdrop-filter: blur(8px);
}

.blog-posts-info {
    display: flex;
    flex-direction: column;
}

.blog-posts-title {
    font-family: var(--font-montserrat-semibold);
}

.blog-posts-date {
    font-size: 0.875rem;
    color: white;
}

.blog-posts-category {
    font-size: 0.75rem;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.188rem .5rem;
    border-radius: var(--border-6);
}

.blog-posts-content {
    padding: 1.25rem 1.5rem .5rem;
    display: flex;
    flex-direction: column;

}

.blog-posts-heading {
    font-size: 1.5rem;
    color: var(--primary-900);
    margin: 0;
    line-height: 1.75rem;
}

.blog-posts-content p {
    font-size: 1rem;
    line-height: 1.5rem;
}

.blog-posts-link-text {
    font-size: 1rem;
    color: var(--primary-500);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-family: var(--font-montserrat-semibold);
}

.blog-posts-link-text span {
    font-size: 1.25rem;
}

/* END BLOG */

/* COURSES TYPES SECTION */
.courses-types-wrapper {
    display: flex;
    gap: var(--bodyGutter);
    flex-wrap: wrap;
}

.course-type-a {
    display: block;
    height: 100%;
    text-decoration: none;
    position: relative;
    /* Ensure positioning context for absolute children */
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.course-type-item {
    position: relative;
}

/* Image styling remains the same */
.course-type-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-radius: var(--border-6);
}

/* Figcaption – note we add a transition for fading */
.course-type-item-figcaption {
    position: absolute;
    bottom: 1.625rem;
    width: 18.125rem;
    display: flex;
    align-items: center;
    font-size: var(--heading-desktop-h5);
    line-height: 1.75rem;
    font-weight: 500;
    background: var(--background-figcaption);
    color: white;
    padding: 0.875rem 1rem;
    text-transform: uppercase;
    border-radius: 0 var(--border-6) var(--border-6) 0;
    font-family: var(--font-renogare);
    transition: opacity 0.3s ease;
}

.course-type-item-figcaption svg {
    max-width: 3.5rem;
    fill: white;
    padding-right: 0.875rem;
}

/* Hidden description is initially offscreen (translated down) and invisible.
     It uses only vertical scrolling (horizontal disabled).
     Note the extra right padding (2rem instead of 1.5rem) to create a 0.5rem margin for the scrollbar.
     Also, scrollbar-gutter reserves space for the scrollbar in browsers that support it. */
.course-type-item-hiden-description {
    position: absolute;
    bottom: 1.625rem;
    width: 18.125rem;
    background: var(--background-figcaption);
    color: white;
    padding: 0.875rem 2rem 0.875rem 1.5rem;
    /* top, right, bottom, left */
    border-radius: 0 var(--border-6) var(--border-6) 0;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    overflow-y: auto;
    overflow-x: hidden;
    
    max-height: -webkit-fill-available;
    scrollbar-gutter: stable;
    /* Modern property to reserve space for the scrollbar */
}

.course-type-item-hiden-description p {
    color: white;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

/* Styling for the "more" text inside the hidden description */
.course-type-item-hiden-description-more {
    color: var(--primary-50);
    font-size: var(--heading-desktop-h5);
    line-height: 1.75rem;
    font-weight: 500;
    text-transform: uppercase;
    font-family: var(--font-renogare);
    margin-bottom: 0;
}

.course-type-item-hiden-description-more::after {
    content: "\203A";
    display: inline-flex;
    /* Enable flex layout */
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
    color: var(--accent-400);
    line-height: 1.5rem;
    font-size: 1.5rem;
    font-weight: 100;
    font-family: "Arial", sans-serif;
    padding-left: 0.5rem;
}

/* On hover of the parent link, slide the hidden description up and fade out the figcaption */
.course-type-a:hover .course-type-item-hiden-description {
    transform: translateY(0);
    opacity: 1;
}

.course-type-a:hover .course-type-item-figcaption {
    opacity: 0;
}

/* Custom scrollbar styling for WebKit browsers */
.course-type-item-hiden-description::-webkit-scrollbar {
    display: block;
    width: 4px;
    /* Adjust width if needed */
    margin-right: .5rem;
    margin-bottom: .5rem;
}

.course-type-item-hiden-description::-webkit-scrollbar-track {
    background: rgba(39, 137, 147, 0.9);
    border-radius: var(--border-6);
    /* While margin on scrollbar tracks isn’t widely supported,
       the extra right padding on the container creates the needed space */
}

.course-type-item-hiden-description::-webkit-scrollbar-thumb {
    background: var(--primary-300);
    /* Updated thumb color */
    border-radius: var(--border-8);
}

.course-type-item-hiden-description::-webkit-scrollbar-thumb:hover {
    background: var(--primary-200);
}

/* For other browsers, set a thin scrollbar */
.course-type-item-hiden-description {
    .team-item-full-bio {
        -ms-overflow-style: 4px;
        scrollbar-width: 4px;
    }
}




/* END COURSES TYPES SECTION */

/* DINE AND SLEEP OFFER */
.dine-sleep-offer-container {
    display: flex;
    border-radius: var(--border-6);
    gap: var(--bodyGutter);
    margin-bottom: 2rem;
    justify-content: space-between;
}

.dine-sleep-offer-image-section {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    max-height: 33.25rem;
    gap: var(--bodyGutter);
}

.dine-sleep-offer-image-section img {
    flex: 1 0 100%;
    scroll-snap-align: center;
    object-fit: cover;
    object-position: center;
    border-radius: var(--border-6);
}

.dine-sleep-offer-details-section {
    border-radius: var(--border-6);
    padding: 3.813rem 1.25rem 1.813rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    max-width: 24rem;
    box-shadow: var(--box-shadow-mini-course);
    background-color: white;
    text-align: center;
}

.dine-sleep-offer-details-section h3 {
    margin: 0;
    color: var(--primary-500);
}

.dine-sleep-offer-details-section h4 {
    font-size: 1.438rem;
    line-height: normal;
    color: var(--primary-500);
    margin-block: 1.5rem 0;
}

.dine-sleep-offer-details-section-subtitle {
    margin: 0;
}


.dine-sleep-offer-price-section {
    margin: 1.25rem 0;
}

.dine-sleep-offer-top-box {
    display: flex;
    justify-content: space-evenly;
}

.dine-sleep-offer-top-box-single {
    display: flex;
    flex-direction: column;
}

.dine-sleep-offer-top-box-top-year {
    color: var(--primary-500);
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-family: var(--font-montserrat-semibold);
}

/* .dine-sleep-offer-top-box-top-price {

} */

.dine-sleep-offer-price-row {
    display: flex;
    justify-content: space-evenly;
    margin: 1.5rem 1rem .625rem;
    align-items: center;
}

.dine-sleep-offer-enquire-button {
    padding: .75rem;
    background-color: var(--primary-500);
    color: white;
    text-align: center;
    border-radius: var(--border-6);
    cursor: pointer;
    text-decoration: none;
    transition: ease-in-out .3s;
}


.dine-sleep-offer-enquire-button:hover {
    background-color: var(--primary-700);
}

/* END DINE AND SLEEP OFFER */

/* HOW TO GET CERTIFICATES */
/* General Styles */
.how-to-section {
    /* background-color: #006d78; */
    padding: 40px 20px;
    color: var(--neutral-100);
    text-align: center;
}

.how-to-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.25rem;
}

.how-to-steps-wrapper {
    max-width: 62.5rem;
    margin: 0 auto;
    position: relative;
}

.how-to-steps-wrapper hgroup h2,
.how-to-steps-wrapper hgroup p {
    color: white;
}

.how-to-steps-wrapper .center-text p {
    color: var(--neutral-50);
}


.how-to-steps {
    display: flex;
    gap: var(--bodyGutter);
    flex-wrap: wrap;
    justify-content: center;
}

.step-card {
    background-color: #ffffff;
    color: var(--primary-900);
    border-radius: var(--border-6);
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    width: calc(100% / 3 - var(--bodyGutter));
}

.step-number {
    color: var(--accent-500);
    margin-bottom: 0.625rem;
}

.step-icon {
    fill: var(--primary-600);
}


/* Responsive Slider */
/* @media (max-width: 768px) {
    .how-to-steps {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      gap: var(--bodyGutter);
      padding: 0.625rem 0;
    }
  
    .step-card {
      scroll-snap-align: center;
      flex: 0 0 80%;
      max-width: none;
    }
  } */
/* END HOW TO GET CERTIFICATES */

/* AWARDS WRAPPER */
.awards-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: var(--bodyGutter);
}

.awards-wrapper img {
    height: 5.5rem;
    width: auto;
}

/* END AWARDS WRAPPER */

/* WHY CHOOSE */
.why-choose-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: var(--bodyGutter);
    justify-content: space-between;
}

.why-choose-wrapper figure {
    /* max-width: calc((100% - (2 * var(--bodyGutter))) / 3); */
    max-width: 21rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform ease-in-out 250ms;
    height: 100%;
    justify-content: center;
    scroll-snap-align: center;
}

.why-choose-title {
    font-size: 1.438rem;
    line-height: normal;
    margin-block: 1rem -0.5rem;
    font-family: var(--font-renogare);
    text-transform: uppercase;
    min-height: 3.375rem;
    max-width: 20rem;
}
p.why-choose-title {
    color: var(--primary-500)
}

.why-choose-description,
.why-choose-description p {
    font-size: 1rem;
    line-height: 1.5rem;
    color: var(--primary-900);
}


.why-choose-container {
    width: 100%;
    position: relative;
}

.why-choose-container>video {
    width: 100%;

    max-height: 565px;
    margin: 0 auto;
    position: relative;
}


/* .why-choose-video {
    max-width: 1008px;
    height: 565px;
    width: 100%;
    display: block;
} */


/* @media (max-width: 1023px) {
    .why-choose-video {
        margin-left: 20px;
        margin-right: 20px;
    }
}


@media (max-width: 767px) {
    .why-choose-video {
        height: 436px;
    }
} */
/* TRUSTPILOT */

/* RATING METER */
.star-rating {
    --percent: calc(var(--rating) / 10 * 100%);
    display: inline-block;
    font-size: 1.5rem;
    line-height: 1;
    background: linear-gradient(90deg, var(--yellow-star) var(--percent), var(--blue-less) var(--percent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-family: 'Arial';
}

.star-rating::before {
    content: '★★★★★';
}

.star-rating-trustpilot {
    --percent: calc(var(--rating) / 5 * 100%);
    display: inline-block;
    font-size: 1.5rem;
    line-height: 1;
    background: linear-gradient(90deg, #00bfc5 var(--percent), var(--primary-100) var(--percent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-family: 'Arial';
}

.star-rating-trustpilot::before {
    content: '★★★★★';
}

/* END RATING METER */

.testimonials {
    position: relative;
    padding: 20rem 0 0;
    overflow: hidden;
}

.testimonials picture::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .2);
    pointer-events: none;
}

/* Background image styling */
.testimonials-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.testimonials-overlay {
    background-color: rgba(5, 94, 110, 0.8);
    /* Overlay color */
    padding-block: 40px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hgroup.testimonials-hgroup h2,
.hgroup.testimonials-hgroup p {
    color: white;
}

.header-tripadvisor {
    display: flex;
    justify-content: space-evenly;
    padding-bottom: 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.testimonial-cards {
    display: flex;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: var(--bodyGutter);
    padding-block: 1rem;
    justify-content: center;
}


.comment-box {
    flex: 0 0 auto;
    padding: 1rem;
    /* border-radius: var(--border-15); */
    scroll-snap-align: center;
    transition: all .3s linear;
    background-color: white;
    max-width: calc(100% - (2 * var(--bodyGutter)));
    transition: ease-in-out .3s;
    min-width: 20rem;
}


.comment-box.dark.big {
    max-width: 18.75rem;
    height: 14.875rem;
    color: var(--primary-700);
}
.comment-box.dark.big .comment p{
    color: var(--primary-700);
}

.comment-box.dark.big:hover {
    transform: scale3d(1.04, 1.04, 1.04);
}


.comment-box:hover ::-webkit-scrollbar {
    /* background: pink; */
    display: block;
    width: 2px;
}

.comment-box:hover ::-webkit-scrollbar-track {
    background: var(--accent-100);
    border-radius: var(--border-6);
}

.comment-box:hover ::-webkit-scrollbar-thumb {
    background: var(--accent-500);
    border-radius: var(--border-8);
}

.comment-box:hover ::-webkit-scrollbar-thumb:hover {
    background: var(--accent-200);
}


.comment-box .comment-username {
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

/* .comment-box.light .comment-username {
    color: hsla(var(--dark-h), var(--dark-s),calc(var(--dark-l) - 15%), .6);
} */

.comment-box.dark .comment-username {
    color: var(--primary-700);
    font-family: var(--font-montserrat-semibold);
}


.comment-box .comment-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--accent-500);
}

/* .comment-box .comment-rating {
    color: #f5c542;
} */

.comment-box .comment-date {
    font-size: .875rem;
}

/* 
.comment-box.light .comment-date {
    color: hsla(var(--dark-h), var(--dark-s),calc(var(--dark-l) - 15%), .3);
}

.comment-box.dark .comment-date {
    color: hsla(var(--pink-h), var(--pink-s), calc(var(--pink-l) + 50%), .8);
} */

.comment-box .comment {
    height: 8.125rem;
    overflow-y: scroll;
}

.comment-box .comment p {
    font-size: 0.938rem;
    line-height: inherit;
}

.comment-box.light .comment {
    color: var(--dark-less);
}

/* Hide scrollbar for WebKit browsers */
.testimonial-slider::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for other browsers */
.testimonial-slider {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    overflow: hidden;
}

/* END TRUSTPILOT */



/* MEET TEAM */
.team-item {
    width: 17.5rem;
    height: 32.5rem;
    position: relative;
    flex: 0 0 auto;
}

/* The image remains unchanged */
.team-item-img {
    aspect-ratio: 280 / 580;
    max-height: 100%;
    object-fit: cover;
}

.team-item-flag {
    position: absolute;
    top: 1rem;
    right: 3.5rem;
    height: 2rem;
    width: 2rem;
}

/* Instagram icon in the top-right */
.team-item-instagram-a {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.team-item-instagram-a svg {
    fill: white;
}

/*
    The figure holds the caption, quote, and full bio.
    Initially, we limit its height (using max-height) so only the caption and blockquote are visible.
    On hover, the max-height increases to 382px.
  */
.team-item-figure {
    position: absolute;
    bottom: 2.625rem;
    background: var(--background-figcaption);
    color: white;
    overflow: hidden;
    /* Hides content beyond the current height */
    width: 100%;
    max-height: 106px;
    /* Adjust this value to fit figcaption and blockquote initially */
    transition: max-height 0.3s ease-in-out;
}

.team-item-figure figcaption {
    font-size: var(--heading-desktop-h4);
    padding: 1rem;
    font-family: var(--font-renogare);
}

.team-item-subtitle {
    margin: 0 1rem 1rem;
    font-size: 0.75rem;
    line-height: 1.125rem;
    color: white;
    font-family: var(--font-montserrat-semibold);
}

/*
    The full bio area. When the figure expands on hover, this element will be revealed.
    Here we constrain its height to a maximum of 252px and allow vertical scrolling (a scroll bar on the side)
    if the content is longer.
  */
.team-item-full-bio {
    padding: 1rem;
    max-height: 252px;
    overflow-y: auto;
    color: white;
    font-size: .875rem;
}

.team-item-full-bio p {
    color: white;
    font-size: .875rem;
    line-height: 1.25rem;
}


/* Hide scrollbar for WebKit browsers */
.team-item-full-bio::-webkit-scrollbar {
    display: block;
}

/* Hide scrollbar for other browsers */
.team-item-full-bio {
    -ms-overflow-style: 4px;
    scrollbar-width: 4px;
    margin-right: .5rem;
    margin-bottom: .5rem;
}

.team-item-full-bio::-webkit-scrollbar-track {
    background: rgba(39, 137, 147, .9);
    border-radius: var(--border-6);

}

/* Handle */
.team-item-full-bio::-webkit-scrollbar-thumb {
    background: var(--primary-300);
    border-radius: var(--border-8);
}


/* Handle on hover */

.team-item-full-bio::-webkit-scrollbar-thumb:hover {
    background: var(--primary-200);
}


/*
    On hovering over the entire team-item, the figure expands to reveal the full bio.
  */
.team-item:hover .team-item-figure {
    max-height: 382px;
}

/* .team-item {
    width: 17.5rem;
    height: 32.5rem;
    position: relative;
}

.team-item-figure {
    position: absolute;
    bottom: 2.625rem;
    background: var(--background-figcaption);
    color: white;
}

.team-item-figure figcaption {
    font-size: var(--heading-desktop-h4);
    padding: 1rem;
}

.team-item blockquote {
    margin: 0 1rem 1rem;
    font-size: 0.75rem;
    line-height: 1.125rem;
}

.team-item-instagram-a {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.team-item-instagram-a svg {
    fill: white;

}

.team-item-img {
    aspect-ratio: 280 / 580;
    max-height: 100%;
} */


/* INSTAGRAM IMAGES */
.instagram-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.social-icons {
    display: flex;
    gap: 5rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
}

.social-icons a svg {
    width: 100%;
    height: 100%;
    fill: var(--primary-500);
    /* Adjust color as per your preference */
    transition: fill 0.3s;
}

.social-icons a:hover svg {
    fill: var(--primary-700);
    /* Adjust hover color as per your preference */
}

/* END INSTAGRAM IMAGES */

/* FAQ */
.faq-section {
    max-width: 85vw;
    width: 100%;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    margin: 0 auto;
}

hr.faq {
    height: 2px;
    width: 30%;
    min-width: 8rem;
    max-width: 30%;

}


.faq-item {
    border-bottom: 1px solid var(--neutral-200);
    padding: 1rem 0;
}

summary.faq-question {
    display: flex;
    justify-content: left;
    align-items: center;
    color: var(--primary-900);
    font-weight: bolder;
    font-family: var(--font-montserrat-semibold);
}

summary.faq-question::before {
    content: '';
    width: 2.5rem;
    height: 2.5rem;
    background: url('/assets/svg/icons/chevron-down.svg');
    background-size: cover;
    transition: 0.2s;
    padding-left: 2rem;
}

details[open]>summary.faq-question::before {
    transform: rotate(180deg);
}

summary.faq-question::-webkit-details-marker {
    display: none;
}


.faq-answer {
    padding: .5rem 0;
    animation: slide-down 0.3s ease;
    color: var(--neutral-600);
    margin: 0;
}

@keyframes slide-down {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* END FAQ */

/* CTA BOOK NOW */
.cta-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    height: 19rem;
    /* Adjust height as needed */
    text-align: center;
    overflow: hidden;
    margin-block: 5.5rem;
}

.cta-section picture::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 109, 120, .7);
    pointer-events: none;
}

.cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    /* Puts the image behind the text and button */
}

.cta-text {
    font-size: 1.438rem;
    line-height: 1.75rem;
    font-weight: bold;
    margin-bottom: 2rem;
    z-index: 1;
    color: white;
    font-family: var(--font-renogare);
    /* Ensures text appears above the image */
}

.cta-button {
    display: inline-block;
    padding: .75rem 3.125rem;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: var(--primary-600);
    border: none;
    border-radius: var(--border-6);
    text-decoration: none;
    cursor: pointer;
    z-index: 1;
    line-height: 1.5rem;
    /* Ensures button appears above the image */
}

/* END CTA BOOK NOW */

/* ABOUT FEATURES */
.unique-dive-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin: 4.25rem auto var(--bodyGutter);
    max-width: 1280px;
}

.unique-dive-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;

}

.unique-dive-item.reverse {
    flex-direction: row-reverse;
}

.unique-dive-text {
    flex: 1;
    padding: var(--bodyGutter);
}

.unique-dive-content .unique-dive-item:nth-child(even) .unique-dive-text,
.unique-dive-content .unique-dive-item:nth-child(even) h4,
.unique-dive-content .unique-dive-item:nth-child(even) p {
    /* justify-items: flex-end; */
    text-align: right;
    /* text-align: center; */
}

.unique-dive-content .unique-dive-item:nth-child(odd) {
    /* justify-items: flex-start; */
    text-align: left;
    /* text-align: center; */
}

.unique-dive-content .unique-dive-item:nth-child(odd) .hr-half-slim {
    margin-left: 0;
}

.unique-dive-content .unique-dive-item:nth-child(even) .hr-half-slim {
    margin-right: 0;
}

.unique-dive-text h4 {
    /* font-size: 1.813rem; */
    color: var(--primary-500);
    font-weight: bold;
    margin: 0;
    line-height: normal;
    padding: 0 1rem .25rem;
}

.unique-dive-text p {
    margin-block: 2rem;
    margin-inline: 1rem;
}

.unique-dive-link {
    color: var(--primary-500);
    font-weight: bold;
    text-decoration: none;
    margin-top: 0.625rem;
    display: inline-block;
    margin-inline: 1rem;
}

.unique-dive-link:hover {
    text-decoration: underline;
    color: var(--primary-700);
}

.unique-dive-image {
    flex: 1;
}

.unique-dive-image img {
    width: 100%;
    height: auto;
    max-height: 28.125rem;
    border-radius: var(--border-6);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* END ABOUT FEATURES */



/* CONTACT FORM */
.contact-section {
    position: relative;
    padding: 5rem 1.25rem;
    color: #333;
    overflow: hidden;
    text-align: center;
}

/* Background Image Styling */
.form-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.7);
}

.form-container {
    background-color: rgba(255, 255, 255, 0.8);
    /* Semi-transparent background */
    padding: 2.5rem 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    border-radius: var(--border-6);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: bold;
    color: var(--primary-600);
    text-align: left;
    line-height: 1.5rem;
}

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

.form-row .form-group {
    flex: 1;
}

.form-group input,
.form-group textarea {
    padding: 0.625rem;
    font-size: 0.875rem;
    border: 1px solid #ccc;
    border-radius: var(--border-6);
    background-color: transparent;
    color: var(--neutral-400);
    line-height: 1.25rem;
}

input:focus,
textarea:focus {
    background-color: white;
    color: var(--primary-800);
}

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

.form-group textarea {
    resize: none;
    height: 6.25rem;
}

.form-group small {
    font-size: 0.75rem;
    color: var(--neutral-600);
    text-align: right;
    display: block;
    margin-top: 0.313rem;
}

.contact-form button[type="submit"] {
    background-color: var(--primary-500);
    color: #fff;
    padding: 0.75rem;
    font-size: 1rem;
    border: none;
    border-radius: var(--border-6);
    cursor: pointer;
    font-weight: bold;
    margin-top: 0.625rem;
    transition: all .3s linear;
}

.contact-form button[type="submit"]:hover {
    background-color: var(--primary-700);
    transition: all .3s linear;
}

.disclaimer {
    font-size: 0.75rem;
    color: var(--neutral-500);
    margin-top: 1rem;
    line-height: 1.5;
}

/* END CONTACT FORM */


/* FOOTER */
.unique-footer {
    font-size: 0.875rem;
    padding-top: 3rem;
}

.unique-footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--bodyGutter);
    margin: 0 auto 1.25rem auto;
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 1.25rem;
}

.unique-footer-column {
    flex: 1;
    min-width: 9.375rem;
}

.unique-footer-column h4,
.unique-footer-newsletter h4 {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.625rem;
}

.unique-footer-column ul {
    list-style-type: none;
    padding: 0;
}

.unique-footer-column ul li {
    margin-bottom: .5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.unique-footer-column ul li a {
    color: var(--neutral-500);
    text-decoration: none;
}

.unique-footer-column ul li a:hover {
    color: var(--primary-500);
    text-decoration: underline;
}

.unique-footer-newsletter {
    flex: 1.5;
    min-width: 15.625rem;
}

.unique-footer-newsletter p {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--neutral-500);
}

.unique-footer-form {
    display: flex;
    gap: 0.625rem;
}

.unique-footer-form input[type="email"] {
    flex: 1;
    /* padding: 0.625rem; */
    /* border: 1px solid #ccc;
    border-radius: 0.313rem;
    font-size: 14px; */

    padding: 0.625rem;
    font-size: 0.875rem;
    border: 1px solid #ccc;
    border-radius: var(--border-6);
    color: var(--neutral-300);
    line-height: 1.25rem;
    background-color: white;
}



.unique-footer-form input:focus-visible,
.unique-footer-form textarea:focus-visible {
    outline: var(--primary-400);
    border-color: var(--primary-400);
}

.unique-footer-form button {
    background-color: var(--primary-500);
    color: #fff;
    padding: 0.75rem;
    font-size: 1rem;
    border: none;
    border-radius: var(--border-6);
    cursor: pointer;
    font-weight: bold;
    transition: all .3s linear;
}

.unique-footer-form button:hover {
    background-color: var(--primary-700);
}

.unique-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding-inline: 1.25rem;
    font-size: 0.75rem;
    color: var(--neutral-500);
}

.unique-footer-bottom ul {
    display: flex;
    gap: 1rem;
    list-style-type: none;
}

.unique-footer-bottom ul li a {
    color: var(--neutral-500);
    text-decoration: none;
}

.unique-footer-bottom ul li a:hover {
    color: var(--primary-500);
    text-decoration: underline;
}

.unique-footer-bottom p {
    margin: 0;
    color: var(--neutral-500);
    font-size: 0.875rem;
    line-height: 1.25rem;
}

/* END FOOTER */



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

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

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

@media only screen and (min-width: 414px) and (max-width: 575px) {}


@media only screen and (min-width: 453px) and (max-width: 575px) {}

@media only screen and (max-width: 575px) {
    :root {
        --bodyGutter: 1.25rem;
    }

    h1 {
        font-size: 2rem;

    }

    h2 {
        font-size: 1.813rem;
    }

    h3 {
        font-size: 1.625rem;
    }

    h4 {
        font-size: 1.438rem;
    }

    h5 {
        font-size: 1.25rem;
    }
    h6 {
        font-size: 1.25rem;
    }

    p {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }

    /* HGROUP */
    .hgroup p {
        font-size: 1rem;
        line-height: 1.25rem;
    }

    /* END HGROUP */

    /* READ MORE */
    label.read-more-label {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }

    /* END READ MORE */

    /* COURSES MINI CARD */
    .courses-mini-wrapper {
        flex-direction: column;
    }

    /* END COURSES MINI CARD */

    /* COURSES TYPES CARD */
    .courses-types-wrapper {
        flex-direction: column;
    }

    .course-type-a {
        width: 100%;
    }

    /* END COURSES TYPES CARD */

    /* FOOTER */
    .unique-footer-bottom {
        flex-direction: column;
    }

    /* END FOOTER */

    .course-mini-text,
    .course-mini-text p {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
    .step-card {
        width: calc((100% - (2 * var(--bodyGutter)))/ 1);
    }

}

@media only screen and (min-width: 576px) {
    :root {
        --bodyGutter: 1.5rem;
    }

    /* READ MORE */
    label.read-more-label {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    /* END READ MORE */

    /* BLOG */
    .blog-input {
        width: 15.75rem;
    }

    /* END BLOG */
}


@media only screen and (min-width: 576px) and (max-width: 667px) {}

@media only screen and (min-width: 576px) and (max-width: 767px) {

    /* COURSES TYPES SECTION */
    .course-type-a {
        width: calc((100% - 1.5rem) / 2);
    }

    .course-type-item-figcaption {
        width: min(90%, 16.25rem);
        font-size: var(--heading-tablet-h5);
    }
    .text-with-offer-hgroup {
        padding-top: 0px;
    }
    .tabs-info-nav {
        margin-block: 0px;
    }
    .tabs-info-content ul li {
        flex-wrap: wrap;
    }
    /* END COURSES TYPES SECTION */
}

@media only screen and (min-width: 576px) and (max-width: 991px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.813rem;
    }

    h4 {
        font-size: 1.625rem;
    }

    h5 {
        font-size: 1.438rem;
    }
    h6 {
        font-size: 1.238rem;
    }

    p {
        line-height: 1.5rem;
    }

    /* HGROUP */
    .hgroup p {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    /* END HGROUP */
}

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

    /* TOP SUB NAVIGATION SLIDER WITH ICONS */
    .nav-icons {
        height: 4.5rem;
        justify-content: space-around;
        align-items: center;
        /* border-bottom: 1px solid var(--neutral-200); */
        gap: 0.5rem;
    }

    .h1-with-desc {
        font-size: 2rem;
    }
    .nav-icons figcaption {
        font-size: 0.75rem;
        line-height: 1.125rem;
        padding-top: .25rem;
    }

    .nav-icons-main-points {
        flex-direction: column;
    }

    .nav-icons-main-points-figure {
        margin-top: 2rem;
        max-width: 90vw;
    }
    .gallery-btn {
        top: 65vh;
    }
    .gallery-grid-close-btn {
        top: 30vh;
    }

    /* END TOP SUB NAVIGATION SLIDER WITH ICONS */

    /* GALLERY GRID */

    .gallery-img-credit {
        left: 10vw;
        top: 30vh;
    }
    /* Remove max-height for small screens */
    .gallery-grid-header {
        flex-direction: column;
        max-height: none;
    }

    .gallery-grid-main-image {
        width: 100%;
    }

    .gallery-grid-thumbnail-grid {
        display: none;
    }

    /* .gallery-grid-show-all-btn {
        display: block;
        margin-top: 0.625rem;
    } */

    /* Modal adjustments */
    .gallery-grid-modal-content {
        width: 90%;
        max-width: 500px;
        max-height: 304px;
    }

    .gallery-grid-slider {
        width: 100%;
        /* Images take up full width on mobile */
    }

    .gallery-grid-slides {
        gap: 0.625rem;
    }

    /* END GALLERY GRID */

    /* IMSTAGRAM IMAGES */
    .instagram-images {
        gap: .25rem;
    }

    .instagram-images img {
        width: calc((100% - 1.5rem) / 2);
    }

    /* END IMSTAGRAM IMAGES */

    /* CONTACT FORM */
    .form-row {
        flex-direction: column;
    }

    /* END CONTACT FORM */


    /* TABS WITH INFO */
    .tabs-info-nav {
        flex-direction: column;
        gap: .5rem;
    }
    .tabs-info-schedule-list {
        width: 100%;
    }

    /* END TABS WITH INFO */
}

@media only screen and (min-width: 668px) and (max-width: 991px) {

    /* TOP SUB NAVIGATION SLIDER WITH ICONS */
    .nav-icons {
        height: 4.5rem;
        justify-content: space-around;
        align-items: center;
        /* border-bottom: 1px solid var(--neutral-200); */
        gap: 1.5rem;
    }

    .nav-icons figcaption {
        font-size: 0.875rem;
        line-height: 1.375rem;
        padding-top: .25rem;
    }

    /* END TOP SUB NAVIGATION SLIDER WITH ICONS */
    .step-card {
        width: calc(100% / 2 - var(--bodyGutter));
    }
}

@media only screen and (min-width: 668px) {}

@media only screen and (min-width: 668px) and (max-width: 767px) {

    /* IMSTAGRAM IMAGES */
    .instagram-images {
        gap: .25rem;
    }

    .instagram-images img {
        width: calc((100% - 1.5rem) / 3);
    }

    /* END IMSTAGRAM IMAGES */

}

@media only screen and (max-width: 767px) {
    .tabs-info-schedule-list h6 {
        font-size: 1rem;
    }
    .testimonial-cards {
        flex-wrap: wrap;
    }
    .comment-box {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    /* BLOG */
    .blog-heading-primary {
        font-size: 2.563rem;
        line-height: 3rem;
    }

    .blog-posts-card-container {
        flex-direction: column;
    }

    .blog-posts-card {
        height: 100%;
    }

    .blog-posts-content p {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }

    /* END BLOG */

    /* POLROID */
    .index-polaroid-img {
        padding: 1rem 1rem 1.5rem 1rem;
        margin-bottom: 2.125rem;
    }

    /* END POLAROID */

    .header-tripadvisor-side-logo {
        display: none;
    }

    /* ABOUT FEATURES */
    .unique-dive-item,
    .unique-dive-item.reverse {
        flex-direction: column-reverse;
    }

    .unique-dive-image img {
        border-radius: 0;
    }

    /* END ABOUT FEATURES */
    .why-choose-description {
        margin-inline: .5rem;
    }

    .why-choose-description,
    .why-choose-description p {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }

    /* END SLIDER INTERNAL INDEX */

    /* BLOG */
    .blog-hero-section {
        height: 25rem;
    }

    .blog-main-article-title {
        font-size: 1.813rem;
        line-height: normal;
    }

    .blog-main-article-card {
        flex-direction: column-reverse;
    }

    .blog-post-contnet .conclusion {
        padding: 2.5rem 2rem 2.5rem;
        margin-block: 2rem 2rem;
    }

    /* END BLOG */

    /* WHY CHOOSE */

    .why-choose-wrapper figure {
        max-width: calc((100% - var(--bodyGutter)));
    }

    /* END WHY CHOOSE */

    /* TEXT WITH OFFER */
    .text-with-offer-content {
        flex-direction: column;
    }

    .text-with-offer-image {
        display: flex;
        justify-content: center;
    }

    /* END TEXT WITH OFFER */

    /* DINE AND SLEEP OFFER */
    .dine-sleep-offer-container {
        margin-top: 2.5rem;
        flex-direction: column;
    }

    .dine-sleep-offer-image-section {
        width: 100%;
    }

    /* END DINE AND SLEEP OFFER */

    /* HOW TO GET CERTIFICATES */
/*     .step-card {
        width: calc(100% / 2 - 3rem);
    } */

    /* HOW TO GET CERTIFICATES */

    /* WHY TO CHOOSE */
    .why-choose-container {
        padding-block: 1.5rem;
    }

    /* COURSES MINI CARD */
    .courses-mini-wrapper {
        margin-top: 3.438rem;
    }

    /* END COURSES MINI CARD */

    /* STEPS */
    .step-number {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .step-description {
        font-size: .875rem;
        line-height: 1.25rem;
    }

    .step-icon {
        width: 100%;
        height: 3rem;
        margin-bottom: 0.938rem;
    }

    /* END STEPS */

    /* FAQ */
    .faq-answer {
        font-size: .875rem;
        line-height: 1.25rem;
    }

    /* END FAQ */

}

@media only screen and (min-width: 768px) {

    /* BLOG */
    .blog-heading-primary {
        font-size: 2.875rem;
        line-height: 3.5rem;
    }

    .blog-hero-section {
        height: 28.125rem;
    }

    .blog-posts-card-link {
        width: calc((100% - var(--bodyGutter)) / 2);
    }

    .blog-post-contnet .conclusion {
        padding: 5rem 4.5rem 5rem;
        margin-block: 3rem 3rem;
    }

    /* END BLOG */

    /* POLAROID INDEX */
    .polaroid-description {
        /* height: 20rem; */
        overflow: hidden;
    }

    .polaroid-description,
    .index-polaroid-table {
        width: calc(50% - var(--bodyGutter));
        /* width: 50%; */
        float: left;
        text-align: justify;
    }

    /* .index-polaroid-table {
        margin-top: 2rem;
    } */

    .index-polaroid-img {
        float: right;
        width: calc(50% - var(--bodyGutter));
        height: 100%;
        max-width: 488px;
        max-height: 505px;
        margin-bottom: 2.125rem;
    }



    /* END POLAROID INDEX */

    /* TEXT WITH OFFER */
    .text-with-offer-hgroup h1 {
        line-height: 3.5rem;
        color: var(--primary-500);
        text-align: center;
        text-transform: uppercase;
        margin: 4rem 0 0;
    }

    .text-with-offer-card {
        float: right;
        width: calc(50% - var(--bodyGutter));
        height: 100%;
        max-width: 24rem;
    }

    .text-with-offer-description {
        width: 50%;
        float: left;
    }

    .text-with-offer-image {
        float: right;
        width: calc(50% - var(--bodyGutter));
        height: 100%;
        max-width: 30.5rem;
        margin-block: 1rem;
    }

    .text-with-offer-image img {
        max-height: 19.25rem;
    }

    /* END TEXT WITH OFFER */

    /* DINE AND SLEEP OFFER */
    .dine-sleep-offer-image-section {
        /* width: 60%; */
        max-width: (100% - (24rem + var(--bodyGutter)));
    }

    .dine-sleep-offer-container {
        margin-top: 5rem;
    }

    /* END DINE AND SLEEP OFFER */

    /* HOW TO GET CERTIFICATES */

    .dine-sleep-offer-container.reverse {
        flex-direction: row-reverse;
    }

    /* END HOW TO GET CERTIFICATES */



    /* END SLIDER INTERNAL INDEX */

    /* WHY TO CHOOSE */
    .why-choose-description {
        margin-inline: 1rem;
    }

    .why-choose-container {
        padding-block: 2rem;
    }

    /* END WHY TO CHOOSE */

    /* COURSES MINI CARD */
    .courses-mini-wrapper {
        margin-top: 5rem;
    }

    /* END COURSES MINI CARD */

    /* STEPS */
    .step-number {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }

    .step-description {
        /* font-family: var(--font-montserrat-medium); */
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .step-icon {
        width: 100%;
        height: 4rem;
        margin-bottom: 0.938rem;
    }

    /* END STEPS */


    /* FAQ */
    .faq-question {
        font-size: 1.125rem;
        line-height: 1.75;
    }

    .faq-answer {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    /* END FAQ */
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    

    /* COURSES TYPES SECTION */
    .course-type-item-figcaption {
        width: min(90%, 16.25rem);
        font-size: var(--heading-tablet-h5);
    }

    /* END COURSES TYPES SECTION */

    /* POLAROID */
    .index-polaroid-img {
        padding: 1.25rem 1.25rem 1.5rem 1.25rem;
    }

    /* END POLAROID */

    /* IMSTAGRAM IMAGES */
    .instagram-images {
        gap: .25rem;
    }

    .instagram-images img {
        width: calc((100% - 1.5rem) / 3);
    }

    /* END IMSTAGRAM IMAGES */

    /* BLOG */
    .blog-posts-card {
        height: 100%;
    }

    /* COURSES MINI SECTION*/
    .course-mini-item {
        width: calc((100% - var(--bodyGutter)) / 2);

    }

    /* END COURSES MINI SECTION*/
}

@media only screen and (min-width: 768px) and (max-width: 819px) {

    /* COURSES TYPES SECTION */
    .course-type-a {
        width: calc((100% - 1.5rem) / 2);
    }

    .course-type-item-figcaption {
        width: min(90%, 16.25rem);
        font-size: var(--heading-tablet-h5);
    }

    /* END COURSES TYPES SECTION */
}


@media only screen and (max-width: 819px) {
    /* HERO BANNER */

    .hero-banner picture {
        height: calc(100vh - 304px);
    }

    .hero-banner img {
        width: 100%;
        aspect-ratio: 393/523;
        object-fit: cover;
        object-position: center;
    }
    .hero-banner video {
        width: 100%;
        aspect-ratio: 393/523;
        object-fit: fill;
        object-position: center;
    }

    .hero-banner h1 {
        height: 100%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        margin: 0;
        text-shadow: 0 4px 14px var(--primary-900);
        font-size: 2rem;
        line-height: 2.688rem;
        text-wrap: balance;
    }

    /* END HERO BANNER */

    /* HGROUP */
    .hgroup h2 {
        font-size: 1.438rem;
        line-height: 1.75rem;
    }

    /* END HGROUP */

    /* POLAROID */
    .polaroid-table-title {
        font-size: 1.438rem;
        line-height: 1.75rem;
    }

    .polaroid-table-text {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }

    /* POLAROID */

    /* COURSES TYPES SECTION */
    .courses-types-wrapper {
        margin-block: 4rem;
    }

    /* END COURSES TYPES SECTION */
}


@media only screen and (min-width: 820px) and (max-width: 991px) {

    /* HERO BANNER */
    .hero-banner picture {
        height: calc(100vh - 304px);
    }

    /* COURSES TYPES SECTION */
    .course-type-a {
        width: calc((100% - 3rem) / 3);
    }

    /* END COURSES TYPES SECTION */
}

@media only screen and (min-width: 820px) {
    /* HERO BANNER */

    .hero-banner picture::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, .2);
        pointer-events: none;
    }

    .hero-banner img {
        width: 100%;
        aspect-ratio: 1440/672;
        object-fit: cover;
        object-position: center;
    }
    .hero-banner video {
        width: 100%;
        aspect-ratio: 1440/672;
        object-fit: fill;
        object-position: center;
    }

    .hero-banner h1 {
        height: 100%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        margin: 0;
        text-shadow: 0 4px 14px var(--primary-900);
        font-size: 2.563rem;
        line-height: 3.5rem;
        text-wrap: balance;
    }

    /* END HERO BANNER */

    .hgroup h2 {
        font-size: 2rem;
        line-height: 2.688rem;
    }

    .hgroup p {
        font-size: 1rem;
        line-height: 1.375rem;
    }

    /* POLAROID */
    .polaroid-table-title {
        font-size: 2rem;
        line-height: 2.719rem;
    }

    .polaroid-table-text {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }

    /* POLAROID */

    /* COURSES TYPES SECTION */
    .courses-types-wrapper {
        margin-top: 5rem;
        margin-bottom: 7rem;
    }

    /* END COURSES TYPES SECTION */
    
}

@media (max-width: 991px) {

    .mt5-mb4 {
        margin-block: 3.125rem 2.625rem;
    }

    .pt5-mb4 {
        padding-top: 3.125rem;
        margin-bottom: 2.625rem;
    }

    .pt50-mb-32 {
        padding-top: 2.5rem;
        margin-bottom: 2rem;
    }

    .pb-40 {
        padding-bottom: 2.625rem;
    }

    .mb-40 {
        margin-bottom: 2.625rem;
    }

    .gutter.margin {
        margin-inline: var(--bodyGutter);
    }

    .gutter.padding {
        padding-inline: var(--bodyGutter);
    }

    .lp-block {
        padding-block: 0 2.75rem;
    }

    /* Slider elements paddings*/
    .nav-icons a:first-of-type,
    .nav-icons-large a:first-of-type,
    .nav-icons-main-points figure {
        padding-left: var(--bodyGutter);
    }

    .nav-icons a:last-of-type,
    .nav-icons-large a:last-of-type,
    .nav-icons-main-points figure {
        padding-right: var(--bodyGutter);
    }

    

    .nav-icons-main-points-figure figcaption {
        font-size: 1rem;
        line-height: 1.5rem;
        width: 75%;
    }

    /* END Slider elements paddings */

    a.desktop {
        display: none;
    }

    /* NAVIGATION TOP */
    .top-nav {
        height: 4.5rem;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        border-bottom: 1px solid var(--neutral-300);
    }


    .links-container {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100%;
        background-color: var(--white);
        box-shadow: -5px 0 5px rgba(0, 0, 0, 0.25);
        flex-direction: column;
        align-items: flex-start;
        transition: right 0.75s ease-out;
        z-index: 12;
    }

    .links-container .nav-link {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        padding: 1.25rem 1.875rem;
        text-decoration: none;
        color: var(--primary-500);
        box-sizing: border-box;
    }

    .links-container a.nav-link:hover {
        background-color: var(--primary-500);
        color: var(--primary-50);
    }

    .top-nav svg,
    .open-sidebar-button,
    .close-sidebar-button {
        cursor: pointer;
        fill: var(--primary-500);
    }

    #sidebar-active:checked~.links-container {
        right: 0;
    }

    #sidebar-active:checked~#overlay {
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9;
        /* backdrop-filter: blur(0.625rem);
        -webkit-backdrop-filter: blur(0.625rem); */
    }

    .open-sidebar-button,
    .close-sidebar-button {
        display: block;
    }

    .open-sidebar-button {
        padding-block: 1.125rem;
    }

    .close-sidebar-button {
        padding: 1.125rem;
    }


    .logo-svg-a {
        display: flex;
        align-items: center;
        gap: 2rem;
        padding: 0;
        margin-right: auto;
    }

    .top,
    .middle,
    .bottom {
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    @keyframes slideLeft {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-100%);
        }
    }

    @keyframes slideRight {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(100%);
        }
    }

    #sidebar-active {
        display: none;
    }

    #sidebar-active:checked+.open-sidebar-button .top,
    #sidebar-active:checked+.open-sidebar-button .bottom {
        animation: slideLeft 0.5s forwards;
    }

    #sidebar-active:checked+.open-sidebar-button .middle {
        animation: slideRight 0.5s forwards;
    }

    .line-vertical-break {
        display: none;
    }

    /* Dropdown Container */
    .custom-dropdown {
        padding: 1.25rem 1.875rem;
    }

    /* END NAVIGATION TOP */

    /* SLIDER INTERNAL INDEX */
    .nav-icons-large-svg {
        height: 5rem;
        padding: 0.75rem;
        box-sizing: border-box;
        max-width: 70%;
    }

    .nav-icons-value {
        font-size: 1.813rem;
        line-height: normal;
    }

    /* HERO BLOG DETAILS */
    .blog-details-header-container hgroup {
        margin: 2.5rem 0 2rem;
    }

    .blog-details-header-title {
        font-size: 1.813rem;
    }

    .blog-details-header-meta {
        font-size: 0.875rem;
        line-height: 1.125rem;
    }

    /* END HERO BLOG DETAILS */

    /* POLAROID */
    .polaroid-img-content {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }

    /* END POLAROID */

    /* MEET TEAM */
    

    /* Main wrapper to enable horizontal scrolling */

    .team-wrapper::-webkit-scrollbar {
        display: none;
        /* Hides the scrollbar */
    }

    .team-item {
        min-width: 280px;
        /* Controls the width of each slide */
        flex: 0 0 auto;
        /* Prevents flex items from growing/shrinking */
        scroll-snap-align: center;
        /* Snap each item to the start */
    }

    .team-wrapper .team-item:first-child {
        margin-left: var(--bodyGutter);
    }

    /* Optional styles for the image */
    .team-item-img {
        width: 100%;
        height: auto;
    }

    /* ABOUT FEATURES */

    .unique-dive-text h4 {
        font-size: 1.438rem;
    }

    /* END ABOUT FEATURES */
}

@media (min-width: 992px) {

    /* html {
        font-size: 18px;
        font-size: 1rem;
        line-height: 1.75rem;
    } */

    p {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }

    h1 {
        font-size: 2.563rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.813rem;
    }

    h4 {
        font-size: 1.625rem;
    }

    h5 {
        font-size: 1.438rem;
    }
    h6 {
        font-size: 1.238rem;
    }

    .mt5-mb4 {
        margin-block: 5rem 4rem;
    }

    .pt5-mb4 {
        padding-top: 5rem;
        margin-bottom: 4rem;
    }
    .pt4 {
        padding-top: 4rem;
    }
    .mb4 {
        margin-bottom: 4rem;
    }
    .pt50-mb-32 {
        padding-top: 3.688rem;
        margin-bottom: 2rem;
    }

    .pb-40 {
        padding-bottom: 3.125rem;
    }

    .mb-40 {
        margin-bottom: 3.125rem;
    }

    .text-max {
        max-width: 82%;
        margin-inline: auto;
    }

    .lp-block {
        padding-block: 3rem 5.5rem;
        max-width: 1008px;
        margin-inline: auto;
    }

    /* HGROUP */
    /* .hgroup h2 {
        font-size: 1.438rem;
        line-height: 1.75rem;
    } */
    .hgroup p {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    /* END HGROUP */

    /* NAVIGATION TOP */
    .top-nav {
        height: 4.5rem;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        border-bottom: 1px solid var(--neutral-300);
    }

    .links-container {
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 1rem;
    }

    .top-nav .nav-link {
        height: 100%;
        padding-inline: 0.5rem;
        display: flex;
        align-items: center;
        text-decoration: none;
        color: var(--primary-600);
        font-family: var(--font-montserrat-semibold);
    }

    .top-nav a.nav-link:hover {
        background-color: var(--primary-500);
        color: var(--primary-50);
    }

    .top-nav svg {
        fill: var(--primary-500);
        cursor: pointer;
    }

    #sidebar-active {
        display: none;
    }

    .top,
    .middle,
    .bottom {
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    @keyframes slideLeft {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-100%);
        }
    }

    @keyframes slideRight {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(100%);
        }
    }

    #sidebar-active:checked+.open-sidebar-button .top,
    #sidebar-active:checked+.open-sidebar-button .bottom {
        animation: slideLeft 0.5s forwards;
    }

    #sidebar-active:checked+.open-sidebar-button .middle {
        animation: slideRight 0.5s forwards;
    }

    .open-sidebar-button,
    .close-sidebar-button {
        display: none;
    }

    /* END NAVIGATION TOP */

    /* SLIDER INTERNAL INDEX */
    .nav-icons-large-svg {
        /* padding: 1rem; */
        box-sizing: border-box;
        height: 64px;
    }

    .nav-icons-value {
        font-size: 2.25rem;
        line-height: 2.75rem;
    }

    /* TOP SUB NAVIGATION SLIDER WITH ICONS */
    .nav-icons {
        height: 6rem;
        justify-content: space-around;
        align-items: center;
        /* border-bottom: 1px solid var(--neutral-200); */
        gap: 2rem;
    }

    .nav-icons svg {
        height: 1.875rem;
    }

    .nav-icons figcaption {
        font-size: 1rem;
        line-height: 1.5rem;
        padding-top: 0.375rem;
    }

    .nav-icons-main-points-figure figcaption {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }

    /* END TOP SUB NAVIGATION SLIDER WITH ICONS */

    /* HERO BANNER */
    .hero-banner picture {
        height: calc(100vh - 326px);
    }

    /* END HERO BANNER */

    /* HERO BLOG DETAILS */
    .blog-details-header-container hgroup {
        margin: 2.5rem 0 2rem;
    }

    /* END HERO BLOG DETAILS */

    /* COURSES TYPES SECTION */
    .course-type-a {
        width: calc((100% - 3rem) / 3);
    }

    /* END COURSES TYPES SECTION */


    /* POLAROID */
    .index-polaroid-img {
        padding: 2rem 2rem 3rem 2rem;
    }

    /* END POLAROID */
    .team-wrapper {
        overflow-x: scroll;
    }
    /* MEET TEAM */
/*     .team-wrapper {
        display: flex;
        gap: var(--bodyGutter);
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: clip;
        justify-content: center;
        margin-block: 7.125rem 5rem;
    } */

    /* END MEET TEAM */

    /* POLAROID */
    .polaroid-img-content {
        font-size: 1.25rem;
        line-height: initial;
        letter-spacing: -1px;
    }

    /* END POLAROID */

    /* IMSTAGRAM IMAGES */
    .instagram-images {
        gap: .25rem;
        flex-grow: 1;
    }

    .instagram-images img {
        width: clamp(14.75rem, 320px, 22.25rem);

    }

    /* END IMSTAGRAM IMAGES */

    /* COURSES MINI SECTION*/
    .course-mini-item {
        width: calc((100% - (2 * var(--bodyGutter))) / 3);
    }

    /* END COURSES MINI SECTION*/

    /* ABOUT FEATURES */

    .unique-dive-text h4 {
        font-size: 1.813rem;
    }

    /* END ABOUT FEATURES */
}

@media only screen and (min-width: 992px) and (max-width: 1023px) {
    .gutter.margin {
        margin-inline: calc((100vw - 940px) / 2);
    }

    .gutter.padding {
        padding-inline: calc((100vw - 940px) / 2);
    }

    /* Slider elements paddings*/
    .nav-icons a:first-of-type,
    .nav-icons-large a:first-of-type,
    .nav-icons-main-points figure:first-of-type {
        padding-left: calc((100vw - 940px) / 2);
    }

    .nav-icons a:last-of-type,
    .nav-icons-large a:last-of-type,
    .nav-icons-main-points figure:last-of-type {
        padding-right: calc((100vw - 940px) / 2);
    }

    .testimonial-cards .comment-box:first-child {
        margin-left: calc((100vw - 940px) / 2);
    }

    .testimonial-cards .comment-box:last-child {
        margin-right: calc((100vw - 940px) / 2);
    }

    /* END Slider elements paddings */

    /* HERO BLOG DETAILS */
    .blog-details-header-container hgroup {
        margin: 2.5rem 0 2rem;
    }

    /* END HERO BLOG DETAILS */


}

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

    /* SLIDER INTERNAL INDEX */
    #slider-no-links-points {
        margin-block: 1.75rem;
    }
    /* END SLIDER INTERNAL INDEX */
    .why-choose-wrapper {
        justify-content: space-evenly;
    }
}




@media only screen and (min-width: 1024px) {

    /* SLIDER INTERNAL INDEX */
    #slider-no-links-points {
        margin-block: 7.5rem 5rem;
    }

    .step-card{
        width: calc((100% - (2 * var(--bodyGutter)))/ 3);
    }
    .how-to-steps-wrapper{
        max-width: 80vw;
    }
    .tabs-info-content ul {
        flex: 0 0 calc(1/3 * 100%);
    }
    .testimonial-cards .comment-box:first-child {
        margin-left: var(--bodyGutter);
    }

    .testimonial-cards .comment-box:last-child {
        margin-right: var(--bodyGutter);
    }

    /* END SLIDER INTERNAL INDEX */
}

@media only screen and (min-width: 1024px) and (max-width: 1279px) {
    .gutter.margin {
        margin-inline: calc((100vw - 980px) / 2);
    }

    .why-choose-wrapper {
        justify-content: space-evenly;
    }
    .gutter.padding {
        padding-inline: calc((100vw - 980px) / 2);
    }

    /* Slider elements paddings*/
    .nav-icons a:first-of-type,
    .nav-icons-large a:first-of-type,
    .nav-icons-main-points figure:first-of-type {
        padding-left: calc((100vw - 980px) / 2);
    }

    .nav-icons a:last-of-type,
    .nav-icons-large a:last-of-type,
    .nav-icons-main-points figure:last-of-type {
        padding-right: calc((100vw - 980px) / 2);
    }

    .testimonial-cards .comment-box:first-child {
        margin-left: calc((100vw - 980px) / 2);
    }

    .testimonial-cards .comment-box:last-child {
        margin-right: calc((100vw - 980px) / 2);
    }

    /* END Slider elements paddings */

    /* HERO BLOG DETAILS */
    .blog-details-header-container hgroup {
        margin: 3rem 0 2.125rem;
    }

    /* END HERO BLOG DETAILS */
}

@media only screen and (min-width: 1280px) {

    h1 {
        font-size: 2.875rem;
        line-height: 3.5rem;
    }

    /* HERO BLOG DETAILS */
    .blog-details-header-container hgroup {
        margin: 5rem 0 4.188rem;
    }

    /* END HERO BLOG DETAILS */
    .gallery-img-credit {
        bottom: 7vh;
    }

    .how-to-steps-wrapper {
        max-width: 80vw;
    }
    
}
@media only screen and (max-width: 1439px){
    .testimonial-cards .comment-box:first-child {
            margin-left: 0px;
        }
    
    .testimonial-cards .comment-box:last-child {
        margin-right: 0px;
    }

    .testimonial-cards {
        flex-wrap: wrap;
    }
}
@media only screen and (min-width: 1280px) and (max-width: 1439px) {
    .gutter.margin {
        margin-inline: calc((100vw - 1200px) / 2);
    }

    .gutter.padding {
        padding-inline: calc((100vw - 1200px) / 2);
    }

    /* Slider elements paddings*/
    .nav-icons a:first-of-type,
    .nav-icons-large a:first-of-type,
    .nav-icons-main-points figure:first-of-type {
        padding-left: calc((100vw - 1200px) / 2);
    }

    .nav-icons a:last-of-type,
    .nav-icons-large a:last-of-type,
    .nav-icons-main-points figure:last-of-type {
        padding-right: calc((100vw - 1200px) / 2);
    }

    .testimonial-cards .comment-box:first-child {
        margin-left: calc((100vw - 1200px) / 2);
    }

    .testimonial-cards .comment-box:last-child {
        margin-right: calc((100vw - 1200px) / 2);
    }

    /* END Slider elements paddings */
    .step-card {
        width: calc((100% - (2 * var(--bodyGutter)))/ 3);
    }
}

@media only screen and (min-width: 1440px) and (max-width: 1920px) {}

@media only screen and (min-width: 1440px) {


    .step-card {
            width: calc((100% - (2 * var(--bodyGutter)))/ 7);
    }

    .gutter.margin {
        margin-inline: calc((100vw - 1280px) / 2);
    }

    .gutter.padding {
        padding-inline: calc((100vw - 1280px) / 2);
    }

    /* Slider elements paddings*/
    .nav-icons a:first-of-type,
    .nav-icons-large a:first-of-type,
    .nav-icons-main-points figure:first-of-type {
        padding-left: calc((100vw - 1280px) / 2);
    }

    .nav-icons a:last-of-type,
    .nav-icons-large a:last-of-type,
    .nav-icons-main-points figure:last-of-type {
        padding-right: calc((100vw - 1280px) / 2);
    }

    .testimonial-cards .comment-box:first-child {
        margin-left: calc((100vw - 1280px) / 2);
    }

    .testimonial-cards .comment-box:last-child {
        margin-right: calc((100vw - 1280px) / 2);
    }

    /* END Slider elements paddings */

    .hero-banner h1 {
        height: 100%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        margin: 0;
        text-shadow: 0 4px 14px var(--primary-900);
        font-size: 3.5rem;
        line-height: 4rem;
        text-wrap: balance;
    }

    /* END HERO BANNER */
}

@media only screen and (min-width: 1921px) {}