/* Responsive header for mobile */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-width: 100%;
    overflow-x: hidden;
}


/* Utility class for Jomhuria font */
.jomhuria-regular {
    font-family: "Jomhuria", serif;
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Jomhuria';
    src: url('https://fonts.googleapis.com/css2?family=Jomhuria&display=swap') format('truetype');
    font-weight: 400;
    font-style: normal;
}


/* WhatsApp icon in footer contact */
.whatsapp-icon {
    width: 36px !important;
    height: 36px !important;
    vertical-align: middle;
    margin-left: 4px;
}

/* Fixed Booking Button */
.booking-btn {
    position: fixed;
    right: 2.2rem;
    bottom: 2.2rem;
    z-index: 1000;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #20a2ff, #94cfff, #ffffff);
    box-shadow: 0 4px 18px rgba(168, 237, 234, 0.3);
    font-size: 1.6rem;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    /* Animate the gradient for the shining effect */
    background-size: 200% 200%;
    animation: shine 3s ease-in-out infinite, float 2s ease-in-out infinite;
}

.chk-booking-btn {
    text-decoration: none;
    z-index: 1000;
    background: linear-gradient(45deg, #20a2ff, #94cfff);
    border: none;
    align-items: center;
    justify-content: center;
    padding: 0.5em;
    margin-top: 1em;
    font-size: 0.8rem;
    color: #fff;
    white-space: nowrap;
}

.chk-booking-btn a{
   text-decoration:none;
   color:#ffffff;
}

@keyframes shine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.booking-btn-img {
    width: 64px;
    height: 64px;
    display: block;
    filter: brightness(0) invert(1);
    transition: width 0.3s, height 0.3s;
}

/* Booking button text, hidden by default */
.booking-btn-text {
    opacity: 0;
    max-width: 0;
    margin-right: 0;
    color: #fff;
    font-family: 'Jomhuria', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    transition: opacity 0.3s, max-width 0.3s, margin-right 0.3s, font-size 0.3s;
}

.booking-btn:hover {
    width: 320px;
    border-radius: 2em;
    box-shadow: 0 8px 32px 0 rgba(60, 40, 20, 0.18);
    background: linear-gradient(45deg, #20a2ff, #94cfff, #ffffff);
    padding-left: 1em;
    padding-right: 1em;
}

.booking-btn:hover .booking-btn-text {
    opacity: 1;
    max-width: 220px;
    margin-right: 1.2em;
    font-size: 2.0rem;
}



/* Main Content Container */
.container.main-content {
    background: linear-gradient(to bottom, #EADACD 5%, #F7ECE2 30%, #FFFFFF 80%, #F7ECE2 97%, #BBBEA0 100%);
    color: #333;
}

/* Hero Container */
.hero-container {
    background: #F7ECE2;
    width: 60%;
    max-width: 100vw;
    box-sizing: border-box;
}


.logo {
    height: 80px !important;
    width: auto !important;
}


.header-content {
    width: 65%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}


/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4vw 2rem 4vw;
    margin-bottom: 1.5rem;
    background: #F7ECE2;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    box-sizing: border-box;
    box-shadow: 0 2px 12px 0 rgba(60, 40, 20, 0.06);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #6e7a8a;
}


body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', Arial, sans-serif;
    background: #F7ECE2;
    color: #2d2d2d;
    min-height: 100vh;
    padding-top: 150px;
}

main {
    margin: 0;
    /* Remove auto margins */
    padding: 0;
    /* Ensure no padding reduces width */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    /* Ensure full width */
    max-width: 100vw;
    /* Prevent overflow */
    background: #F7ECE2;
}

.main-content-group {
    width: 60%;
    margin: 1.5rem auto 1.5rem auto;

}







/* Location Map beside location info */

/* Map frame styling */
.map-frame {
    border: none;
    border-radius: 18px;
    box-shadow: 0 4px 18px 0 rgba(60, 40, 20, 0.10);
    padding: 8px;
    background: none;
    transition: box-shadow 0.2s;
    width: 100%;
    box-sizing: border-box;
    min-height: 180px;
    overflow: visible;
}

.map-frame iframe {
    width: 100%;
    height: 340px;
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.map-frame:hover {
    box-shadow: 0 8px 32px 0 rgba(60, 40, 20, 0.18);
}


.location-map {
    flex: 1 1 320px;
    min-width: 220px;
    max-width: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 2rem;
    box-sizing: border-box;
    min-height: 180px;
    overflow: visible;
}

/* Location and Address Row */
.location-address-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.location-address-row .location {
    flex: 1 1 0;
    min-width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.location-address-row .address {
    flex: 1 1 0;
    min-width: 50%;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.mrt-tag:hover {
    transform: translateY(-2px);
    transition: 0.25s;
}





/* Footer hours table styling */
.hours-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5em;
    font-family: 'Noto Sans', Arial, sans-serif;
    font-weight: 400;
    font-size: 0.92rem;
}

.hours-table td {
    padding: 0.1em 0.7em 0.1em 0;
    border: none;
    color: #2d2d2d;
}

.hours-table tr td:first-child {
    font-weight: 400;
    text-align: left;
}

.hours-table tr td:last-child {
    text-align: right;
}

.header-content.jomhuria-regular {
    font-size: 2.2rem !important;
}

.brand {
    font-family: 'Jomhuria', Arial, sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: #2d2d2d;
    line-height: 1.1;
}

section {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #6e7a8a;

}
.menu-toggle{
display:none;
}
.nav a {
    margin-left: 2rem;
    text-decoration: none;
    color: #2d2d2d;
    font-family: 'Jomhuria', Arial, sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.nav a:hover {
    color: #2a7be4;
}

/* Hero Section */
.hero {
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem 0 0 0;
    display: flex;
    /* stays flex */
    flex-direction: row;
    /* ✅ side by side */
    justify-content: center;
    align-items: center;
}

.section-content {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    gap: 2.5rem;
}

.hero-text {
    flex: 1 1 0;

    text-align: left;
}

.hero-text h1 {
    font-family: 'Jomhuria', Arial, sans-serif;
    font-size: 2.8rem;
    font-weight: 400;
    margin: 0 0 1rem 0;
    color: #2d2d2d;
    line-height: 1.1;
}

.highlight {
    color: #2d2d2d;
    font-size: 7.5rem;
    line-height: 0.6;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.1rem;
    color: #6e7a8a;
    margin-bottom: 1.5rem;
}

.about-left h2,
.guide h2,
.working-closely h2,
.location h2 {
    font-family: 'Jomhuria', Arial, sans-serif;
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #2d2d2d;
}

.cta-link {
    line-height: 0.5;
    display: inline-block;
    color: #2a7be4;
    /* bright, noticeable link color */
    font-family: 'Jomhuria', Arial, sans-serif;
    font-weight: 500;
    /* slightly bolder for emphasis */
    font-size: 3rem;
    /* big but still text-like */
    text-decoration: none;
    /* remove underline */
    position: relative;
    /* for arrow effect */
    transition: color 0.25s, transform 0.25s;
}

.cta-link::after {
    /* small arrow to hint clickability */
    font-weight: 700;
    transition: transform 0.25s;
}

.cta-link:hover {
    color: #1a5bb8;
    /* darker on hover */
    transform: translateX(3px);
    /* subtle shift to indicate interactivity */
}

.cta-link:hover::after {
    transform: translateX(5px);
    /* arrow moves slightly on hover */
}

.hero-image {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    box-sizing: border-box;
    text-align: right;
}

.profile-photo {
    width: 100%;
    max-width: 420px;
    min-width: 320px;
    height: auto;
    border-radius: 16px;
    background: transparent;
    box-shadow: none;
    object-fit: cover;
    display: block;
}

/* About Section */
.about {
    width: 100%;
    padding: 2.5rem 0 2.5rem 0;
}

.about-left {
    width: 70%;
    text-align: justify;
    box-sizing: border-box;
    padding-right: 5%;
}

.about-right {
    width: 30%;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 0.5rem;
    box-sizing: border-box;
    text-align: right;
}

.about-title {
    font-family: 'Jomhuria', Arial, sans-serif;
    font-size: 3rem;
    font-weight: 400;
    color: #1f3062;
    margin-bottom: 0.2rem;
}

.chinese {
    font-size: 2rem;
    color: #1f3062;
    font-weight: 700;
}

.about-roles {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
    font-size: 0.95rem;
    color: #6e7a8a;
    margin-bottom: 0.5rem;
}

.linkedin-icon img {
    margin-top: 0.5rem;
    filter: grayscale(1);
    transition: filter 0.2s, transform 0.2s;
    width: 48px;
    height: 48px;
}

.linkedin-icon img:hover {
    filter: transparent;
    transform: scale(1.2);
}

/* Guide Section */
.guide {
    width: 70%;

    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem 0 1.5rem 0;
    border-radius: 25px;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.guide-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.guide-card {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
    min-width: 180px;
}

.guide-card img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    margin-bottom: 0.7rem;
}

.guide-label {
    font-family: 'Jomhuria', Arial, sans-serif;
    font-weight: 400;
    color: #2d2d2d;
    font-size: 2rem;
}

/* Location Section */
.location-address-row {

    width: 70%;

    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem 0 1.5rem 0;
    border-radius: 25px;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.location h2 {
    font-family: 'Jomhuria', Arial, sans-serif;
    font-weight: 400;
    color: #2d2d2d;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.mrt-container {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 30px;
}

.mrt-tag {
    display: flex;
    align-items: center;
    border-radius: 30px;
    overflow: hidden;
    font-weight: 600;
    color: white;
}

.mrt-code {
    padding: 8px 12px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.25);
}

.mrt-name {
    padding: 8px 16px;
}

/* Line colours */

.ew {
    background: #2E9E4D;
}

.ne {
    background: #7A2E8A;
}

.te {
    background: #8C5523;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #0585f4, #00F2FE);
    /* calm, modern gradient */
    color: white;
    padding: 10px 28px;
    border-radius: 10px;
    font-weight: 400;
    font-size: 1em;
    text-decoration: none;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    /* soft shadow for depth */
    transition: transform 0.25s, box-shadow 0.25s;
    margin-bottom:2rem;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.arrow {
    margin-left: 8px;
    display: inline-block;
    transition: margin-left 0.25s;
}

.cta-button:hover .arrow {
    margin-left: 16px;
    /* arrow slides out slightly on hover */
}

/* Optional subtle pulsing to attract attention */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

.cta-button {
    animation: pulse 4s infinite;
}

/* Footer */
.address {
    font-size: 1.05rem;
    color: #2d2d2d;
    margin-bottom: 0.7rem;
}

.contact-info {
    font-size: 1rem;
    color: #2a7be4;
    margin-bottom: 0.7rem;
}

.footer {
    width: 100%;
    background: #BBBEA0;
    padding: 2rem 0 1rem 0;
    font-size: 0.98rem;
    color: #2d2d2d;
    /* border-top removed */
    position: relative;
    box-sizing: border-box;
}

.footer>.header-content {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    box-sizing: border-box;
}

.footer-left {
    flex: 2 1 300px;
    min-width: 220px;
}

.footer-logo {
    height: 36px;
    margin-bottom: 0.7rem;
}

.footer-address {
    margin-bottom: 0.5rem;
    font-family: 'Noto Sans', Arial, sans-serif;
    font-weight: 400;
    font-size: 0.92rem;
}

.footer-contact {
    margin-bottom: 0.5rem;
    font-family: 'Noto Sans', Arial, sans-serif;
    font-weight: 400;
    font-size: 0.92rem;
}

.footer-right {
    flex: 1 1 220px;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.footer-hours {
    font-family: 'Jomhuria', Arial, sans-serif !important;
    font-weight: 400 !important;
    font-size: 1.85rem;
    margin-bottom: 0.5rem;
    text-align: right;
}

.footer-social img {
    margin-left: 0.5rem;
    filter: grayscale(1);
    transition: filter 0.2s;
    vertical-align: middle;
    width: 36px !important;
    height: 36px !important;
}

.footer-social img:hover {
    filter: none;
}

.footer-copy {
    width: 100%;
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #6e7a8a;
}

.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icons img {
    width: 48px;
    height: 48px;
    transition: transform 0.2s;
}

.social-icons img:hover {
    transform: scale(1.2);
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#loading-screen p {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #333;
}


.working-closely,
.accredited-partners {

    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
    margin-bottom: 2.5rem;


}


/* Divider between sections */


/* Grid Layout */
.partners {
    width: 70%;
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: center;
    justify-items: center;
     margin: 0 auto;
    margin-bottom: 20px;
}

/* Logo Styling */
.partners img {
    max-width: 200px;
    height: auto;
    opacity: 0.85;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

/* Hover effect */
.partners img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Divider between sections */
.accredited-partners h2 {
    font-family: 'Jomhuria', Arial, sans-serif;
    font-size: 3rem;
    font-weight: 400;
    color: #2d2d2d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    margin: 4rem auto 1rem auto;
    width:70%;
}

.accredited-partners h2::before,
.accredited-partners h2::after {
    content: "";
    flex: 1;
    height: 2px;
    background: #dcdcdc;
    margin: 0 20px;
    
}


.services {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem 0 1.5rem 0;
    border-radius: 25px 25px 0 0;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    background: #F7ECE2;

}

.services-title {
    font-family: 'Jomhuria', Arial, sans-serif;
    font-weight: 400;
    color: #2d2d2d;
    font-size: 3rem;
}

.services-intro p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    /* Adjust size as needed */
    font-weight: 450;
    color: #333;
    /* Adjust color as needed */
    text-align: center;
    /* Center the text */
}

.services-intro {
    width: 90%;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}


.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 columns */
    grid-template-rows: repeat(5, 90px);
    /* total 5 rows */
    gap: 5px;
    padding: 20px;
}

/* Base card style */
.card {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
    /* Perspective for 3D effect */

}

.card h3 {
    font-family: 'Jomhuria', Arial, sans-serif;
    font-weight: 400;
    color: #2E5E7E;
    font-size: 3rem;
}


.small-top-right .overlay,
.big-left .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(255, 255, 255, 0.9) 40%,
            rgba(255, 255, 255, 0.3) 100%);
}

.small-bottom-left .overlay,
.big-right .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.9) 40%,
            rgba(255, 255, 255, 0.3) 100%);
}

/* Custom placement */

.small-top-right {
    grid-column: 2;
    grid-row: 1/span 2;
}

.small-bottom-left {
    grid-column: 1;
    grid-row: span 2;
}

.big-left {
    grid-column: 1;
    grid-row: 1/span 3;
}

.big-right {
    grid-column: 2;
    grid-row: 3/span 3;
    text-align: right;
    justify-content: right;
}

.small-bottom-left h2,
.big-right h2 {
    
    line-height: 0.5;
    position: absolute;
    right: 15px;
    top:10px;
    /* Adjust as needed */
    margin: 2px;
    text-align: right;

    font-family: 'Jomhuria', Arial, sans-serif;
    font-weight: 400;
    font-size: 3.2rem;
    color: #2c3e50;
}

.small-top-right h2,
.big-left h2 {

    line-height: 0.5;
    position: absolute;
    left: 15px;
    /* Adjust as needed */
    bottom: 0px;
    margin: 2px;
    text-align: left;
    font-family: 'Jomhuria', Arial, sans-serif;
    font-weight: 400;
    font-size: 3.2rem;
    color: #2c3e50;
}

.tele-card-brief,
.home-card-brief {
    
    position: absolute;
    text-align: right;
    top: 45px;
    right: 15px;
    width: 40%;
    font-family: 'Inter', sans-serif;
    font-weight: 450;
    font-size: 1rem;
}

.capa-card-brief,
.treatment-card-brief {
    
    position: absolute;
    text-align: left;
    bottom: 45px;
    left: 15px;
    width: 60%;
    font-family: 'Inter', sans-serif;
    font-weight: 450;
    font-size: 1rem;
}

.home-card-description {

    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    /* smooth animation */
    width: 60%;
    text-align: right;
    position: absolute;
    bottom: 15px;
    /* Adjust as needed */
    right: 10px;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 450;
    font-size: 1.0rem;
    color: #2c3e50;
}

.tele-card-description {

    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    /* smooth animation */

    width: 60%;
    text-align: left;
    position: absolute;
    bottom: 15px;
    /* Adjust as needed */
    left: 10px;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 450;
    font-size: 1.0rem;
    color: #2c3e50;
}


.treatment-card-description {

    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    /* smooth animation */
    width: 60%;
    text-align: left;
    position: absolute;
    top: 15px;
    /* Adjust as needed */
    left: 10px;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 450;
    font-size: 1.0rem;
    color: #2c3e50;
}

.capa-card-description {

    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    /* smooth animation */
    width: 60%;
    text-align: right;
    position: absolute;
    top: 15px;
    /* Adjust as needed */
    right: 10px;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 450;
    font-size: 1.0rem;
    color: #2c3e50;
}



.card:hover .tele-card-description,
.card:hover .home-card-description,
.card:hover .capa-card-description,
.card:hover .treatment-card-description {
    display: block;
    /* Show the description on hover */
    opacity: 1;
    /* Make it visible */
    transform: translateY(0);
    /* Slide into its original position */

}

.card:hover .tele-card-brief,
.card:hover .home-card-brief,
.card:hover .capa-card-brief,
.card:hover .treatment-card-brief {
    display: block;
    /* Show the brief on hover */
    opacity: 0;
    /* Make it visible */
    transform: translateY(0);
    /* Slide into its original position */
}

.small-bottom-left:hover .overlay,
.big-left:hover .overlay {
    background: linear-gradient(to right,
            rgba(255, 255, 255) 50%, rgba(255, 255, 255, 0.3));
}

.small-top-right:hover .overlay,
.big-right:hover .overlay {
    background: linear-gradient(to left,
            rgba(255, 255, 255) 50%, rgba(255, 255, 255, 0.3));
}







.trusted {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem 0 1.5rem 0;
    border-radius: 25px;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin: 0 auto;

}

.trusted-title {
    font-family: 'Jomhuria', Arial, sans-serif;
    font-weight: 400;
    color: #1F3062;
    font-size: 3rem;
    text-align: right;
}

.trusted-brief {
    font-family: 'Inter', sans-serif;
    font-weight: 450;
    color: #1480C6;
    font-size: 1.3rem;
    text-align: right;
}

.trusted-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trusted-left {
    flex: 1 1 0;
    text-align: left;
}

.trusted-right {
    flex: 0 0 40%;
    width: 55%;
    margin-left: -15%;
    position: relative;
    z-index: 2;
    padding: 20px;
    border-radius: 12px;
}

.trusted-image {
    flex: 1 1 100%;
    width: 100%;
    background-image: url('Otium Assets/trusted-care.jpeg');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;

    min-height: 400px;
    color: #fff;
    display: flex;
    align-items: flex-end;
    justify-content: left;
    padding: 20px 50px;

    /* Blur transparent edge */
    -webkit-mask-image:
        linear-gradient(to right,
            rgba(0, 0, 0, 0) 2%,
            rgba(0, 0, 0, 1) 10%,
            rgba(0, 0, 0, 1) 95%,
            rgba(0, 0, 0, 0) 100%),
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 5%,
            rgba(0, 0, 0, 1) 8%,
            rgba(0, 0, 0, 1) 95%,
            rgba(0, 0, 0, 0) 100%);

    -webkit-mask-composite: intersect;
    mask-composite: intersect;

    mask-image:
        linear-gradient(to right,
            rgba(0, 0, 0, 0) 2%,
            rgba(0, 0, 0, 1) 10%,
            rgba(0, 0, 0, 1) 95%,
            rgba(0, 0, 0, 0) 100%),
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 5%,
            rgba(0, 0, 0, 1) 8%,
            rgba(0, 0, 0, 1) 95%,
            rgba(0, 0, 0, 0) 100%);


}

.review {
    background: rgba(0, 0, 0, 0.6);
    /* Semi-transparent background for better readability */

    border-radius: 8px;
    max-width: 60%;
    /* Reduce the width */
    font-size: 0.7rem;
    /* Make the text smaller */
    margin: 0.2rem;
}

.review blockquote {
    font-style: italic;
    color: #fff;
    margin: 5px;
    text-align: left;
}

.review blockquote footer {
    margin-top: 5px;
    /* Reduce margin */
    font-size: 0.8rem;
    /* Make footer text smaller */
    color: #ccc;
}

.trusted-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 columns */
    grid-template-rows: repeat(2, 180px);
    /* total 5 rows */

    gap: 5px;
    text-align: center;
}

.feature {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 5px;
    width: 250px;
}

.feature img {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: #DCE8F6;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    object-fit: contain;
    margin-right: 15px;
}

.feature-item {
    text-align: left;
    font-family: 'Jomhuria', Arial, sans-serif;
    font-weight: 400;
    color: #1F3062;
    font-size: 2.5rem;
    line-height: 0.5;
    margin: 0;
    padding: 0;
}

.feature-details {
    text-align: left;
    margin: 0;
    font-size: 0.8rem;
    color: #6c757d;
    font-family: 'Inter', sans-serif;
}

.feature-text {
    display: flex;
    flex-direction: column;
    max-width: 280px;

}

.feature:hover {
    transform: translateY(-4px);
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.faq-section {
    margin-bottom: 10rem;
}

.faq,
.divider-bubbles-section {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem 0 1.5rem 0;
    border-radius: 25px;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin: 0 auto;

}


.faq-title {

    font-family: 'Jomhuria', Arial, sans-serif;
    font-size: 3rem;
    font-weight: 400;
    color: #2d2d2d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    margin: 1rem 0 1rem 0;
}

.faq-container {
    max-width: 1000px;
    margin: auto;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    width: 100%;
    background: #e6dccd;
    border: none;
    padding: 25px 30px;
    font-size: 22px;
    font-weight: 600;
    text-align: left;
    border-radius: 40px;
    cursor: pointer;

    display: flex;
    justify-content: space-between;
    align-items: center;

    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.faq-icon {
    font-size: 26px;
    border: 3px solid #5a4633;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    margin-left: 0.7px;
    justify-content: center;
    aspect-ratio: 1 / 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
}

.faq-answer p {
    padding: 20px 0;
}


.faq-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.faq-card {
    margin-top: 15px;
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.card-title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
}

.card-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    /* Adjust size as needed */
    font-weight: 450;
    color: #333;
    /* Adjust color as needed */
    text-align: center;
    font-size: 16px;
    line-height: 1.5;
    color: #555;
}

.wave-divider-1,
.wave-divider-0 {
    width: 100%;
    line-height: 0;
}

.wave-divider-1 svg,
.wave-divider-0 svg {
    display: block;
    width: 100%;
    height: 80px;
}

.wave-divider-1 path {
    fill: #F7ECE2;
    /* color of next section */
}

.divider-bubbles {
    width: 50%;
    /* adjust to your desired width */
    margin: 40px auto;
    /* centers it */
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 10px;
}

.divider-bubbles span {
    width: 15px;
    height: 15px;
    background: #5a4633;
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.trusted-section {
    background: #ffffff;
}


.wave-divider-0 path {
    fill: #ffffff;
    /* color of next section */
}

.section-slider {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.section-slider a {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #c1e1ff;
    display: block;
    transition: all 0.3s ease;
}

.section-slider a.active {
    background: #4099ff;
    transform: scale(1.5);
}

section {
    scroll-margin-top: 150px;
    /* height of your fixed header */
}

@media (max-width: 1315px) {
    
     .guide-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        gap: 1.5rem; /* adjust spacing as needed */
        justify-items: center;
        align-items: start;
    }

    .guide-card {
        width: 100%; /* make card fit the grid cell */
        max-width: 180px; /* optional max-width */
    }
}

@media (max-width: 1270px) {

    .services-grid {
        grid-template-columns: 1fr; /* 1 column */
        grid-template-rows: auto; /* rows adjust automatically */
        gap: 10px; /* optional spacing */
    }
     .small-top-right,
    .small-bottom-left,
    .big-left,
    .big-right {
        grid-column: 1 / -1;       /* full width */
        grid-row: auto;             /* reset row span */
        text-align: center;         /* center content */
        align-items: center;    /* center flex content if any */
        margin-bottom: 1.5rem;      /* spacing between cards */
        height: 200px;    
        gap:10px;          /* fixed height */
    }

    /* Adjust overlay to cover the fixed height nicely */
    .small-top-right .overlay,
    .small-bottom-left .overlay,
    .big-left .overlay,
    .big-right .overlay {
        background: rgba(255, 255, 255, 0.6); /* simpler overlay for readability */
        height: 100%; /* cover full card height */
    }

.small-bottom-left h2,
.big-right h2 {
    
    line-height: 0.5;
    position: relative;
    right: 15px;
    top:10px;
    /* Adjust as needed */
    margin: 20px;
    text-align: center;

    font-family: 'Jomhuria', Arial, sans-serif;
    font-weight: 400;
    font-size: 3.2rem;
    color: #2c3e50;
}

.small-top-right h2,
.big-left h2 {

    line-height: 0.5;
    position: relative;
    left: 15px;
    /* Adjust as needed */
    bottom: 0px;
    margin: 20px;
    text-align: center;
    font-family: 'Jomhuria', Arial, sans-serif;
    font-weight: 400;
    font-size: 3.2rem;
    color: #2c3e50;
}

.tele-card-brief,
.home-card-brief {
    
     position: absolute;
    text-align: center;
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-weight: 450;
    font-size: 1rem;
    
    top:170px;
}

.capa-card-brief,
.treatment-card-brief {
    
    position: absolute;
    text-align: center;
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-weight: 450;
    font-size: 1rem;
    bottom:10px;
}


.home-card-description {

    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    /* smooth animation */
    margin-top:30px;

    width: 100%;
    text-align: center;
    position: static;
}

.tele-card-description {

    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    margin-top:30px;
    /* smooth animation */
left:0;
    width: 100%;
    text-align: center;
    position: static;
}


.treatment-card-description {

    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    /* smooth animation */
    margin-top:30px;
    
    width: 100%;
    text-align: center;
    position: static;
}

.capa-card-description {

    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    /* smooth animation */
    margin-top:30px;
    width: 100%;
    text-align: center;
    position: static;   
    bottom: 15px;
}



.small-bottom-left:hover .overlay,
.big-left:hover .overlay {
    background: linear-gradient(to top,
            rgba(255, 255, 255) 50%, rgba(255, 255, 255, 0.3));
}

.small-top-right:hover .overlay,
.big-right:hover .overlay {
    background: linear-gradient(to top,
            rgba(255, 255, 255) 50%, rgba(255, 255, 255, 0.3));
}

    

}




@media (max-width: 1200px) {

    .header {
        padding: 1rem 0;
    }

    .header .header-content {
        display: flex;
        flex-direction: column;
        /* stack logo and nav vertically */
        align-items: center;
        /* center both horizontally */
        gap: 1rem;
        /* space between logo and nav */
    }

    .logo-section img {
        max-height: 60px;
        /* keep logo size controlled */
        height: auto;
        width: auto;
    }

    .nav {
        display: flex;
        gap: 2rem;
        /* space between links */
        justify-content: center;
        flex-wrap: wrap;
        /* allow wrapping on small screens */
    }
    .feature {
        width:200px;
    }

}
@media(max-width:1084px){
       .hero,
    .hero-text,
    .hero-image {
        flex-direction: column;
        text-align: center;
    }

}
@media (max-width: 1000px) {

    .trusted-features {
    display: grid;
    grid-template-columns: 1fr;
    /* 2 columns */
    grid-template-rows: auto;
    /* total 5 rows */

    gap: 5px;
    text-align: center;
    }
    .feature {
        width:300px;
    
}
}
@media (max-width: 958px) {
    .hero {
        display: block;
    }

    .location-address-row {
        display: block;
        text-align: center;
    }

    .location {
        align-items: center;
    }

    .location h2,
    .location p {
        margin-bottom: 0rem;
        justify-content: center;
        width: 100%;
        text-align: center;
    }

    .mrt-stations {
        justify-content: center;
        text-align: center;
    }

    .map-frame,
    .location-map {
        width: 100%;
        max-width: none;
        max-height: max-content;
        margin-bottom: 2rem;
    }

 
}

@media (max-width: 900px) {
   .trusted-content{
  display: flex;
        /* Use flexbox for centering */
        flex-direction: column;
        /* Stack items vertically */
        align-items: center;
        /* Vertical center */
        justify-content: center;
        /* Horizontal center */
        text-align: center;
        margin-bottom: 0;
   }
   .feature {
    width: 100%;
     margin-bottom: 2rem;
     padding-top:5px;
     padding-bottom:5px;
     padding-left:0px;
     padding-right:0px;
   }
   .trusted-right{
    width: 90%;
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
   }
}

@media(max-width:855px){
 .header-content.jomhuria-regular {
        font-size: 2rem !important;
    }
        .partners {
        display: flex;
        /* Use flexbox for centering */
        flex-direction: column;
        /* Stack items vertically */
        align-items: center;
        /* Vertical center */
        justify-content: center;
        /* Horizontal center */
        text-align: center;
        margin-bottom: 5em;
    }
    .faq-cards {
        display: grid;
        grid-template-columns: 1fr; /* 1 column */
        gap: 5px; /* space between rows */
    }

    .faq-card {
        background: #fff;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    .location-map{
        padding: 0;
    }
}

@media (max-width: 800px) {
   .mrt-container{
     display: flex;
        /* Use flexbox for centering */
        flex-direction: column;
        /* Stack items vertically */
        align-items: center;
        /* Vertical center */
        justify-content: center;
        /* Horizontal center */
        text-align: center;
        margin-left: auto;
        margin-right:auto;
        margin-bottom: 2rem;
   }

   .header-content.jomhuria-regular {
        font-size: 1.5rem !important;
    }

    .menu-toggle{
        position: absolute;
        left: 20px;
        border:1px;
display:block;
font-size:28px;
cursor:pointer;
}

.nav{
display:none;
flex-direction:column;
background:#F7ECE2;
opacity:0.95;
position:absolute;
top:80px;
left:0;
width:100%;
padding:20px;
}

.nav.show{
display:flex;
}
}
@media (max-width: 650px) {
 
    .small-top-right,
    .small-bottom-left,
    .big-left,
    .big-right {
        grid-column: 1 / -1;       /* full width */
        grid-row: auto;             /* reset row span */
        text-align: center;         /* center content */
        align-items: center;    /* center flex content if any */
        margin-bottom: 1.5rem;      /* spacing between cards */
        height: 280px;    
        gap:10px;          /* fixed height */
    }

    
.tele-card-brief,
.home-card-brief {
    
     position: absolute;
    text-align: center;
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-weight: 450;
    font-size: 1rem;
    
    top:240px;
}

 .small-top-right h2, .big-left h2{
        left:0;
    }

    .capa-card-brief, .treatment-card-brief {
        left:0;
    }

    .tele-card-brief, .home-card-brief {
        right:0;
    }

    
    .section-content {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }

    .about-right,
    .about-left,
    .about-title,
    .chinese,
    .about-roles,
    .linkedin-icon {
        width: 100%;
        text-align: center;
        padding: 0;
    }

    .footer>.header-content {
        display: flex;
        /* Use flexbox for layout */
        flex-direction: column;
        /* Stack items vertically */
        align-items: center;
        /* Center items horizontally */
    }

    .footer-left,
    .footer-right {
        width: 100%;
        text-align: center;
        align-items: center;
        margin-bottom: 1.5rem;
    }

    .footer-address,
    .footer-contact,
    .footer-hours-table,
    td {
        font-size: 1.2rem;
    }

    /* increase footer text size */


    .main-content-group,
    .about-roles {
        font-size: 1.1rem;
        /* increase content text size */
    }

    .location {
        display: flex;
        flex-direction: column;
        /* stack children vertically */
        align-items: center;
        /* center block elements horizontally */
        text-align: center;
        /* center text inside */
        gap: 1rem;
        /* space between children */
    }


}

@media (max-width: 460px) {

    

   .faq-section {
    width:95%;
    margin: 0 auto;
   }
    .faq-cards
   .trusted{
    display:flex;
     flex-direction: column;
     align-items: center;
    text-align: center;
     margin: 0 auto;
   }

   .trusted-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    }

   .trusted-content {
    width: 95%;
   }

   .feature{
    width:100%;
   }

   .feature-text {
    max-width: 100%;
    margin:5px;
   }

   .feature-icon{
     max-width: 100%;
     margin:5px;
   }

   .trusted-image{
     width:90%;
     margin:10px 10px;
     padding:0;
   }

   .trusted-title{
    line-height: 0.5;
    padding:10px;
    width: 70%;
     text-align: center;
   }

   .trusted-brief{
    padding:10px;
    width: 70%;
     text-align: center;
   }

}

@media (max-width: 1150px) {
    

    .booking-btn {
        transition: none !important;
        /* disable all transitions */
        width: 320px;
        /* show full button */
        border-radius: 2em 0em 0em 2em;
        /* rounded corners */
        box-shadow: 0 8px 32px 0 rgba(60, 40, 20, 0.18);
        background: linear-gradient(45deg, #20a2ff, #94cfff, #ffffff);
        transition: transform 0.25s, box-shadow 0.25s;
        padding-left: 1em;
        padding-right: 1em;
        right: 0;
        /* stick to the right */
        margin-right: 0;
        /* remove any margin */
    }

    .booking-btn .booking-btn-text {
        opacity: 1;
        max-width: 220px;
        margin-right: 1.2em;
        font-size: 2.0rem;
    }
}

.social-icons {
        position: fixed;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        /* stack vertically */
        gap: 10px;
        padding: 12px;
        background: rgba(255, 255, 255, 0.5);
        /* white with transparency */
        border-radius: 0 12px 12px 0;
        /* rounded left corners */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        /* soft shadow */
        z-index: 1000;
    }