/* ===== BODY FONT ===== */


/* ===== MAIN MENU ===== */
.tgmenu__main-menu .navigation {
    gap: 34px !important;
}

/* ===== HEADER DROPDOWN ===== */
.header-action-dropdown {
    min-width: 250px !important;
}

/* ===== MARGINS & PADDING ===== */
.mb-40 {
    margin-bottom: 5rem !important;
}
.section-title {
    padding-top: 35px !important;
}
.services__details-area {
    padding: 0;
}
.services__bg-six {
    padding: 50px 0px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .tgmenu__action {
        margin-inline-end: 0 !important;   
        margin-inline-start: 0 !important;
    }

    .shortcode-hero-banner .container .banner-content h2,
    .shortcode-hero-banner .container .banner-content p,
    .shortcode-hero-banner .container .banner__content-three h2,
    .shortcode-hero-banner .container .banner__content-three p {
        color: var(--heading-color) !important;
    }

    .banner-bg {
        padding: 100px 0 100px !important;
    }
}

@media (max-width: 767.98px) {
    .footer-top {
        padding: 150px 0 0px;
    }
}

/* ===== HEADER ALIGNMENTS ===== */
.header-logo-col,
.header-actions-col {
    align-items: initial !important;    
}

.tgmenu__action ul {
    align-items: initial !important;    
    margin-inline-start: 0 !important;  
}

/* ===== FLEX & LISTS ===== */
.about-list .list-wrap {
    display: flex;
    flex-wrap: wrap !important;
}
.banner-content p {
    text-transform: none !important;
}

/* ===== FONTS ===== */
@font-face {
    font-family: "Tufuli";
    src: url("../fonts/Tufuli.woff2") format("woff2"),
         url("../fonts/Tufuli.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ===== FOOTER & LOGO ===== */
.fw-logo img {
    max-height: 90px !important;
}
.breadcrumb__area {
    padding-top: 80px;
    padding-bottom: 80px;
}
.footer-top {
    padding: 0px 0 0px;
}

.mb-25 {
    margin-top: 10px !important;
}
/* ===== SERVICES ===== */
.services-bg {
    padding: 20px 0 !important;
}
.container > .services__details-area {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
.fw-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 40px;
    padding-bottom: 18px;
    position: relative;
}

/* ===== SHORTCODES ===== */
.shortcode-hero-banner .shortcode-hero-banner-overlay {
    background-color: rgba(0,0,0,0) !important;
}
.shortcode-services.shortcode-services-style-1 .section-title.mb-40,
.shortcode-services.shortcode-services-style-1 .mb-40 {
    margin-bottom: 20px !important;
}
.services-area {
    padding: 15px !important; 
}

/* ===== IMAGES ===== */
.choose__img-wrap-three>img,
.banner__img-two>img:nth-child(2) {
    border: 0px solid #dadada !important;
}
.td_rate_feature_icon img {
    max-width: 45px !important;
}

/* ===== CARDS & BANNERS ===== */
.curioo-block-card {
    max-width: 560px !important;
}
.pyx-10 {
    padding-top: 10% !important;
}

/* ===== ADJUST MAIN MENU AGAIN ===== */
.tgmenu__main-menu .navigation {
    gap: 20px !important;
}

/* ===== MARGINS ===== */
.mb-25 {
    margin-top: 40px !important;
}

/* ===== OVERLAY ===== */
.from-curiooCyan {
    --tw-gradient-to: none !important;
}

.footer__social-two .list-wrap li a {
    background: #0f7ca3 !important;
    color: #ffffff !important;
}


/*tabby*/
/* --- CURIOO CUSTOM CTA SECTION (TABBY) --- */

/* MOBILE FIRST STYLES */
.curioo-cta-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 1100px;
    /* Added 20px left/right margin so the box doesn't touch the phone edges */
    margin: 40px 20px; 
    font-family: inherit;
    background-color: #009abf; /* Blue background */
    border-radius: 30px;
    padding: 40px 20px;
}

.curioo-cta-text {
    background-color: transparent;
    padding: 0;
    position: relative;
    /* Centered text for mobile */
    text-align: center; 
}

.curioo-cta-title {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff; 
    margin-bottom: 15px;
    line-height: 1.4;
}

.curioo-cta-desc {
    font-size: 16px;
    color: #ffffff; 
    margin-bottom: 25px;
    line-height: 1.6;
}

.curioo-cta-image {
    margin-top: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.curioo-cta-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

/* DESKTOP STYLES (768px and up) */
@media (min-width: 768px) {
    .curioo-cta-wrapper {
        /* Resets margin to auto to center the block on large screens */
        margin: 40px auto; 
        flex-direction: row; 
        align-items: center;
        background-color: transparent; 
        padding: 0;
        gap: 40px;
    }
    
    .curioo-cta-text {
        background-color: #009abf; 
        border-radius: 30px;
        padding: 50px;
        flex: 1.2;
        /* Re-aligns text to the right (RTL) or left (LTR) for desktop */
        text-align: start; 
    }

    .curioo-cta-image {
        flex: 1;
        margin-top: 0;
    }

    .curioo-cta-title { font-size: 38px; }
    .curioo-cta-desc { font-size: 18px; }
}


/* Fix for Tufuli Font 404 Error */
@font-face {
    font-family: 'tufuli'; /* Use lowercase to match the error exactly */
    src: url('/themes/apexa/fonts/Tufuli.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Force headings to use the corrected font name */



#grade > div.layout > div[style] {
    transform: rotateX(65deg) rotateZ(45deg) !important;
    transform-style: preserve-3d !important;
    left: 50% !important;
    top: 5vw !important;
    width: 70vw !important;
    height: 30vw !important;
    text-align: center !important;
    font-size: 3.5vw !important;
    font-weight: bold !important;
    color: white !important;
    line-height: 10vw !important;
}

/* 1. Intercept the exact font name the system is requesting */


/* 2. Strip away any Tailwind letter-spacing that breaks Arabic cursive */
html[dir="rtl"] body,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] p,
html[dir="rtl"] span,
html[dir="rtl"] a,
html[dir="rtl"] div {
    letter-spacing: 0 !important;
}


/*workshop details font */
.opt-box {
    font-size: 12px;
}

/*hero banner height */

.banner-bg
 {
   
    background-position: 50% !important;
    min-height: 870px !important;
    display: flex !important;
    align-items: center !important;
    padding: 200px 0 100px !important;
    position: relative !important;
    z-index: 1 !important;
    overflow: hidden !important;
}
/*hero banner max-width */


@media (max-width: 991.98px) {
    .container {
        max-width: 720px !important;
    }
}

@media (max-width: 1500px) {
    .container {
        max-width: 1250px !important;
    }
}

@media (max-width: 1199.98px) {
    .container {
        max-width: 960px !important;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .container
 {
        max-width: 540px !important;
    }
}

@media (min-width: 1536px) {
    .container {
        max-width: 1250px !important;
    }
}



.banner__img-two>img:first-child {
    max-width: 600px !important;
    max-height: 550px !important;
  margin-inline-start: 1% !important;
}

.banner-social
 {

    top: 29% !important;

}


.banner-social .title {
    color: var(--secondary-color) !important;
}

.banner-social .title:before {
    background: var(--secondary-color) !important;
}



/* Tablet & small screens */
@media (max-width: 991.98px) {
  .banner__img-two > img:first-child {
    width: 85% !important;
    height: auto !important;
    max-width: 85% !important;
    margin-inline-start: 10% !important;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .banner__img-two > img:first-child {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    margin-inline-start: 0 !important;
  }
}

@media (max-width: 768px) {
  .banner-bg {
    min-height: 500px !important;
    padding: 80px 0 60px !important;
    background-position: center !important;
  }
}

.banner-content .sub-title {
    color: #ffffff !important;
}


.opt-box
 {
    text-align: start !important;
}