/* =========================================================
   GLOBAL LAYOUT
========================================================= */

.main {
    margin-top: 60px;
}

@media (max-width: 576px) {
    .main {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .main {
        margin-top: 50px !important;
    }
}


/* =========================================================
   SHARED / GENERAL COMPONENTS
========================================================= */

.featured-services .service-item .icon {
    border-radius: 5px;
}

.testimonials .testimonial-item {
    min-height: 220px;
}

.client-logo {
    margin-top: 0 !important;
}

.pricing h4 {
    font-size: 28px;
    margin-top: 12px;
}


/* =========================================================
   PAGE CTA
========================================================= */

.page-cta {
    color: var(--contrast-color);
    background: var(--accent-color);
    font-size: 14px;
    padding: 8px 25px;
    margin: 0;
    border-radius: 50px;
    transition: 0.3s;
    border: none;
}

.page-cta:hover,
.page-cta:focus:hover {
    color: var(--contrast-color);
    background: color-mix(in srgb, var(--accent-color), transparent 15%);
}


/* =========================================================
   HERO SECTION
========================================================= */

#hero {
    padding: 60px 0;
    padding-bottom: 0;
}

#hero h1 {
    font-size: 36px;
    line-height: 1.2;
}

#hero p {
    margin-top: 15px;
    font-size: 16px;
    line-height: 1.6;
}


/* =========================================================
   HERO BACKGROUND VARIANT
========================================================= */

#hero.hero-bg {
    padding: 0;
    padding-top: 60px;
}

#hero .hero-content {
    min-height: 40vh;
    padding: 0 12px;
}

#hero .hero-title {
    font-size: clamp(28px, 5vw, 44px);
    line-height: 1.15;
}

#hero .hero-subtitle {
    max-width: 720px;
    font-size: clamp(15px, 2.2vw, 18px);
    line-height: 1.6;
}

#hero .hero-trust-text {
    color: #000;
    text-align: center;
}

#hero .hero-cta {
    margin-top: 22px;
}


/* =========================================================
   HERO RESPONSIVE
========================================================= */

@media (max-width: 768px) {
    #hero {
        padding-top: 60px;
        padding-bottom: 0;
        text-align: center;
    }
}

@media (max-width: 576px) {
    #hero.hero-bg {
        padding: 44px 0;
        padding-bottom: 0;
    }

    #hero .hero-content {
        min-height: auto;
    }

    #hero .hero-subtitle br {
        display: none;
    }
}


/* =========================================================
   OUR WORK SECTION
========================================================= */

.our-work {
    padding: 80px 0;
}

.work-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: #fff;
}

.work-image {
    height: 420px;
    overflow: hidden;
    position: relative;
}

.work-image img {
    width: 100%;
    transition: transform 6s ease;
}

.work-card:hover .work-image img {
    transform: translateY(-60%);
}

@media (max-width: 768px) {
    .work-image {
        height: 360px;
    }
}


/* =========================================================
   IMAGE CARDS / ABOUT SECTION IMAGES
========================================================= */

.image-card {
    position: relative;
    display: inline-block;
    padding: 10px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.image-card img {
    width: 100%;
    height: auto;
    display: block;
}

.offset-card {
    transform: translateY(20px);
}

@media (max-width: 768px) {
    #about .col-lg-6.text-center {
        margin-bottom: 35px;
    }

    .offset-card {
        transform: none;
    }
}


/* =========================================================
   PRICING BUTTONS / CTA BUTTONS
========================================================= */

.pricing-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-item ul {
    flex-grow: 1;
}

.pricing-item .cta-btn {
    margin-top: auto;
}

.cta-btn-2 {
    color: var(--contrast-color);
    background: var(--accent-color);
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 28px;
    border-radius: 50px;
    transition: 0.4s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.cta-btn-2:hover {
    background: color-mix(in srgb, var(--accent-color), white 20%);
    color: var(--contrast-color);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   SHOP
========================================================= */

.shop-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    padding: 12px;
    transition: 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.shop-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.shop-image {
    overflow: hidden;
    border-radius: 12px;
}

.shop-image img {
    width: 100%;
    height: auto;
    transition: 0.4s ease;
}

.shop-item:hover .shop-image img {
    transform: scale(1.05);
}

.shop-content {
    text-align: center;
    padding: 10px 5px;
}

.shop-content h5 {
    font-weight: 600;
    margin: 10px 0 5px;
}

.shop-price {
    font-size: 18px;
    font-weight: 600;
    color: #17403c;
    margin-bottom: 10px;
}

.shop-btn {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    background: #17403c;
    color: #fff;
    transition: 0.3s ease;
}

.shop-btn:hover {
    background: #0f2f2c;
    color: #fff;
}


/* =========================================================
   ABOUT PAGE
========================================================= */

.about-page {
    padding-top: 80px;
    padding-bottom: 0;
}

.about-page-header {
    padding-bottom: 35px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(23, 64, 60, 0.25);
}

.about-page-header h1 {
    font-size: clamp(34px, 5vw, 40px);
    line-height: 1.1;
    margin-bottom: 18px;
}

.about-page-subtitle {
    max-width: 720px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.7);
}

.about-page-copy {
    max-width: 850px;
    margin: 0 auto;
    padding-left: 24px;
    border-left: 2px solid #17403c;
}

.about-page-copy p {
    line-height: 1.9;
    margin-bottom: 20px;
    color: #000;
}

.about-page-copy p:last-child {
    margin-bottom: 0;
}

.about-signoff {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(23, 64, 60, 0.2);
    font-style: italic;
}

@media (max-width: 768px) {
    .about-page {
        padding: 60px 0;
    }

    .about-page-header {
        padding-bottom: 25px;
        margin-bottom: 30px;
    }

    .about-page-header h1 {
        font-size: 34px;
    }

    .about-page-subtitle {
        font-size: 16px;
    }

    .about-page-copy {
        padding-left: 16px;
    }

    .about-page-copy p {
        font-size: 16px;
        line-height: 1.8;
        margin-bottom: 18px;
    }
}



/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-page {
    padding: 80px 0;
}

.contact-page-header {
    padding-bottom: 35px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(23, 64, 60, 0.25);
}

.contact-page-header h1 {
    font-size: clamp(34px, 5vw, 40px);
    line-height: 1.1;
    margin-bottom: 18px;
}

.contact-page-subtitle {
    max-width: 720px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.7);
}

.contact-page h2 {
    font-size: 28px;
    margin-bottom: 0;
}

.contact-form-wrap {
    background-color: color-mix(in srgb, var(--accent-color), transparent 96%);
    padding: 32px;
    border-radius: 15px;
    border: 1px solid rgba(23, 64, 60, 0.08);
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(23, 64, 60, 0.14);
    border-radius: 12px;
    box-shadow: none;
    color: #000;
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.9);
    border-color: #17403c;
    box-shadow: 0 0 0 0.15rem rgba(23, 64, 60, 0.10);
}

.contact-form .form-floating > label {
    color: rgba(0, 0, 0, 0.65);
}

.contact-form textarea.form-control {
    border-radius: 12px;
}

.alert-messages .alert {
    border-radius: 12px;
    border: 1px solid rgba(23, 64, 60, 0.15);
}

.contact-map iframe {
    display: block;
    border-radius: 16px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .contact-page {
        padding: 60px 0;
    }

    .contact-page-header {
        padding-bottom: 25px;
        margin-bottom: 30px;
    }

    .contact-page-header h1 {
        font-size: 34px;
    }

    .contact-page-subtitle {
        font-size: 16px;
    }

    .contact-page h2 {
        font-size: 24px;
    }

    .contact-form-wrap {
        padding: 22px;
    }
}


/* =========================================================
   CLASS BOOKING / CHECKOUT FIELDS
========================================================= */

.class-booking-form .class-date-picker,
.class-booking-form .class-time-select {
    background-color: color-mix(in srgb, var(--accent-color), transparent 96%);
    border: 1px solid rgba(23, 64, 60, 0.16);
    border-radius: 12px;
    color: #000;
    padding: 12px 14px;
    min-height: 50px;
    box-shadow: none;
    transition: 0.3s ease;
}

.class-booking-form .class-date-picker:focus,
.class-booking-form .class-time-select:focus {
    background-color: color-mix(in srgb, var(--accent-color), transparent 94%);
    border-color: #17403c;
    box-shadow: 0 0 0 0.15rem rgba(23, 64, 60, 0.10);
    outline: none;
}

.class-booking-form .class-date-picker:hover,
.class-booking-form .class-time-select:hover {
    border-color: rgba(23, 64, 60, 0.28);
}

.class-booking-form small {
    color: rgba(0, 0, 0, 0.68);
    line-height: 1.5;
}

.class-booking-form label.small {
    color: #000;
}

.class-booking-form .class-time-select option {
    background: #fff;
    color: #000;
}


/* =========================================================
   ALERTS
========================================================= */

.alert-messages {
    margin-bottom: 20px;
}

.alert-messages .alert {
    background-color: color-mix(in srgb, var(--accent-color), transparent 94%);
    border: 1px solid rgba(23, 64, 60, 0.16);
    border-radius: 14px;
    color: #000;
    padding: 14px 16px;
    margin-bottom: 12px;
    box-shadow: none;
}

.alert-messages .alert:last-child {
    margin-bottom: 0;
}

.alert-messages .alert-success {
    background-color: color-mix(in srgb, #17403c, transparent 92%);
    border-color: rgba(23, 64, 60, 0.22);
    color: #17403c;
}

.alert-messages .alert-error,
.alert-messages .alert-danger {
    background-color: rgba(180, 58, 58, 0.08);
    border-color: rgba(180, 58, 58, 0.18);
    color: #7a2222;
}

.alert-messages .alert-warning {
    background-color: rgba(186, 140, 35, 0.10);
    border-color: rgba(186, 140, 35, 0.20);
    color: #6d520d;
}

.alert-messages .alert-info {
    background-color: color-mix(in srgb, var(--accent-color), transparent 93%);
    border-color: rgba(23, 64, 60, 0.14);
    color: #000;
}


/* =========================================================
   CUSTOM ALERT MODAL
========================================================= */

.custom-alert-overlay {
    position: fixed;
    inset: 0;
    background: rgba(23, 64, 60, 0.35);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

.custom-alert-overlay.show {
    display: flex;
}

.custom-alert-box {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 18px;
    padding: 28px 26px;
    text-align: center;
    border: 1px solid rgba(23, 64, 60, 0.14);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    animation: customAlertPop 0.25s ease;
}

.custom-alert-box p {
    margin: 0;
    color: #000;
    font-size: 16px;
    line-height: 1.6;
}

.custom-alert-box button {
    margin-top: 22px;
    background: var(--accent-color);
    color: var(--contrast-color);
    border: none;
    border-radius: 50px;
    padding: 10px 28px;
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s ease;
}

.custom-alert-box button:hover {
    background: color-mix(in srgb, var(--accent-color), white 15%);
}

@keyframes customAlertPop {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }

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


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {
    .class-booking-form .class-date-picker,
    .class-booking-form .class-time-select {
        min-height: 48px;
        padding: 10px 12px;
    }

    .alert-messages .alert {
        padding: 12px 14px;
    }
}