/* VitalSpring Core - Widgets CSS */

.ma-feedback-slider-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: visible !important;
    /* Allow the avatar to float */
    width: 100% !important;
    /* Force width */
    min-width: 300px;
    /* Prevent collapse */
}

.ma-feedback-slider-wrapper .ma-swiper-container {
    overflow: hidden !important;
    position: relative;
    border-radius: 30px;
    padding-bottom: 20px !important;
    width: 100% !important;
    margin-left: auto;
    margin-right: auto;
    list-style: none;
    padding: 0;
    z-index: 1;
    cursor: grab;
    /* UI Enhancement: Show drag handle */
}

.ma-feedback-slider-wrapper .ma-swiper-container:active {
    cursor: grabbing;
}

.ma-feedback-slider-wrapper .ma-swiper-wrapper {
    display: flex;
    /* Essential Swiper CSS */
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition-property: transform;
    box-sizing: content-box;
}

.ma-feedback-slider-wrapper .ma-swiper-slide {
    height: auto;
    padding: 10px;
    padding-top: 80px !important;
    /* The magic number for the avatar */
    box-sizing: border-box;
    /* Essential Swiper CSS */
    flex-shrink: 0;
    width: 100%;
    position: relative;
    transition-property: transform;
    display: block;
}

/* Card Styles */
.ma-feedback-slider-wrapper .testimonial-card {
    background: #fff;
    border-radius: 24px;
    text-align: center;
    position: relative;
    border-bottom: 5px solid #f7c145;
    transition: transform 0.3s ease;
    width: 100%;
    /* Ensure card fills slide */
}

/* Floating Avatar - The Key Element */
.ma-feedback-slider-wrapper .client-avatar {
    border-radius: 50%;
    border-style: solid;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 10;
    /* Dimensions handled by Elementor controls but defaults here */
    width: 110px;
    height: 110px;
    top: -55px;
}

.ma-feedback-slider-wrapper .client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Typography */
.ma-feedback-slider-wrapper .stars {
    color: #f7c145;
    margin-bottom: 15px;
    font-size: 1.2rem;
    line-height: 1;
}

.ma-feedback-slider-wrapper .testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.ma-feedback-slider-wrapper .client-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.ma-feedback-slider-wrapper .client-role {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 5px;
    display: block;
}

/* Navigation Controls - Optional overrides */
.ma-feedback-slider-wrapper .ma-slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 5;
}

.ma-feedback-slider-wrapper .ma-slider-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ma-feedback-slider-wrapper .swiper-pagination {
    position: static !important;
    width: auto !important;
    display: flex;
    gap: 12px;
    align-items: center;
}

.ma-feedback-slider-wrapper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    margin: 0 !important;
    border-radius: 50%;
    opacity: 1;
}



.ma-team-wrapper {
    position: relative;
    padding-top: 60px;
}

.ma-team-card {
    background: #fff;
    text-align: center;
    position: relative;
    border-bottom: 5px solid #f7c145;
    transition: transform 0.3s ease;
}

.ma-team-card:hover {
    transform: translateY(-5px);
}

.ma-team-avatar {
    border-style: solid;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.ma-team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ma-team-name {
    margin: 0;
    font-weight: 700;
    font-size: 1.5rem;
}

.ma-team-title {
    display: block;
    margin-top: 5px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 600;
}

.ma-team-bio {
    margin-top: 15px;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.ma-team-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.ma-team-social-link {
    display: inline-flex;
    transition: color 0.3s ease;
}

.ma-faq-item {
    overflow: hidden;
    transition: all 0.3s ease;
}

.ma-faq-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.ma-faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.ma-faq-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    opacity: 0;
    transition: all 0.3s ease;
    background: #f9f9f9;
    background: inherit;
}

.ma-faq-content p {
    margin-top: 20px;
    margin-bottom: 20px;
}

.ma-faq-icon i {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.ma-faq-item.active .ma-faq-content {
    max-height: 500px;
    opacity: 1;
}

/* --- Premium FAQ Styles (Style 7, 8, 11) --- */

/* Global Logic for Premium Styles */
.faq-unique-item {
    margin-bottom: 30px;
    cursor: pointer;
    position: relative;
}

/* Fix for Elementor frontend: ensure proper sizing */
.faq-unique-item * {
    box-sizing: border-box;
}

.faq-unique-item .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    line-height: 1.8;
}

.faq-unique-item.active .faq-answer {
    max-height: 500px;
}

/* --- Style 7: The "Large Number" Overlay --- */
.style-7-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 20px;
    border-bottom: 2px solid #96dadd;
    /* soft-blue */
}

.style-7-item .number-bg {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: #96dadd;
    /* soft-blue */
    opacity: 0.3;
    line-height: 1;
    transition: 0.4s;
    font-weight: 700;
}

.style-7-item .content {
    flex: 1;
}

.style-7-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 10px 0 0;
    color: #066172;
    /* deep-teal */
    line-height: 1.2;
}

.style-7-item.active .number-bg {
    color: #f7c145;
    /* amber-gold */
    opacity: 1;
    transform: scale(1.1);
}

/* --- Style 8: The Floating Capsule Glow --- */
.style-8-item {
    background: #ffffff;
    /* white */
    padding: 25px 40px;
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(6, 97, 114, 0.05);
    border: 1px solid transparent;
    transition: 0.4s;
}

.style-8-item .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.style-8-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #066172;
    /* deep-teal */
    margin: 0;
}

.style-8-item .icon-circle {
    width: 35px;
    height: 35px;
    background: #96dadd;
    /* soft-blue */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #066172;
    /* deep-teal */
    font-weight: bold;
    transition: 0.4s;
}

.style-8-item.active {
    border-radius: 30px;
    border-color: #f7c145;
    /* amber-gold */
    box-shadow: 0 20px 40px rgba(247, 193, 69, 0.2);
}

.style-8-item.active .icon-circle {
    background: #f7c145;
    /* amber-gold */
    transform: rotate(180deg);
}

/* --- Style 11: The "Paper Fold" Reveal --- */
.style-11-item {
    background: #ffffff;
    /* white */
    padding: 0;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 95% 100%, 0 100%);
    border-bottom: 4px solid #f7c145;
    /* amber-gold */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.style-11-item .faq-question {
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.style-11-item .indicator {
    width: 8px;
    height: 8px;
    background: #f7c145;
    /* amber-gold */
    border-radius: 50%;
}

.style-11-item h3 {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    color: #066172;
    /* deep-teal */
    font-weight: 600;
    margin: 0;
}

.style-11-item .faq-answer {
    background: #fdfdfd;
    padding: 0 30px 30px;
    border-top: 1px solid #eee;
}

/* Mobile Responsiveness for FAQ Styles */
@media (max-width: 768px) {
    .style-7-item {
        flex-direction: column;
        gap: 10px;
    }

    .style-8-item {
        border-radius: 30px;
        padding: 20px;
    }
}

/* --- MA Section Divider Styles --- */

/* Style 1: Golden Diamond Pulse */
.ma-divider-s1 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.ma-divider-s1::before,
.ma-divider-s1::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--ma-divider-secondary, #f7c145));
}

.ma-divider-s1::after {
    background: linear-gradient(to left, transparent, var(--ma-divider-secondary, #f7c145));
}

.ma-divider-s1 .icon {
    width: 12px;
    height: 12px;
    background: var(--ma-divider-secondary, #f7c145);
    transform: rotate(45deg);
    margin: 0 20px;
    box-shadow: 0 0 10px var(--ma-divider-secondary, #f7c145);
}

/* Style 2: Organic Wave */
.ma-divider-s2 {
    width: 100%;
    height: 60px;
    overflow: hidden;
    line-height: 0;
}

.ma-divider-s2 svg {
    width: 100%;
    height: 100%;
    fill: var(--ma-divider-accent, #96dadd);
}

/* Style 3: Asymmetric Teal Slant */
.ma-divider-s3 {
    height: 4px;
    width: 150px;
    background: var(--ma-divider-primary, #066172);
    margin: 0 auto;
    position: relative;
    border-radius: 10px;
}

.ma-divider-s3::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--ma-divider-secondary, #f7c145);
    border-radius: 10px;
}

/* Style 4: Floating Medical Nodes */
.ma-divider-s4 {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.ma-divider-s4 span {
    width: 10px;
    height: 10px;
    background: var(--ma-divider-accent, #96dadd);
    border-radius: 50%;
}

.ma-divider-s4 span:nth-child(2) {
    background: var(--ma-divider-primary, #066172);
    transform: scale(1.5);
}

.ma-divider-s4 span:nth-child(3) {
    background: var(--ma-divider-secondary, #f7c145);
}

/* Style 5: Gradient Fade */
.ma-divider-s5 {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, transparent, var(--ma-divider-primary, #066172), var(--ma-divider-secondary, #f7c145), var(--ma-divider-primary, #066172), transparent);
    opacity: 0.6;
}

/* Style 6: Artistic Logo Divider */
.ma-divider-s6 {
    position: relative;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ma-divider-s6 svg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ma-divider-s6 svg path:first-child {
    stroke: var(--ma-divider-secondary, #f7c145);
}

.ma-divider-s6 svg path:last-child {
    stroke: var(--ma-divider-primary, #066172);
}

.ma-divider-s6 .center-text {
    position: relative;
    z-index: 2;
    background: var(--ma-divider-bg, #ffffff);
    padding: 0 30px;
    font-family: 'Playfair Display', serif;
    color: var(--ma-divider-primary, #066172);
    font-style: italic;
    font-size: 1.4rem;
}

/* Style 7: Interlocking Rings */
.ma-divider-s7 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

.ma-divider-s7 .ring {
    width: 30px;
    height: 30px;
    border: 3px solid var(--ma-divider-primary, #066172);
    border-radius: 50%;
    margin-right: -10px;
    opacity: 0.8;
}

.ma-divider-s7 .ring.gold {
    border-color: var(--ma-divider-secondary, #f7c145);
    width: 40px;
    height: 40px;
}

.ma-divider-s7 .ring.blue {
    border-color: var(--ma-divider-accent, #96dadd);
}

/* Style 8: Medical Pulse (EKG) */
.ma-divider-s8 {
    width: 200px;
    /* Default logic, overrideable via width control */
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.ma-divider-s8 svg {
    width: 100%;
    height: 40px;
}

.ma-divider-s8 .pulse-path {
    stroke: var(--ma-divider-primary, #066172);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
}

.ma-divider-s8 .pulse-circle {
    fill: var(--ma-divider-secondary, #f7c145);
}

/* Style 9: Shadow Step Transition */
.ma-divider-s9 {
    height: 80px;
    width: 100%;
    background: linear-gradient(135deg, var(--ma-divider-primary, #066172) 0%, var(--ma-divider-primary, #066172) 50%, var(--ma-divider-bg, #ffffff) 50%, var(--ma-divider-bg, #ffffff) 100%);
    opacity: 0.1;
    clip-path: polygon(0 40%, 100% 60%, 100% 100%, 0% 100%);
}

/* Style 10: Floral Motif */
.ma-divider-s10 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.ma-divider-s10 .petal {
    width: 15px;
    height: 30px;
    background: var(--ma-divider-accent, #96dadd);
    border-radius: 50% 50% 0 0;
    transform-origin: bottom center;
}

.ma-divider-s10 .petal.center {
    background: var(--ma-divider-secondary, #f7c145);
    height: 45px;
}

.ma-divider-s10 .petal.teal {
    background: var(--ma-divider-primary, #066172);
}

.ma-divider-s10 .petal:nth-child(1) {
    transform: rotate(-30deg);
}

.ma-divider-s10 .petal:nth-child(2) {
    transform: rotate(-15deg);
}

.ma-divider-s10 .petal:nth-child(4) {
    transform: rotate(15deg);
}

.ma-divider-s10 .petal:nth-child(5) {
    transform: rotate(30deg);
}

/* --- MA Mission Section Styles --- */
/* Styles removed to use dynamic controls */

/* --- MA Contact Section Styles --- */

.ma-contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    /* Border radius and shadows handled by controls */
}

.ma-contact-left {
    flex: 1;
    min-width: 300px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ma-contact-right {
    flex: 1.2;
    /* Slightly wider for form */
    min-width: 300px;
    padding: 60px;
}

/* Left Content */
.ma-contact-left h2 {
    margin-bottom: 20px;
    line-height: 1.2;
}

.ma-contact-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.ma-contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ma-contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a.ma-contact-item:hover {
    opacity: 0.8;
}

.ma-contact-item .icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: inherit;
    flex-shrink: 0;
}

.ma-contact-item .details {
    display: flex;
    flex-direction: column;
}

.ma-contact-item .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-bottom: 5px;
    font-weight: 600;
}

.ma-contact-item .value {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    /* Or variable */
}

/* Right Content (Form) */
.ma-contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ma-form-row {
    display: flex;
    gap: 25px;
}

.ma-form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.ma-form-group.half {
    flex: 1;
}

.ma-form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.ma-form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.ma-form-control:focus {
    box-shadow: 0 0 0 2px rgba(6, 97, 114, 0.1);
    /* Primary color hint */
}

.ma-contact-btn {
    align-self: flex-start;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px;
    width: 100%;
    /* Optional: user can force full width via CSS if needed, but defaults to nice button */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.ma-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 991px) {
    .ma-contact-wrapper {
        flex-direction: column;
    }

    .ma-contact-left,
    .ma-contact-right {
        padding: 40px;
    }

    .ma-form-row {
        flex-direction: column;
        gap: 25px;
    }
}

@media (max-width: 480px) {

    .ma-contact-left,
    .ma-contact-right {
        padding: 30px;
    }
}

/* ==========================================================================
   MA About Us Widget
   ========================================================================== */
.ma-about-us {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #1a202c;
    /* Theme color variables are set by Elementor controls: --ma-primary, --ma-secondary, --ma-tertiary */
}

/* Header Group */
.ma-about-us__header-group {
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
}

.ma-about-us__tagline {
    font-size: 10px;
    font-weight: 700;
    color: var(--ma-secondary, #f7c145);
    text-transform: uppercase;
    letter-spacing: 0.4em;
    margin-bottom: 1rem;
}

.ma-about-us__main-title {
    font-size: 4rem;
    font-family: 'Instrument Serif', serif;
    color: var(--ma-primary, #066172);
    line-height: 1;
    margin: 0;
}

@media (min-width: 768px) {
    .ma-about-us__main-title {
        font-size: 6rem;
    }
}

.ma-about-us__title-highlight {
    -webkit-text-stroke: 1px var(--ma-primary, #066172);
    color: transparent;
    font-style: italic;
    transition: color 0.7s;
}

.ma-about-us__header-group:hover .ma-about-us__title-highlight {
    color: var(--ma-primary, #066172);
}

.ma-about-us__divider-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.ma-about-us__line {
    width: 3rem;
    height: 1px;
    background-color: var(--ma-secondary, #f7c145);
}

.ma-about-us__divider-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ma-primary, #066172);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-style: italic;
}

/* Main Grid */
.ma-about-us__grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .ma-about-us__grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Content Column */
.ma-about-us__content-col {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.ma-about-us__intro-heading {
    font-size: 3rem;
    font-family: 'Instrument Serif', serif;
    color: var(--ma-primary, #066172);
    font-style: italic;
    line-height: 1.2;
    margin: 0;
}

.ma-about-us__desc p {
    color: #475569;
    line-height: 1.625;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    font-weight: 500;
}

.ma-about-us__desc p:last-child {
    font-size: 1rem;
    font-weight: 400;
    color: #64748b;
    margin-bottom: 0;
}

/* Highlight Box */
.ma-about-us__highlight-box {
    padding: 2rem;
    background-color: #ecfeff;
    border-radius: 2.5rem;
    border-left: 8px solid var(--ma-primary, #066172);
    position: relative;
    overflow: hidden;
}

.ma-about-us__highlight-icon {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1rem;
    opacity: 0.1;
    color: var(--ma-primary, #066172);
    width: 5rem;
    height: 5rem;
}

.ma-about-us__highlight-icon svg {
    fill: currentColor;
    width: 100%;
    height: 100%;
}

.ma-about-us__highlight-text {
    color: var(--ma-primary, #066172);
    font-weight: 700;
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.625;
    position: relative;
    z-index: 10;
    margin: 0;
}

/* Mission */
.ma-about-us__mission {
    padding-top: 1.5rem;
}

.ma-about-us__mission-header {
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--ma-secondary, #f7c145);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin: 0 0 1rem 0;
}

.ma-about-us__mission-text {
    color: #475569;
    line-height: 1.625;
    margin: 0;
}

/* Image Column */
.ma-about-us__image-col {
    position: relative;
}

.ma-about-us__glow {
    position: absolute;
    inset: -2.5rem;
    background-color: var(--ma-secondary, #f7c145);
    opacity: 0.1;
    filter: blur(64px);
    border-radius: 9999px;
    transition: opacity 0.3s;
}

.ma-about-us__image-col:hover .ma-about-us__glow {
    opacity: 0.3;
}

.ma-about-us__image-wrapper {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 3.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 4px solid #ffffff;
}

.ma-about-us__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s;
}

.ma-about-us__image-col:hover .ma-about-us__image-wrapper img {
    transform: scale(1.1);
}

.ma-about-us__overlay-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 97, 114, 0.4), transparent, transparent);
    pointer-events: none;
}

/* Floating Badge */
.ma-about-us__floating-badge {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 1.5rem;
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(6, 97, 114, 0.05);
    z-index: 20;
    animation: maFloat 6s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes maFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.ma-badge-main {
    font-size: 2.25rem;
    font-family: 'Instrument Serif', serif;
    color: var(--ma-primary, #066172);
    font-weight: 900;
    font-style: italic;
    line-height: 1;
}

.ma-badge-sub {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--ma-secondary, #f7c145);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

.ma-about-us__deco-shape {
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    width: 8rem;
    height: 8rem;
    background-color: var(--ma-secondary, #f7c145);
    border-radius: 2rem;
    z-index: -10;
    transform: rotate(12deg);
    transition: transform 0.7s;
}

.ma-about-us__image-col:hover .ma-about-us__deco-shape {
    transform: rotate(45deg);
}

/* ==========================================================================
   MA About Us Widget
   ========================================================================== */
.ma-about-us {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #1a202c;
    /* Theme color variables are set by Elementor controls: --ma-primary, --ma-secondary, --ma-tertiary */
}

/* Header Group */
.ma-about-us__header-group {
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
}

.ma-about-us__tagline {
    font-size: 10px;
    font-weight: 700;
    color: var(--ma-secondary, #f7c145);
    text-transform: uppercase;
    letter-spacing: 0.4em;
    margin-bottom: 1rem;
}

.ma-about-us__main-title {
    font-size: 4rem;
    font-family: 'Instrument Serif', serif;
    color: var(--ma-primary, #066172);
    line-height: 1;
    margin: 0;
}

@media (min-width: 768px) {
    .ma-about-us__main-title {
        font-size: 6rem;
    }
}

.ma-about-us__title-highlight {
    -webkit-text-stroke: 1px var(--ma-primary, #066172);
    color: transparent;
    font-style: italic;
    transition: color 0.7s;
}

.ma-about-us__header-group:hover .ma-about-us__title-highlight {
    color: var(--ma-primary, #066172);
}

.ma-about-us__divider-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.ma-about-us__line {
    width: 3rem;
    height: 1px;
    background-color: var(--ma-secondary, #f7c145);
}

.ma-about-us__divider-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ma-primary, #066172);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-style: italic;
}

/* Main Grid */
.ma-about-us__grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .ma-about-us__grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Content Column */
.ma-about-us__content-col {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.ma-about-us__intro-heading {
    font-size: 3rem;
    font-family: 'Instrument Serif', serif;
    color: var(--ma-primary, #066172);
    font-style: italic;
    line-height: 1.2;
    margin: 0;
}

.ma-about-us__desc p {
    color: #475569;
    line-height: 1.625;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    font-weight: 500;
}

.ma-about-us__desc p:last-child {
    font-size: 1rem;
    font-weight: 400;
    color: #64748b;
    margin-bottom: 0;
}

/* Highlight Box */
.ma-about-us__highlight-box {
    padding: 2rem;
    /* Fallback and dynamic opacity */
    background-color: #ecfeff;
    border-radius: 2.5rem;
    border-left: 8px solid var(--ma-primary, #066172);
    position: relative;
    overflow: hidden;
}

.ma-about-us__highlight-icon {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1rem;
    opacity: 0.1;
    color: var(--ma-primary, #066172);
    width: 5rem;
    height: 5rem;
}

.ma-about-us__highlight-icon svg {
    fill: currentColor;
    width: 100%;
    height: 100%;
}

.ma-about-us__highlight-text {
    color: var(--ma-primary, #066172);
    font-weight: 700;
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.625;
    position: relative;
    z-index: 10;
    margin: 0;
}

/* Mission */
.ma-about-us__mission {
    padding-top: 1.5rem;
}

.ma-about-us__mission-header {
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--ma-secondary, #f7c145);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin: 0 0 1rem 0;
}

.ma-about-us__mission-text {
    color: #475569;
    line-height: 1.625;
    margin: 0;
}

/* Image Column */
.ma-about-us__image-col {
    position: relative;
}

.ma-about-us__glow {
    position: absolute;
    inset: -2.5rem;
    background-color: var(--ma-secondary, #f7c145);
    opacity: 0.1;
    filter: blur(64px);
    border-radius: 9999px;
    transition: opacity 0.3s;
}

.ma-about-us__image-col:hover .ma-about-us__glow {
    opacity: 0.3;
}

.ma-about-us__image-wrapper {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 3.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 4px solid #ffffff;
}

.ma-about-us__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s;
}

.ma-about-us__image-col:hover .ma-about-us__image-wrapper img {
    transform: scale(1.1);
}

.ma-about-us__overlay-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 97, 114, 0.4), transparent, transparent);
    pointer-events: none;
}

/* Floating Badge */
.ma-about-us__floating-badge {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 1.5rem;
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(6, 97, 114, 0.05);
    z-index: 20;
    animation: maFloat 6s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes maFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.ma-badge-main {
    font-size: 2.25rem;
    font-family: 'Instrument Serif', serif;
    color: var(--ma-primary, #066172);
    font-weight: 900;
    font-style: italic;
    line-height: 1;
}

.ma-badge-sub {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--ma-secondary, #f7c145);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

.ma-about-us__deco-shape {
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    width: 8rem;
    height: 8rem;
    background-color: var(--ma-secondary, #f7c145);
    border-radius: 2rem;
    z-index: -10;
    transform: rotate(12deg);
    transition: transform 0.7s;
}

.ma-about-us__image-col:hover .ma-about-us__deco-shape {
    transform: rotate(45deg);
}

/* Image Column Premium Styles */
.ma-about-us__image-col {
    position: relative;
    padding-bottom: 4rem;
}

.ma-about-us__image-wrapper {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 40px;
    /* Soft extensive roundness */
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(6, 97, 114, 0.15);
    /* Colored shadow hint */
    z-index: 1;
}

.ma-about-us__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
    /* Smoother interaction */
}

/* Vertical Layout (Single Image Optimized) */
.ma-about-us.ma-layout-vertical .ma-about-us__image-wrapper {
    aspect-ratio: 3 / 4;
    /* Portrait Mode */
}

.ma-about-us.ma-layout-vertical .ma-about-us__image-col {
    padding-left: 0;
    text-align: center;
    /* Opt: Center align if implied */
    padding-bottom: 0;
}

.ma-about-us.ma-layout-vertical .ma-about-us__image-2 {
    display: none;
    /* Enforce single image */
}

.ma-about-us.ma-layout-square .ma-about-us__image-wrapper {
    aspect-ratio: 1 / 1;
}

.ma-about-us__image-col:hover .ma-about-us__image-wrapper img {
    transform: scale(1.05);
}

/* Secondary Image (Floating) */
.ma-about-us__image-2 {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 30px;
    border: 10px solid #ffffff;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.ma-about-us__image-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Experience Badge */
.ma-about-us__exp-badge {
    position: absolute;
    top: 30px;
    right: -30px;
    background: var(--ma-secondary, #f7c145);
    color: var(--ma-primary, #066172);
    padding: 0;
    border-radius: 50% 50% 50% 0;
    /* Leaf/Drop shape */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 130px;
    box-shadow: 0 15px 35px rgba(247, 193, 69, 0.3);
    z-index: 10;
    text-align: center;
    transform: rotate(0deg);
    animation: maFloatBadge 6s ease-in-out infinite;
}

@keyframes maFloatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.ma-exp-years {
    font-family: 'Instrument Serif', serif;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 700;
    color: #066172;
}

.ma-exp-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-top: 5px;
    line-height: 1.2;
    color: #066172;
}

@media (max-width: 1024px) {
    .ma-about-us__image-col {
        padding-left: 0;
    }

    .ma-about-us__image-2 {
        bottom: -20px;
        left: -10px;
        width: 200px;
        height: 200px;
        border-width: 6px;
    }
}

@media (max-width: 768px) {
    .ma-about-us__image-col {
        margin-top: 4rem;
        padding-bottom: 2rem;
    }

    .ma-about-us__exp-badge {
        right: 0;
        top: -20px;
        transform: scale(0.8);
    }

    .ma-about-us__image-2 {
        width: 160px;
        height: 160px;
        bottom: -30px;
        border-width: 5px;
    }
}

/* ==========================================================================
   MA Premium Services - Card Styles
   ========================================================================== */

.ma-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Default, overridden by control */
    gap: 30px;
    width: 100%;
}

@media (max-width: 1024px) {
    .ma-services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .ma-services-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Common Button Style */
.btn-premium {
    display: inline-block;
    padding: 12px 28px;
    background: var(--ma-primary, #066172);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
}

/* --- STYLE 1: The Floating Mosaic (Asymmetric) --- */
.ma-service-card.card-u1 {
    position: relative;
    background: transparent;
    padding-top: 40px;
}

.ma-service-card.card-u1 .img-container {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 20px 20px 0 var(--ma-tertiary, #96dadd);
}

.ma-service-card.card-u1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.ma-service-card.card-u1 .content {
    background: #ffffff;
    margin: -60px 20px 0;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.ma-service-card.card-u1 h3 {
    font-family: 'Playfair Display', serif;
    color: var(--ma-primary, #066172);
    margin-top: 0;
}

.ma-service-card.card-u1 p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.ma-service-card.card-u1:hover img {
    transform: scale(1.1);
}

.ma-service-card.card-u1:hover .btn-premium {
    background: var(--ma-accent, #f7c145);
    color: var(--ma-primary, #066172);
}

/* --- STYLE 2: The Clinical Ripple (Clean & Minimal) --- */
.ma-service-card.card-u2 {
    background: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: 0.4s;
    padding-bottom: 30px;
}

.ma-service-card.card-u2 .img-side {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.ma-service-card.card-u2 .img-side::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(transparent, #ffffff);
}

.ma-service-card.card-u2 .img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ma-service-card.card-u2 .info {
    padding: 0 30px;
    text-align: center;
}

.ma-service-card.card-u2 h3 {
    font-family: 'Playfair Display', serif;
    color: var(--ma-primary, #066172);
    font-size: 1.5rem;
}

.ma-service-card.card-u2 .btn-premium {
    background: transparent;
    color: var(--ma-primary, #066172);
    border-color: var(--ma-primary, #066172);
}

.ma-service-card.card-u2:hover {
    border-color: var(--ma-accent, #f7c145);
    box-shadow: 0 30px 60px rgba(6, 97, 114, 0.08);
    transform: translateY(-5px);
}

.ma-service-card.card-u2:hover .btn-premium {
    background: var(--ma-primary, #066172);
    color: white;
}

/* --- STYLE 4: Parallax Depth Card (Layered) --- */
.ma-service-card.card-u4 {
    height: 450px;
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    color: white;
    cursor: pointer;
}

.ma-service-card.card-u4 .bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1;
}

.ma-service-card.card-u4 .overlay-glass {
    position: absolute;
    inset: 20px;
    background: rgba(6, 97, 114, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    z-index: 2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.5s;
    opacity: 0.9;
}

.ma-service-card.card-u4:hover .bg-img {
    transform: scale(1.2);
}

.ma-service-card.card-u4:hover .overlay-glass {
    background: rgba(6, 97, 114, 0.8);
}

.ma-service-card.card-u4 h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--ma-accent, #f7c145);
}

.ma-service-card.card-u4 p {
    color: #fff;
    margin-bottom: 20px;
}

.ma-service-card.card-u4 .btn-premium {
    background: #ffffff;
    color: var(--ma-primary, #066172);
    align-self: flex-start;
}

/* --- STYLE 5: The "Premium Thumbnail" (Upgraded) --- */
.ma-service-card.card-u5 {
    text-align: center;
    padding: 0 0 30px 0;
    /* Remove top/side padding, keep bottom */
    background: #ffffff;
    border-radius: 24px;
    border-top: 6px solid var(--ma-tertiary, #96dadd);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    overflow: hidden;
    /* Ensure image stays inside radius */
}

/* YouTube Thumbnail size container (16:9 aspect ratio) */
.ma-service-card.card-u5 .thumbnail-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 0 25px;
    /* Remove auto margins */
    border-bottom: 1px solid var(--ma-accent, #f7c145);
    /* Border only bottom if needed */
    border-top: none;
    border-left: none;
    border-right: none;
    background: #f8fafb;
    position: relative;
    border-radius: 0;
    /* Full width means no distinct radius usually, or inheritance */
}

/* Content Padding */
.ma-service-card.card-u5 h3,
.ma-service-card.card-u5 p,
.ma-service-card.card-u5 .btn-premium {
    padding-left: 20px;
    padding-right: 20px;
}

.ma-service-card.card-u5 .btn-premium {
    /* Button padding is internal, so we use margin for spacing or just inline-block behavior */
    margin-left: 20px;
    margin-right: 20px;
    width: auto;
    /* Reset padding for the button itself is handled by .btn-premium class, 
       but we need to ensure it doesn't span full width unless desired. 
       Let's use margin for the spacing from edge. */
    padding: 12px 28px;
    /* Restore original button padding */
}

/* --- STYLE 6: Modern Glass Reveal (Premium Advanced) --- */
.ma-service-card.card-u6 {
    position: relative;
    height: 420px;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    /* Fallback */
    isolation: isolate;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.ma-service-card.card-u6 .ma-s6-image-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

/* Gradient Overlay - Dark to Transparent */
.ma-service-card.card-u6 .ma-s6-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(6, 97, 114, 0.6) 50%, rgba(6, 97, 114, 0.2) 100%);
    opacity: 0.8;
    transition: opacity 0.5s;
    z-index: 1;
}

.ma-service-card.card-u6 .ma-s6-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
    color: white;
}

/* Separator Line Below Title */
.ma-service-card.card-u6 .ma-s6-top {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
    transition: all 0.5s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ma-service-card.card-u6 .ma-s6-icon {
    color: var(--ma-accent, #f7c145);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    transition: all 0.3s;
    animation: maIconBounce 2s infinite;
    cursor: pointer;
    z-index: 10;
    pointer-events: auto;
    position: relative;
    /* Ensure z-index works */
}

.ma-service-card.card-u6:hover .ma-s6-icon,
.ma-service-card.card-u6.active .ma-s6-icon {
    background: var(--ma-accent, #f7c145);
    color: var(--ma-primary, #066172);
    animation: none;
}

/* Rotate Icon when Active */
.ma-service-card.card-u6.active .ma-s6-icon svg {
    transform: rotate(180deg);
    transition: transform 0.3s;
}

@keyframes maIconBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-3px);
    }
}

/* Base Line (Transparent/White) */
.ma-service-card.card-u6 .ma-s6-top::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

/* Animated "Loading" Line on Hover */
.ma-service-card.card-u6 .ma-s6-top::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    /* Scroll Line Height */
    background: linear-gradient(90deg, transparent, var(--ma-accent, #f7c145), var(--ma-primary, #066172), var(--ma-accent, #f7c145), transparent);
    background-size: 200% 100%;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s;
}

.ma-service-card.card-u6:hover .ma-s6-top::after,
.ma-service-card.card-u6.active .ma-s6-top::after {
    opacity: 1;
    animation: maSeparatorScroll 1.5s linear infinite;
}

@keyframes maSeparatorScroll {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

.ma-service-card.card-u6 h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #fff;
    margin: 0;
    transition: 0.3s;
}

.ma-service-card.card-u6 .ma-s6-details {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(20px);
}

.ma-service-card.card-u6 p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Active State (Mobile Click) */
.ma-service-card.card-u6.active {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(6, 97, 114, 0.25);
}

.ma-service-card.card-u6.active .ma-s6-image-bg {
    transform: scale(1.1);
}

.ma-service-card.card-u6.active .ma-s6-overlay {
    opacity: 0.95;
    background: linear-gradient(to top, var(--ma-primary, #066172) 0%, rgba(6, 97, 114, 0.8) 100%);
    backdrop-filter: blur(4px);
}

.ma-service-card.card-u6.active .ma-s6-details {
    height: auto;
    height: auto;
    opacity: 1;
    transform: translateY(0);
}

/* Hover State (Desktop Only) - Prevents sticky hover on mobile */
@media (hover: hover) {
    .ma-service-card.card-u6:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 50px rgba(6, 97, 114, 0.25);
    }

    .ma-service-card.card-u6:hover .ma-s6-image-bg {
        transform: scale(1.1);
    }

    .ma-service-card.card-u6:hover .ma-s6-overlay {
        opacity: 0.95;
        background: linear-gradient(to top, var(--ma-primary, #066172) 0%, rgba(6, 97, 114, 0.8) 100%);
        backdrop-filter: blur(4px);
    }

    .ma-service-card.card-u6:hover .ma-s6-details {
        height: auto;
        height: auto;
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button Item in S6 */
.ma-service-card.card-u6 .btn-premium {
    background: var(--ma-accent, #f7c145);
    color: var(--ma-primary, #066172);
    border: none;
    padding: 10px 24px;
    font-size: 0.85rem;
}

.ma-service-card.card-u6 .btn-premium:hover {
    background: #fff;
    color: var(--ma-primary, #066172);
}

.ma-service-card.card-u5 h3 {
    font-family: 'Playfair Display', serif;
    color: var(--ma-primary, #066172);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.ma-service-card.card-u5 p {
    margin-bottom: 25px;
}

.ma-service-card.card-u5:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(6, 97, 114, 0.12);
    border-color: var(--ma-tertiary, #96dadd);
}

.ma-service-card.card-u5:hover .thumbnail-box img {
    transform: scale(1.1);
}

.ma-service-card.card-u5:hover .btn-premium {
    background: var(--ma-accent, #f7c145);
    color: var(--ma-primary, #066172);
    box-shadow: 0 10px 20px rgba(247, 193, 69, 0.3);
}

/* Restored Style 5 Image Rule */
.ma-service-card.card-u5 .thumbnail-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Default, overridden by control */
    transition: transform 0.6s ease;
}

/* --- MA Headings Alignment Fixes --- */

/* Centered Layout - Remove Left Border & Add Underline */
.ma-align-center .ma-heading-modern {
    border-left: none !important;
    padding-left: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Add Centered Line below Title */
.ma-align-center .ma-heading-modern .ma-adv-title {
    position: relative;
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.ma-align-center .ma-heading-modern .ma-adv-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--ma-heading-accent, #D4AF37);
}

/* Fix Description Alignment & Width */
.ma-align-center .ma-heading-modern .ma-adv-desc {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Right Alignment - Flip Border */
.ma-align-right .ma-heading-modern {
    border-left: none !important;
    border-right: 4px solid var(--ma-heading-accent, #D4AF37);
    padding-left: 0 !important;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* ==============================================
   MA Medical CTA Widget Styles
   ============================================== */

/* --- Style 1: Professional 3D Perspective --- */
.ma-cta-s1 {
    background: linear-gradient(135deg, #021a1f 0%, var(--ma-primary, #066172) 100%);
    border-radius: 60px;
    padding: 110px 80px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Subtle Pattern Overlay */
.ma-cta-s1::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(150, 218, 221, 0.3) 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    opacity: 0.1;
    pointer-events: none;
}

.ma-cta-s1 .text-content {
    max-width: 55%;
    z-index: 10;
    position: relative;
}

.ma-cta-s1 .kicker {
    color: var(--ma-accent, #f7c145);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.ma-cta-s1 h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    margin: 0 0 30px;
    line-height: 1.2;
    font-weight: 700;
    color: white;
}

.ma-cta-s1 h2 span {
    color: var(--ma-accent, #f7c145);
    font-style: italic;
}

.ma-cta-s1 p {
    font-family: 'Lora', serif;
    font-size: 1.25rem;
    opacity: 0.85;
    margin-bottom: 45px;
    max-width: 520px;
    line-height: 1.8;
}

/* Button in CTA */
.ma-cta-s1 .btn-main,
.ma-cta-s2 .btn-main {
    display: inline-block;
    padding: 20px 50px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
}

.ma-cta-s1 .btn-main {
    background: var(--ma-accent, #f7c145);
    color: var(--ma-primary, #066172);
    box-shadow: 0 15px 30px rgba(247, 193, 69, 0.2);
}

.ma-cta-s1 .btn-main:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(247, 193, 69, 0.4);
    background: #fff;
    color: var(--ma-primary, #066172);
}

/* --- High-End 3D Visual Section --- */
.ma-cta-s1 .visual-container {
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%) perspective(3000px);
    width: 500px;
    height: 500px;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Image Frame */
.ma-cta-s1 .main-frame {
    width: 400px;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: rotateY(-20deg) rotateX(10deg);
    box-shadow: 50px 50px 100px rgba(0, 0, 0, 0.5);
    transition: 0.1s ease-out;
    /* Smooth JS tilt */
    position: relative;
    z-index: 2;
}

/* Glass Trust Badge Overlay */
.ma-cta-s1 .trust-badge {
    position: absolute;
    width: 180px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    top: 10%;
    right: -20px;
    transform: translateZ(120px) rotateY(-5deg);
    z-index: 5;
    transition: 0.1s ease-out;
    text-align: center;
}

.ma-cta-s1 .trust-badge span {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ma-accent, #f7c145);
    font-weight: 700;
}

.ma-cta-s1 .trust-badge strong {
    display: block;
    font-size: 1.2rem;
    color: white;
    margin-top: 5px;
}

/* Secondary Glass Card */
.ma-cta-s1 .stat-card {
    position: absolute;
    width: 150px;
    padding: 15px;
    background: rgba(6, 97, 114, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    bottom: 10%;
    left: -30px;
    transform: translateZ(80px) rotateY(-15deg);
    z-index: 4;
    transition: 0.1s ease-out;
    border: 1px solid rgba(150, 218, 221, 0.3);
}

/* Background Glow */
.ma-cta-s1 .glow-sphere {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(150, 218, 221, 0.2) 0%, transparent 70%);
    opacity: 0.2;
    z-index: 1;
    filter: blur(50px);
    transform: translateZ(-100px);
}

/* --- Style 2: Architectural Arch --- */
.ma-cta-s2 {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background: white;
    border-radius: 300px 50px 50px 300px;
    overflow: hidden;
    margin-top: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.ma-cta-s2 .img-side {
    background-size: cover;
    background-position: center;
    height: 100%;
    min-height: 450px;
    clip-path: ellipse(100% 100% at 0% 50%);
}

.ma-cta-s2 .content-side {
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ma-cta-s2 h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--ma-primary, #066172);
    margin-bottom: 20px;
}

.ma-cta-s2 p {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
}

.ma-cta-s2 .btn-main {
    background: var(--ma-primary, #066172);
    color: white;
    align-self: flex-start;
}

.ma-cta-s2 .btn-main:hover {
    background: var(--ma-accent, #f7c145);
    color: var(--ma-primary, #066172);
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 992px) {
    .ma-cta-s1 {
        flex-direction: column;
        text-align: center;
        padding: 60px 30px;
        border-radius: 40px;
    }

    .ma-cta-s1 .text-content {
        max-width: 100%;
    }

    .ma-cta-s1 .visual-container {
        display: none;
        /* Hide 3D on tablet/mobile */
    }

    .ma-cta-s2 {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

    .ma-cta-s2 .img-side {
        height: 300px;
        min-height: auto;
        clip-path: none;
        border-radius: 20px 20px 0 0;
    }

    .ma-cta-s2 .content-side {
        padding: 40px 30px;
    }
}

/* =========================================
   MA Premium Buttons - Base Styles
   ========================================= */
.ma-btn-wrapper {
    display: block;
    width: 100%;
}

.ma-premium-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 40px;
    font-family: inherit;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    outline: none;
    line-height: 1.2;
    z-index: 1;
}

.ma-premium-btn i,
.ma-premium-btn svg {
    transition: transform 0.3s ease;
}

/* Style 1: Modern Gradient Shine */
.ma-premium-btn.style_1 {
    background: linear-gradient(135deg, #066172, #2A9D8F);
    color: white;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(6, 97, 114, 0.3);
}

.ma-premium-btn.style_1::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: none;
}

.ma-premium-btn.style_1:hover::before {
    left: 150%;
    transition: 0.7s;
}

.ma-premium-btn.style_1:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(6, 97, 114, 0.4);
}

/* Style 2: Glassmorphism */
.ma-premium-btn.style_2 {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #333;
    border-radius: 12px;
}

.ma-premium-btn.style_2:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
}

/* Style 3: Neumorphism (Soft) */
.ma-premium-btn.style_3 {
    background: #e0e5ec;
    color: #4d4d4d;
    border-radius: 12px;
    box-shadow: 9px 9px 16px rgb(163, 177, 198, 0.6), -9px -9px 16px rgba(255, 255, 255, 0.5);
}

.ma-premium-btn.style_3:hover {
    box-shadow: inset 6px 6px 10px 0 rgba(163, 177, 198, 0.7),
        inset -6px -6px 10px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(1px);
}

/* Style 4: Hover Lift & Shadow */
.ma-premium-btn.style_4 {
    background: #ffffff;
    color: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.ma-premium-btn.style_4:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

/* Style 5: Border Draw */
.ma-premium-btn.style_5 {
    background: transparent;
    color: #066172;
    border-radius: 4px;
}

.ma-premium-btn.style_5::before,
.ma-premium-btn.style_5::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #066172;
    transition: width 0.3s ease;
}

.ma-premium-btn.style_5::before {
    top: 0;
    left: 0;
}

.ma-premium-btn.style_5::after {
    bottom: 0;
    right: 0;
}

.ma-premium-btn.style_5:hover::before,
.ma-premium-btn.style_5:hover::after {
    width: 100%;
}

/* Style 6: Neon Glow */
.ma-premium-btn.style_6 {
    background: #111;
    color: #0ff;
    border: 2px solid #0ff;
    border-radius: 4px;
    text-shadow: 0 0 5px #0ff;
    box-shadow: 0 0 5px #0ff, inset 0 0 5px #0ff;
}

.ma-premium-btn.style_6:hover {
    background: #0ff;
    color: #000;
    box-shadow: 0 0 20px #0ff, 0 0 40px #0ff;
}

/* Style 7: Slide Fill (Left) */
.ma-premium-btn.style_7 {
    background: transparent;
    border: 2px solid #066172;
    color: #066172;
    border-radius: 5px;
    z-index: 1;
}

.ma-premium-btn.style_7::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #066172;
    z-index: -1;
    transition: width 0.3s ease;
}

.ma-premium-btn.style_7:hover {
    color: white;
}

.ma-premium-btn.style_7:hover::before {
    width: 100%;
}

/* Style 8: 3D Press */
.ma-premium-btn.style_8 {
    background: #f7c145;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 0 #d9a42a;
    transition: all 0.1s;
}

.ma-premium-btn.style_8:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 #d9a42a;
}

/* Style 9: Liquid Wavy Fill */
.ma-premium-btn.style_9 {
    background: transparent;
    color: #066172;
    border: 2px solid #066172;
    border-radius: 50px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.ma-premium-btn.style_9 .ma-btn-wave {
    position: absolute;
    width: 200%;
    height: 200%;
    top: 100%;
    left: -50%;
    background: #066172;
    border-radius: 40%;
    z-index: -1;
    transition: all 0.6s ease;
    animation: wave-rotate 4s infinite linear;
}

.ma-premium-btn.style_9:hover .ma-btn-wave {
    top: -50%;
}

.ma-premium-btn.style_9:hover {
    color: white;
}

@keyframes wave-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Style 10: Gradient Border */
.ma-premium-btn.style_10 {
    background: #fff;
    color: #333;
    border-radius: 50px;
    border: 2px solid transparent;
    background-image: linear-gradient(#fff, #fff), linear-gradient(to right, #066172, #f7c145);
    background-origin: border-box;
    background-clip: content-box, border-box;
    box-shadow: 2px 1000px 1px #fff inset;
}

.ma-premium-btn.style_10:hover {
    box-shadow: none;
    color: white;
    background: linear-gradient(to right, #066172, #f7c145);
}

/* Style 11: Double Border Offset */
.ma-premium-btn.style_11 {
    background: #222;
    color: #fff;
    border: 1px solid #fff;
    position: relative;
}

.ma-premium-btn.style_11::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 100%;
    height: 100%;
    border: 1px solid #066172;
    z-index: -1;
    transition: all 0.3s;
}

.ma-premium-btn.style_11:hover::after {
    top: -4px;
    left: -4px;
    background: #066172;
}

/* Style 12: Skewed Background */
.ma-premium-btn.style_12 {
    background: transparent;
    color: #222;
    border: 1px solid #222;
}

.ma-premium-btn.style_12::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f7c145;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.ma-premium-btn.style_12:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.ma-premium-btn.style_12:hover {
    border-color: #f7c145;
}

/* Style 13: Icon Reveal */
.ma-premium-btn.style_13 {
    background: #066172;
    color: white;
    border-radius: 30px;
    padding-right: 20px;
    justify-content: space-between;
}

.ma-premium-btn.style_13 .ma-btn-slide-icon {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    width: 0;
    display: flex;
    align-items: center;
}

.ma-premium-btn.style_13:hover .ma-btn-slide-icon {
    opacity: 1;
    transform: translateX(0);
    width: 20px;
    margin-left: 10px;
}

/* Style 14: Material Ripple */
.ma-premium-btn.style_14 {
    background: #6200ea;
    color: white;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.ma-premium-btn.style_14:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Style 15: Two-Tone Pill */
.ma-premium-btn.style_15 {
    background: linear-gradient(to bottom, #ffffff 50%, #f0f0f0 50%);
    background-size: 100% 200%;
    color: #333;
    border-radius: 50px;
    border: 1px solid #ddd;
    transition: background-position 0.3s;
}

.ma-premium-btn.style_15:hover {
    background-position: 0 100%;
    color: #066172;
}

/* Style 16: Minimal Underline Fill */
.ma-premium-btn.style_16 {
    background: transparent;
    color: #333;
    padding: 10px 0;
}

.ma-premium-btn.style_16::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #066172;
    transition: height 0.3s ease;
    z-index: -1;
}

.ma-premium-btn.style_16:hover::after {
    height: 100%;
}

.ma-premium-btn.style_16:hover {
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
}

/* Style 17: Soft Pill 3D */
.ma-premium-btn.style_17 {
    background: #e0f2f1;
    color: #00695c;
    border-radius: 50px;
    box-shadow:
        inset 2px 2px 5px rgba(255, 255, 255, 0.8),
        inset -2px -2px 5px rgba(0, 105, 92, 0.2),
        2px 2px 5px rgba(0, 105, 92, 0.1);
}

.ma-premium-btn.style_17:hover {
    background: #00695c;
    color: white;
    box-shadow: none;
}

/* Style 18: Cyberpunk Glitch */
.ma-premium-btn.style_18 {
    background: #000;
    color: #fff;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.ma-premium-btn.style_18:hover {
    background: #ff0055;
    text-shadow: 2px 0 #00ffff;
}

/* Style 19: Magnetic Hover (Simulated) */
.ma-premium-btn.style_19 {
    background: #333;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    padding: 0;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ma-premium-btn.style_19:hover {
    transform: scale(1.1);
    background: #066172;
}

/* Style 20: Golden Luxury */
.ma-premium-btn.style_20 {
    background: linear-gradient(45deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    color: #222;
    border-radius: 2px;
    border: 1px solid #B38728;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

.ma-premium-btn.style_20:hover {
    background: linear-gradient(45deg, #AA771C, #FBF5B7, #B38728, #FCF6BA, #BF953F);
    color: #000;
    box-shadow: 0 0 10px rgba(191, 149, 63, 0.5);

}

/* =========================================
   MA Premium Contact Widget Styles
   ========================================= */

/* --- Style 1: Glassmorphism (Split) --- */
.ma-contact-wrapper.style-glass {
    width: 100%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 40px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.ma-contact-left.glass-content {
    background: rgba(6, 97, 114, 0.85);
    /* Fallback/Base */
    padding: 60px 40px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

.glass-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 10px;
    color: white;
}

.glass-content .ma-contact-desc {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.ma-contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.ma-contact-item:hover {
    transform: translateX(10px);
}

.ma-contact-item .icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f7c145;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.ma-contact-item .details {
    display: flex;
    flex-direction: column;
}

.ma-contact-item .label {
    font-size: 0.75rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ma-contact-item .value {
    font-size: 1.05rem;
    font-weight: 600;
}

.ma-contact-right.glass-form {
    padding: 60px;
    background: rgba(255, 255, 255, 0.5);
}

.ma-contact-form .ma-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.ma-contact-form .ma-form-group {
    margin-bottom: 20px;
    width: 100%;
}

.ma-contact-form .ma-form-group.half {
    width: 50%;
}

.ma-contact-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    color: #555;
    text-transform: uppercase;
}

.ma-contact-form .ma-form-control {
    width: 100%;
    padding: 15px 20px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.ma-contact-form .ma-form-control:focus {
    outline: none;
    border-color: #f7c145;
    box-shadow: 0 0 0 4px rgba(247, 193, 69, 0.15);
}

.ma-contact-btn {
    width: 100%;
    padding: 18px;
    background: #066172;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-top: 10px;
}

.ma-contact-btn:hover {
    background: #044a57;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(6, 97, 114, 0.2);
}

@media (max-width: 992px) {
    .ma-contact-wrapper.style-glass {
        grid-template-columns: 1fr;
    }

    .ma-contact-left.glass-content {
        padding: 40px 30px;
    }

    .ma-contact-right.glass-form {
        padding: 40px 30px;
    }

    .ma-contact-form .ma-form-row {
        flex-direction: column;
        gap: 0;
    }

    .ma-contact-form .ma-form-group.half {
        width: 100%;
    }
}

/* --- Style 12: Interactive Narrative --- */
.contact-s12 {
    background: white;
    padding: 40px 60px;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(6, 97, 114, 0.08);
    border-bottom: 6px solid #96dadd;
    max-width: 1000px;
    margin: 0 auto;
}

.narrative-text {
    font-family: 'Lora', serif;
    font-size: 1.8rem;
    line-height: 2.2;
    color: #333;
}

.ma-narrative-input {
    display: inline-block;
    width: auto;
    min-width: 250px;
    border: none;
    border-bottom: 2px solid #96dadd;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: inherit;
    color: #066172;
    padding: 5px 10px;
    background: transparent;
    margin: 0 5px;
    transition: border-color 0.3s;
}

.ma-narrative-input.full-width {
    width: 100%;
    min-width: 100%;
    margin-top: 15px;
}

.ma-narrative-input:focus {
    outline: none;
    border-bottom-color: #f7c145;
}

.ma-btn-wrapper-center {
    margin-top: 25px;
    text-align: center;
}

.ma-btn-wrapper-center .ma-contact-btn {
    width: auto;
    padding-left: 50px;
    padding-right: 50px;
}

@media (max-width: 768px) {
    .contact-s12 {
        padding: 40px 20px;
    }

    .narrative-text {
        font-size: 1.4rem;
        line-height: 1.8;
    }

    .ma-narrative-input {
        width: 100%;
        display: block;
        margin: 10px 0;
    }
}

/* --- Style 14: Dark Luxury Editorial --- */
.contact-s14 {
    background: linear-gradient(135deg, #021a1f 0%, #06404b 100%);
    color: white;
    padding: 80px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.contact-s14::after {
    content: 'CARE';
    /* Fallback if control empty */
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 200px;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
    pointer-events: none;
    line-height: 1;
}

.s14-bg-text {
    position: absolute;
    right: 20px;
    bottom: -40px;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 200px !important;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
    pointer-events: none;
}

.contact-s14 .s14-text {
    flex: 1;
    z-index: 1;
    position: relative;
}

.contact-s14 .s14-form {
    flex: 1.2;
    z-index: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 50px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.contact-s14 h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    color: #f7c145;
    margin-bottom: 30px;
    line-height: 1.1;
}

.s14-desc {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 1.3rem;
    opacity: 0.8;
    line-height: 1.6;
    border-left: 3px solid #f7c145;
    padding-left: 20px;
}

.s14-form h3 {
    font-family: 'Playfair Display', serif;
    color: white;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.s14-form input,
.s14-form textarea {
    width: 100%;
    padding: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    margin-bottom: 20px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: 0.3s;
}

.s14-form input:focus,
.s14-form textarea:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #f7c145;
}

@media (max-width: 992px) {
    .contact-s14 {
        flex-direction: column;
        text-align: center;
    }

    .s14-desc {
        border-left: none;
        border-top: 3px solid #f7c145;
        padding-top: 20px;
        padding-left: 0;
    }

    .s14-bg-text {
        font-size: 100px !important;
    }
}

/* --- Style Futuristic (Custom) --- */
.contact-futuristic {
    background: #0f172a;
    padding: 40px;
    border-radius: 30px;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(6, 97, 114, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(247, 193, 69, 0.1) 0%, transparent 40%);
}

.futuristic-card {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    align-items: center;
}

.futuristic-content {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.futuristic-content h2 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #96dadd);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.futuristic-content p {
    color: #94a3b8;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.f-icon-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.f-icon-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
    border-color: #066172;
}

.f-icon {
    color: #066172;
    font-size: 1.2rem;
}

.f-label {
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
}

.futuristic-form-container {
    flex: 1;
    min-width: 350px;
    background: rgba(30, 41, 59, 0.7);
    padding: 50px;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.futuristic-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #066172, #f7c145, #066172);
    background-size: 200% 100%;
    animation: gradient-slide 3s linear infinite;
}

@keyframes gradient-slide {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

.f-input-group {
    position: relative;
    margin-bottom: 35px;
}

.f-input-group input,
.f-input-group textarea {
    font-size: 16px;
    padding: 10px 10px 10px 5px;
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #555;
    background: transparent;
    color: #fff;
    transition: 0.2s;
}

.f-input-group input:focus,
.f-input-group textarea:focus {
    outline: none;
}

.f-input-group label {
    color: #999;
    font-size: 16px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    transition: 0.2s ease all;
}

.f-input-group input:focus~label,
.f-input-group input:valid~label,
.f-input-group textarea:focus~label,
.f-input-group textarea:valid~label {
    top: -20px;
    font-size: 12px;
    color: #f7c145;
}

.f-input-group .bar {
    position: relative;
    display: block;
    width: 100%;
}

.f-input-group .bar:before,
.f-input-group .bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 0;
    position: absolute;
    background: #f7c145;
    transition: 0.2s ease all;
}

.f-input-group .bar:before {
    left: 50%;
}

.f-input-group .bar:after {
    right: 50%;
}

.f-input-group input:focus~.bar:before,
.f-input-group input:focus~.bar:after,
.f-input-group textarea:focus~.bar:before,
.f-input-group textarea:focus~.bar:after {
    width: 50%;
}

.f-btn {
    background: transparent;
    border: 1px solid #f7c145;
    color: #f7c145;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.8s ease-in-out;
}

.f-btn .liquid {
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: 200px;
    background: #f7c145;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, .5);
    transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
    transform: translateY(180px);
}

/* Form Response Styles */
.ma-form-response {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    padding: 10px;
    border-radius: 6px;
    display: none;
}

.ma-form-response.success {
    display: block;
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.ma-form-response.error {
    display: block;
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

/* Loader */
.ma-loader {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   Contact Form 7 Overrides
   ========================================================================== */
.ma-cf7-wrapper .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 20px;
}

.ma-cf7-wrapper .wpcf7-text,
.ma-cf7-wrapper .wpcf7-email,
.ma-cf7-wrapper .wpcf7-textarea,
.ma-cf7-wrapper .wpcf7-number,
.ma-cf7-wrapper .wpcf7-select,
.ma-cf7-wrapper .wpcf7-date {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #f5f5f5;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.ma-cf7-wrapper .wpcf7-text:focus,
.ma-cf7-wrapper .wpcf7-email:focus,
.ma-cf7-wrapper .wpcf7-textarea:focus,
.ma-cf7-wrapper .wpcf7-number:focus,
.ma-cf7-wrapper .wpcf7-select:focus,
.ma-cf7-wrapper .wpcf7-date:focus {
    box-shadow: 0 0 0 2px rgba(6, 97, 114, 0.1);
    background: #fff;
    border-color: rgba(6, 97, 114, 0.2);
}

.ma-cf7-wrapper .wpcf7-submit {
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--ma-primary, #066172);
    color: #fff;
    width: auto;
    display: inline-block;
}

.ma-cf7-wrapper .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background-color: var(--ma-secondary, #f7c145);
    color: #000;
}

/* --- Skins --- */

/* Luxury */
.ma-cf7-style-luxury .wpcf7-text,
.ma-cf7-style-luxury .wpcf7-email,
.ma-cf7-style-luxury .wpcf7-textarea {
    background: #fdfbf7;
    border: 1px solid #e2d2b4;
    color: #4a4a4a;
}

.ma-cf7-style-luxury .wpcf7-submit {
    background: linear-gradient(45deg, #066172, #0b4619);
    border: 1px solid #c5a059;
}

/* Glass */
.ma-cf7-style-glass .wpcf7-text,
.ma-cf7-style-glass .wpcf7-email,
.ma-cf7-style-glass .wpcf7-textarea {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

/* Futuristic */
.ma-cf7-style-futuristic .wpcf7-text,
.ma-cf7-style-futuristic .wpcf7-email,
.ma-cf7-style-futuristic .wpcf7-textarea {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid #334155;
    color: #fff;
}

.ma-cf7-style-futuristic .wpcf7-submit {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

/* Alerts */
.ma-cf7-wrapper .wpcf7-response-output {
    border-radius: 8px;
    padding: 15px !important;
    font-size: 0.9rem;
    margin: 20px 0 0 0 !important;
    border: none !important;
}

.ma-cf7-wrapper .wpcf7-mail-sent-ok {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #059669 !important;
}

.ma-cf7-wrapper .wpcf7-validation-errors,
.ma-cf7-wrapper .wpcf7-acceptance-missing {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #dc2626 !important;
}
/* Fix for Extra Space in Narrative Form */
.ma-form-response:empty {
    display: none;
    margin: 0;
    padding: 0;
}

.ma-captcha-wrap:empty {
    display: none;
    margin: 0;
    padding: 0;
}

.ma-btn-wrapper-center {
    margin-top: 15px !important;
}


/* Narrative Textarea Adjustment */
textarea.ma-narrative-input {
    vertical-align: middle;
    height: auto;
    resize: none;
    overflow: hidden;
    line-height: 1.6;
    margin-top: 20px;
}

