/* ==============================
   🌐 Global Typography System
   ============================== */

/* Design tokens (variables) */
:root {
    /* Font families */
    --font-primary: "Montserrat", sans-serif;
    --font-secondary: "Work Sans", sans-serif;

    /* Font sizes */
    --fs-xxs: 0.75rem;
    /* 12px */
    --fs-xs: 0.875rem;
    /* 14px */
    --fs-sm: 1rem;
    /* 16px (base) */
    --fs-md: 1.125rem;
    /* 18px */
    --fs-lg: 1.25rem;
    /* 20px */
    --fs-xl: 1.375rem;
    /* 22px */
    --fs-2l: 1.75rem;
    /* 28px */
    --fs-2xl: 2rem;
    /* 32px */
    --fs-3xl: 2.625rem;
    /* 42px */
    --fs-4xl: 3.125rem;
    /* 50px */
    --fs-5xl: 3.75rem;
    /* 60px */
}

/* iPad Pro override with !important */
@media only screen and (min-width: 992px) and (max-width: 1400px) {

    :root {
        --fs-sm: 0.8rem !important;
        /* 15px */
        --fs-md: 1rem !important;
        /* 16px */
        --fs-lg: 1.125rem !important;
        /* 18px */
        --fs-xl: 1.25rem !important;
        /* 20px */
        --fs-2xl: 1.5rem !important;
        /* 24px */
        --fs-3xl: 2rem !important;
        /* 32px */
        --fs-4xl: 2.5rem !important;
        /* 40px */
    }
}


@media only screen and (min-width: 350px) and (max-width: 600px) {
     :root {

            /* --fs-sm: 0.8rem !important; */
            /* 15px */
            --fs-md: 0.875rem !important;
            /* 14px */
            /* --fs-lg: 1.125rem !important; */
            /* 18px */
            --fs-xl: 1rem !important;
            /* 20px */
            --fs-2xl: 1rem !important;
             /* 16px */
            --fs-3xl: 2rem !important;
            /* 32px */
            --fs-4xl: 1.75rem !important;
            /* 28px */
     }
}



/* Font family utilities */
.montserrat {
    font-family: var(--font-primary) !important;
}

.worksans {
    font-family: var(--font-secondary) !important;
}

/* 🎚️ Font weights */
.font-100 {
    font-weight: 100 !important;
}

.font-200 {
    font-weight: 200 !important;
}

.font-300 {
    font-weight: 300 !important;
}

.font-400 {
    font-weight: 400 !important;
}

.font-500 {
    font-weight: 500 !important;
}

.font-600 {
    font-weight: 600 !important;
}

.font-700 {
    font-weight: 700 !important;
}

.font-800 {
    font-weight: 800 !important;
}

.font-900 {
    font-weight: 900 !important;
}

/* 📏 Font sizes */
.fs-xxs {
    font-size: var(--fs-xxs) !important;
}

.fs-xs {
    font-size: var(--fs-xs) !important;
}

.fs-sm {
    font-size: var(--fs-sm) !important;
}

.fs-md {
    font-size: var(--fs-md) !important;
}

.fs-lg {
    font-size: var(--fs-lg) !important;
}

.fs-xl {
    font-size: var(--fs-xl) !important;
}

.fs-2xl {
    font-size: var(--fs-2xl) !important;
}

.fs-3xl {
    font-size: var(--fs-3xl) !important;
}

.fs-4xl {
    font-size: var(--fs-4xl) !important;
}

.fs-5xl {
    font-size: var(--fs-5xl) !important;
}

/* 🧩 Spacing utilities */
/* ✅ Extended spacing utilities (beyond Bootstrap default) */
.mt-6 {
    margin-top: 4rem !important;
}

.mt-7 {
    margin-top: 5rem !important;
}

.mt-8 {
    margin-top: 6rem !important;
}

.mt-9 {
    margin-top: 8rem !important;
}

.mt-10 {
    margin-top: 10rem !important;
}

.mb-6 {
    margin-bottom: 4rem !important;
}

.mb-7 {
    margin-bottom: 5rem !important;
}

.mb-8 {
    margin-bottom: 6rem !important;
}

.mb-9 {
    margin-bottom: 8rem !important;
}

.mb-10 {
    margin-bottom: 10rem !important;
}

.pt-6 {
    padding-top: 4rem !important;
}

.pt-7 {
    padding-top: 5rem !important;
}

.pt-8 {
    padding-top: 6rem !important;
}

.pt-9 {
    padding-top: 8rem !important;
}

.pt-10 {
    padding-top: 10rem !important;
}

.pb-6 {
    padding-bottom: 4rem !important;
}

.pb-7 {
    padding-bottom: 5rem !important;
}

.pb-8 {
    padding-bottom: 6rem !important;
}

.pb-9 {
    padding-bottom: 8rem !important;
}

.pb-10 {
    padding-bottom: 10rem !important;
}

html,
body {
    height: 100%;
    background: #f5f5f5;
}


.bg-white {
    background: white;
    /* height: 100vh; */
    padding: 6rem 0rem;
    align-content: center;
    justify-content: center;
}

.black-btn {
    border-radius: 12px;
    color: #131313 !important;
}

.section-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

/* heading in pages css  */

.section-headings h2 {
    font-size: var(--fs-4xl);
    font-weight: 700;
    line-height: 58px;
    background: linear-gradient(to right, #022640, #5786AB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* For Firefox */
    background-clip: text;
    color: black;
}

.section-headings h3 {
    font-size: var(--fs-md);
    font-weight: 500;
    line-height: 28px;
    color: #4C4C4C !important;
}

.section-headings p {
    font-size: var(--fs-md);
    font-weight: 500;
    line-height: 30px;
    color: #4C4C4C;
}

.inner-section-headings {
    text-align: center;
    margin-bottom: 0px;
}

.inner-section-headings h2 {
    font-size: var(--fs-3xl);
    font-weight: 700;
    line-height: 58px;
    background: linear-gradient(to right, #022640, #5786AB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* For Firefox */
    background-clip: text;
    color: black;

}

.inner-section-headings h3 {
    font-size: var(--fs-xl);
    font-weight: 500;
    line-height: 28px;
    color: #4C4C4C !important;
}

.inner-section-headings p {
    font-size: var(--fs-xl);
    font-weight: 500;
    line-height: 30px;
    color: #131313;
}

.content-section {
    margin-bottom: 5rem;
    padding: 2rem 0rem;
    display: flex;
    justify-content: center;
}

/* heading in pages css  */


/* sliding cards css  */

.main-support-card {
    position: absolute;
    /* top: 120px;
    left: -45px; */
    /* height: 184px; */
    /* width: 290px; */
    background: #F5F5F599;
    border-radius: 16px;
    box-shadow: 0 10px 15px rgba(50, 60, 70, 0.15);
    backdrop-filter: blur(8px);
    padding: 8px 8px;
    z-index: 2;
    opacity: 0;
    transform: translateY(24px);
}

.main-support-card-wrap {
    width: 274px;
    padding: 12px 15px;
    background: #F5F5F599;
    /* height: 168px; */
    border-radius: 8px;

}

.card-feature {
    background: #F5F5F5;
    border-radius: 8px;
    margin: 0.5rem 0;
    padding: 4px 15px;
    font-size: 14px;
    font-family: "Work Sans", sans-serif;
    box-shadow: 0 10px 32px rgba(50, 60, 70, 0.15);

}

.small-info-card {
    position: absolute;
    /* right: 100px;
    bottom: -25px; */
    background: #F5F5F599;
    border-radius: 16px;
    box-shadow: 0 10px 15px rgba(50, 60, 70, 0.15);
    padding: 8px 8px;
    font-size: 1rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(24px);
}

.small-support-card-wrap {
    width: 274px;
    padding: 12px 15px;
    background: #F5F5F599;
    /* height: 18px; */
    border-radius: 8px;

}

.star-icon {
    font-size: 2.2em;
    color: #bbb;
    margin-right: 6px;

}



.small-card-feature {
    background: #F5F5F5;
    border-radius: 8px;
    /* margin: 0.5rem 0; */
    padding: 4px 6px;
    font-size: 14px;
    font-family: "Work Sans", sans-serif;
    box-shadow: 0 10px 32px rgba(50, 60, 70, 0.15);

}

/* sliding cards css  */


@keyframes fadeOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Arrow circle */
.tab-arrow {
    position: absolute;
    right: 10px;
    bottom: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #333;
    color: #fff;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    /* specify what property transitions */
}

/* Default arrow size */
.tab-arrow .arrow-ico {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.plus-icon {
    position: absolute;
    bottom: -10px;
    right: -15px;
    width: 55px;
    height: 55px;
    background-color: black;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
}

.plus-icon::before,
.plus-icon::after {
    content: "";
    position: absolute;
    background: white;
    transition: transform 0.2s;
}

.plus-icon::before {
    width: 18px;
    height: 2.2px;
}

.plus-icon::after {
    width: 2.2px;
    height: 18px;
}

.module-detail-card:hover .plus-icon {
    transform: rotate(-45deg);
    /* turns plus into × */
}

.custom-dropdown {
    position: relative;
    width: 100%;
    font-family: "Work Sans", sans-serif;
}

/* button */
.custom-dropdown .dropdown-toggle {
    width: 100%;
    padding: 8px 40px 10px 12px;
    /* balanced spacing */
    font-size: 18px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #1313130D;
    color: #333;
    text-align: left;
    position: relative;
    cursor: pointer;
}

/* arrow */
.custom-dropdown .dropdown-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 25px;
    color: #333;
    transition: transform 0.2s ease;
}

.custom-dropdown.open .dropdown-arrow {
    transform: translateY(-50%) rotate(180deg);
}

/* label (floating above when active) */
.custom-dropdown .dropdown-label {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #131313;
    font-size: 20px;
    font-weight: 500;
    transition: all 0.4s ease;
    pointer-events: none;
}

.custom-dropdown:not(.has-value):not(.open) .dropdown-placeholder {
    visibility: hidden;
}

/* float label when open or has-value */
.custom-dropdown.open .dropdown-label,
.custom-dropdown.has-value .dropdown-label {
    top: -5px;
    left: 5px;
    font-size: 14px;
    color: #4C4C4C;
    background: #eaeaea;
    padding: 0 4px;
    border-radius: 4px;
}

/* placeholder/selected text */
.custom-dropdown .dropdown-placeholder {
    color: #131313;

    font-size: 20px;
    font-weight: 500;
}

/* menu */
.custom-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.custom-dropdown .dropdown-menu li {
    padding: 8px 14px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 500;
    color: #131313 !important;
}

.custom-dropdown .dropdown-menu li:hover {
    background: #f5f5f5;
}

.custom-dropdown.open .dropdown-menu {
    display: block;
}


.floating-label {
    position: relative;
    margin-bottom: 35px;
}

.floating-label input,
.floating-label select {
    width: 100%;
    padding: 10px 12px 8px 12px;
    border: 0;
    border-radius: 16px;
    font-size: 18px;
    font-family: "Work Sans", sans-serif;
    background: #1313130D;
    height: 52px;
    font-weight: 500;
    line-height: 28px;

}

.floating-label label {
    position: absolute;
    top: 10px;
    left: 12px;
    color: #131313;
    transition: all 0.5s;
    pointer-events: none;
    background: none;
    padding: 0 4px;
    border-radius: 5px;
    font-size: 20px;
    font-weight: 500;
    font-family: "Work Sans", sans-serif;
}

input::placeholder {
    color: transparent;
    transition: color 0.2s;
}

input:focus::placeholder {
    color: #131313;
    font-size: 18px;
    font-weight: 500;
    font-family: "Work Sans", sans-serif;
    /* or your preferred color */
}

.floating-label input:focus+label,
.floating-label input:not(:placeholder-shown)+label,
.floating-label select:focus+label,
.floating-label select:not([value=""])+label {
    top: -10px;
    left: 5px;
    font-size: 14px;
    font-family: "Work Sans", sans-serif;

    color: #4C4C4C;
    background: #eaeaea;
}

.required {
    color: red;
}

.floating-label select {
    width: 100%;
    padding: 10px 12px 8px 12px;
    /* border: 1px solid #ccc; */
    border-radius: 14px;
    font-family: "Work Sans", sans-serif;
    font-size: 20px;
    background: #fff;
    appearance: none;
    /* hides default arrow */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: border-color 0.2s;
    cursor: pointer;
}

/* Custom arrow using a pseudo-element */

.floating-label select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Dropdown options styling (limited, mostly browser default) */
.floating-label select option {
    padding: 12px 8px;
    font-size: 20px;
    font-family: "Work Sans", sans-serif;
    font-weight: 500;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: border-color 0.2s;
}

/* On focus */
.floating-label select:focus {
    border-color: #888;
    outline: none;
}

.dropdown-toggle::after {
    display: none !important;
}

.contact-section {
    height: 36rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-wrapper {
    height: 314px;
    background-color: #1313130D;
    align-content: center;
    border-radius: 40px;

}

.contact-us-left img {
    height: 698px;
    width: 812px;
    border-radius: 40px;
}

.contact-us-left-text {
    border-radius: 40px;
}

.contact-us-left-text h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 44px;
    font-weight: 600;
    line-height: 58px;
}

.contact-us-left-text p {
    font-family: "Work Sans", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
}

.contact-us-right h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
}

.contact-btn {
    width: 277px !important;
    font-size: 18px;
    min-width: 187px;
    border-radius: 12px;
}

.news-insights-section {
    padding: 0rem 0rem;
}

.blogs-cards img {
    height: 320px;
    border-radius: 40px;
}

.blog-text {
    padding: 2px 10px;
    width: 85%;
}

.blog-text h5 {
    font-family: "Work Sans", sans-serif;
    font-size: 18px;
    line-height: 25px;
    font-weight: 600;
    text-align: left;
    margin-top: 10px;
}

.blog-text p {
    font-family: "Work Sans", sans-serif;
    font-size: 16px;
    line-height: 26px;
    font-weight: 500;
    text-align: left;
    color: #4C4C4C;
    margin: 0;
}

.blogs-cards {
    padding: 15px;
    border-radius: 24px;
    background: #d9d9d954;
    overflow: hidden;
    position: relative;
    height: 400px;
    box-shadow: none;
}

.card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.4s ease;
    transform: scale(1.05);
    /* slightly zoomed in initially */
    transform-origin: center;
    /* lock top + sides */
}

/* Visual section */
.card-visual {
    height: 300px;
    overflow: hidden;
}

.card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}

/* Paragraph hidden initially */
.card-desc {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.4s ease;
}

.blogs-cards:hover .card-desc {
    opacity: 1;
    max-height: 70px;
    /* text reveals inside same fixed card */
}

.blog-tab-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(45deg);
    /* default rotation */
    transition: transform 0.3s ease;
    /* smooth animation on hover */
}

.blogs-cards:hover .blog-tab-arrow {
    transform: rotate(0deg);
    /* rotation on hover */
}


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

    .global-cards {
        right: -2% !important;
    }

    .global-cards .card.expanded {
        max-height: 385px !important;
        width: 334px !important;
    }

    .card-body {
        /* width: 320px !important; */
    }

    .card.expanded img.card-img-top {
        height: 165px !important;
    }

    /* .card-img, .card-img-bottom, .card-img-top {
            width: 94% !important;
        } */

    .card.expanded .card-body {
        padding: 9px !important;
    }

    .card.expanded .card-title {
        margin-bottom: 2px !important;
        font-size: 15px !important;
    }

    .card-points .point {
        padding: 6px 10px !important;
        font-size: 13px !important;
    }

    .card-stack {
        max-height: 500px !important;
    }

    .card.collapsed {
        padding: 8px 8px !important;
    }

    .card-body .collapsed-title {
        font-size: 1rem !important;
    }

    .card.collapsed .collapsed-title {
        font-size: 1rem !important;
    }

    .card.collapsed .collapsed-view {
        width: 100% !important;
    }

    .card.collapsed .collapsed-view img {
        width: 132px !important;
        height: 72px !important;
        border-radius: 10px !important;
    }

    .global-cards .card.collapsed {
        max-height: 85px !important;
        width: 82% !important;
        padding: 6px !important;
        padding-bottom: 4px !important;
    }

    .mega-menu-sidebar {
        padding-left: 15px !important;
        max-width: 25% !important;
    }

    .mega-menu-heading {
        font-size: 24px !important;
    }

    .sidebar-menu li a {
        font-size: 15px !important;
        width: 236px !important;
    }

    .mega-menu-subheading {
        font-size: 18px !important;
    }

    .main-links p:first-child {
        font-size: 16px !important;
    }

    .main-links p:last-child {
        font-size: 12px !important;
    }

    /* .mega-menu-image {
        height: 100% !important;
        width: 100% !important
    } */

    .menu-image-title {
        font-size: 15px !important;
    }

    .menu-image-desc {
        font-size: 13px !important;
    }

    .menu-cards {
        height: 296px !important;
    }

    .menu-arrow {
        width: 30px !important;
        height: 30px !important;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1400px) {
    .bg-white {
        padding: 3rem 0rem;
    }

    .contact-section {
        height: 30rem;
    }

    .floating-label label {
        font-size: 16px;
    }
}


@media only screen and (min-width: 922px) and (max-width: 1367px) {}


@media only screen and (min-width: 350px) and (max-width: 600px) {
    .tab-arrow {
        width: 30px;
        height: 30px;
    }

    .main-support-card-wrap {
        width: 187px;
        height: 135px;
        padding: 7px 10px;
        font-size: 16px;
    }

    .card-feature {
        font-size: 10px;
    }

    .small-card-feature {
        font-size: 11px;
    }

    .small-info-card {
        right: 65px;
        bottom: -75px;
    }

    .contact-section {
        height: 26rem;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}


