/* ===================================
    Crafto - Accounting
====================================== */

/* @import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

/* font */

/* variable */
:root {
    --alt-font: 'Outfit', sans-serif;
    --primary-font: 'Outfit', sans-serif;
    --title-font: 'Oswald', sans-serif;
    --btn-font: 'Montserrat', sans-serif;
    --base-color: #da251c;
    --dark-gray: #1e3238;
    --very-light-gray: #eceff1;
    --yellow: #ecab23;
    --medium-gray: #7c898d;
    --solitude-blue: #f4f7f9;
    --header-height: 70px;
}

/* reset */
body {
    font-size: 18px;
    line-height: 30px;
}

/* font weight */
.fw-400 {
    font-family: var(--primary-font) !important;
    font-weight: 400 !important;
}

.fw-300 {
    font-family: var(--primary-font) !important;
    font-weight: 300 !important;
}

.fw-500 {
    font-family: var(--primary-font) !important;
    font-weight: 500 !important;
}

.fw-600 {
    font-family: var(--primary-font) !important;
    font-weight: 600 !important;
}

.fw-700 {
    font-family: var(--primary-font) !important;
    font-weight: 700 !important;
}

/* custom cursor */
.custom-cursor .circle-cursor-inner {
    background-color: var(--base-color);
}

.custom-cursor .circle-cursor-inner.cursor-link-hover {
    background-color: var(--base-color);
}

.custom-cursor .circle-cursor-outer {
    border: 1px solid var(--base-color);
}

/* heading */
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 25px;
}

h1 {
    line-height: 4.375rem;
}

h2 {
    line-height: 3.438rem;
    font-family: var(--title-font) !important;
}

h3 {
    line-height: 3rem;
}

h4 {
    line-height: 2.6rem;
}

h5 {
    line-height: 2rem;
}

h6 {
    line-height: 1.75rem;
}

/* header */
/* .navbar .navbar-nav .nav-link {
    font-size: 21px;
    font-weight: 800;
    font-family: 'Open Sans' !important;
} */
/* .navbar .navbar-nav .dropdown .dropdown-menu a {
    font-size: 16px;
    line-height: 28px;
    font-family: 'Open Sans' !important; 
} */
header .btn.btn-small {
    font-size: 18px;
    font-weight: 800 !important;
}

header .btn.btn-small i {
    top: -2px;
}

header .navbar-brand img {
    max-height: 70px;
}
header .alt-logo  {
    max-height: 50px;
}

.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu {
    width: 300px;
}

.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
    border-bottom: 1px solid var(--very-light-gray);
    padding: 20px 30px;
    font-size: 17px;
    color: var(--dark-gray) !important;
    font-family: 'Open Sans' !important;
}

.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a:hover {
    background-color: var(--very-light-gray);
}

.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a img {
    width: 40px;
    margin-right: 10px;
}

/* btn */
.btn-link i {
    top: 0px;
}

.btn.btn-hover-animation-switch .btn-icon {
    margin-left: 6px;
}

.btn {
    font-family: var(--btn-font) !important;
    font-weight: normal !important;
    text-transform: none;
    letter-spacing: normal;
}

.btn-yellow {
    background-color: var(--yellow) !important;
    color: var(--dark-gray) !important;
}

.btn.btn-box-shadow.btn-yellow:hover {
    background-color: var(--yellow) !important;
    color: var(--dark-gray) !important;
}

.btn.btn-box-shadow.btn-yellow:active {
    border-color: var(--yellow) !important;
}

.btn.btn-extra-large {
    font-size: 17px;
}

.btn.btn-large {
    font-size: 16px;
    font-weight: 600 !important;
    font-family: var(--btn-font) !important;
    text-transform: uppercase !important;
}

.btn.btn-medium {
    font-size: 15px;
}

.btn.with-rounded.btn-large>span {
    line-height: 34px;
}

.btn.with-rounded.btn-medium>span {
    line-height: 30px;
}

/* text color */
.text-emerald-green {
    color: #62cd54;
}

/* bg color */
.bg-orient-blue {
    background-color: #1F6668;
}

/* bg gradient color */
.bg-gradient-green-yellow-color {
    background: rgb(236, 171, 35);
    background: linear-gradient(306deg, rgba(236, 171, 35, 1) 0%, rgba(0, 83, 61, 1) 85%);
}

.bg-gradient-gray-light-dark-transparent {
    background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(32, 35, 41, 1)), to(transparent));
    background-image: linear-gradient(to top, rgba(32, 35, 41, 1) 10%, transparent 50%);
}

/* homepage */
.contact-form-style-01 .btn.btn-large {
    padding: 13px 40px;
}

.terms-condition .box:before {
    top: 7px;
}

.terms-condition .box:after {
    top: 11px;
}

.contact-form-style-01 {
    margin-top: -100px;
}

/* page title */
.page-title-extra-small h1 {
    font-size: 18px;
    line-height: 22px;
}

.page-title-extra-small h2 {
    font-size: 4rem;
    line-height: 3.8rem;
}

/* team style */
.team-style-01 figure figcaption .social-icon a {
    margin: 0 5px;
}

/* text shadow */
.text-shadow-medium {
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

/* border color */
.border-color-yellow {
    border-color: var(--yellow) !important;
}

.pagination-style-01 .page-item.active .page-link,
.pagination-style-01 .page-item .page-link:hover {
    background: var(--dark-gray);
    color: var(--white);
}

.pagination-style-01 .page-item:first-child .page-link,
.pagination-style-01 .page-item:last-child .page-link {
    background: transparent;
    box-shadow: none !important;
}

.pagination-style-01 .page-item:first-child .page-link,
.pagination-style-01 .page-item:last-child .page-link {
    background: transparent;
    box-shadow: none !important;
}

.pagination-style-01 .page-item:first-child .page-link:hover,
.pagination-style-01 .page-item:last-child .page-link:hover {
    color: var(--dark-gray);
}

/* progress bar style 03 */
.progress-bar-style-03 .progress .progress-bar-title,
.progress-bar-style-03 .progress .progress-bar-percent {
    bottom: 10px;
}

.progress-bar-style-03 .progress {
    height: 6px;
}

/* tooltip */
.tooltip-inner {
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
    color: var(--medium-gray);
    padding: 22px 35px;
    max-width: 260px;
    font-size: 16px;
    line-height: 26px;
    text-transform: none;
    font-weight: 400;
}

.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before,
.bs-tooltip-bottom .tooltip-arrow:before {
    border-bottom-color: var(--white) !important;
    border-width: 0 1.7em 1.7em !important;
}

.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before,
.bs-tooltip-top .tooltip-arrow:before {
    border-top-color: var(--white) !important;
    border-width: 1.7em 1.7em 0 !important;
}

.bs-tooltip-auto[data-popper-placement^=bottom] {
    margin-top: 15px !important;
}

.bs-tooltip-auto[data-popper-placement^=top] {
    margin-bottom: 15px !important;
}

.tooltip {
    opacity: 1 !important;
}

.tooltip .tooltip-arrow {
    width: 3.5em;
    height: 1.2em;
}

.bs-tooltip-start.tooltip .tooltip-arrow {
    width: 1.2em;
    height: 3.2em;
    margin-top: -18px;
}

.bs-tooltip-auto[data-popper-placement^=left] {
    margin-right: 15px;
}

.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before,
.bs-tooltip-start .tooltip-arrow:before {
    border-width: 1em 0 1em 1em !important;
    border-left-color: var(--white) !important;
}

.bs-tooltip-end.tooltip .tooltip-arrow {
    width: 1.2em;
    height: 3.2em;
    margin-top: -18px;
}

.bs-tooltip-auto[data-popper-placement^=right] {
    margin-left: 15px !important;
}

.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before,
.bs-tooltip-end .tooltip-arrow:before {
    border-width: 1.7rem 1.7rem 1.7rem 0 !important;
    border-right-color: var(--white) !important;
}

.tooltip-title {
    font-weight: 600;
    display: block;
    font-size: 18px;
    margin-bottom: 7px;
    color: var(--dark-gray);
    letter-spacing: -0.5px;
}

/* top right bottom left */
.left-35px {
    left: 35px;
}

.bottom-35px {
    bottom: 35px;
}

/* footer */
footer .footer-logo img {
    max-height: 36px;
}

.footer-dark p,
.footer-dark .widget-text {
    color: var(--white);
    opacity: 0.4;
}

.footer-dark .elements-social .light li a {
    opacity: 1;
}

.footer-dark p a,
.footer-dark p a:hover {
    color: var(--white);
}

.footer-dark ul li a,
.footer-dark .widget-link {
    color: var(--white);
    opacity: 0.4;
}

.footer-dark ul li a:hover,
.footer-dark .widget-link:hover,
.footer-dark a:hover {
    opacity: 1;
    color: var(--white);
}

footer ul li {
    margin-bottom: 0;
}

.footer-dark .newsletter-style-02 input::placeholder {
    color: var(--white);
}

.footer-dark .newsletter-style-02 input::-webkit-input-placeholder {
    color: var(--white) !important;
    text-overflow: ellipsis;
    opacity: 0.4;
}

.footer-dark .newsletter-style-02 input::-moz-placeholder {
    color: var(--white) !important;
    text-overflow: ellipsis;
    opacity: 0.4;
}

.footer-dark .newsletter-style-02 input:-ms-input-placeholder {
    color: var(--white) !important;
    text-overflow: ellipsis;
    opacity: 0.4;
}

.is-touchable .cursor-page-inner {
    display: none !important;
}

/* media query responsive */
@media (max-width: 1300px) {
    .sticky-wrap.shadow-in {
        left: 18px;
    }
}

@media (max-width: 1250px) {
    .sticky-wrap.shadow-in {
        left: 2px;
    }
}

@media (max-width: 1199px) {
    header .btn.btn-rounded.btn-small {
        padding: 9px 18px;
    }
}

@media (max-width: 991px) {
    .contact-form-style-01 {
        margin-top: 0;
    }

    .tab-style-08 ul .nav-item .nav-link {
        padding: 18px 20px;
    }

    .elements-social .large-icon li {
        margin: 0 5px;
    }

    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
        padding-left: 0px;
        padding-right: 0px;
    }

    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a:hover {
        background-color: transparent;
    }
}

@media (max-width: 767px) {
    .process-step-style-03 .progress-step-separator {
        display: block;
    }
}

@media (max-width: 575px) {
    .process-step-style-03 .progress-step-separator {
        display: none;
    }
}


.text-justify {
    text-align: justify;
}


.bg-dark-black {
    background-color: #232323 !important;
}
.bg-new-gray {
    background-color: #363636 !important;
}

/* Smooth Scrolling with Full-Screen Snap */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

.fullpage-wrapper {
    position: relative;
}

.fullpage-sections {
    scroll-snap-type: y mandatory;
}

.fullpage-section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* Optional: apply only to sections that need content area = viewport minus header (e.g. hero) */
.fullpage-section.section-viewport-with-header {
    padding-top: var(--header-height) !important;
    box-sizing: border-box;
}

.fullpage-section.section-viewport-with-header > .container-fluid {
    min-height: calc(100vh - var(--header-height));
}

.fullpage-section.section-viewport-with-header > .swiper {
    height: calc(100vh - var(--header-height)) !important;
    min-height: calc(100vh - var(--header-height));
}

.fullpage-section.section-viewport-with-header .swiper-slide {
    height: calc(100vh - var(--header-height)) !important;
    min-height: calc(100vh - var(--header-height));
}

/* Section Navigation Dots */
.section-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-nav .nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.section-nav .nav-dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.section-nav .nav-dot.active {
    background-color: #ed1b24;
    border-color: #fff;
    transform: scale(1.2);
}

/* Hero Section */
.fullpage-section .swiper {
    height: 100vh !important;
    min-height: 100vh;
}

.testimonials-style-14{
    min-height: auto !important;
}
.fullpage-section .swiper.eminent-swiper {
    height: unset !important;
    min-height: auto !important;
    position: auto !important;
}

.fullpage-section .swiper-wrapper {
    height: 100% !important;
}

.fullpage-section .swiper-slide {
    height: 100vh !important;
    min-height: 100vh;
    position: relative;
}

.fullpage-section .swiper-slide.event-section {
    height: auto !important;
    min-height: auto !important;
    position: auto !important;
}

/* Ensure background images display properly */
/* .fullpage-section .swiper-slide .cover-background {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.fullpage-section .swiper-slide-new .cover-background {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: unset !important;
    height: unset !important;
    z-index: 0 !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
} */

/* Slider Left Overlay */
.slider-left-overlay {
    width: 33%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
    padding: 40px;
    padding-bottom: 60px;
}

.slider-left-overlay .main-title {
    font-size: 40px;
    line-height: 1.2;
}

.slider-left-overlay .info-card {
    max-width: 280px;
}

.slider-left-overlay .info-card .highlight-text {
    color: #d4a500;
    font-size: 15px;
}

.slider-left-overlay .info-card img {
    height: 30px;
}

/* Testimonial Section - Override fullpage-section height */
.fullpage-section.big-section {
    min-height: auto !important;
    height: auto !important;
    padding: 80px 0;
}

.fullpage-section.big-section .testimonials-style-14 {
    height: auto !important;
}

.fullpage-section.big-section .testimonials-style-14 .swiper-wrapper {
    height: auto !important;
}

.fullpage-section.big-section .testimonials-style-14 .swiper-slide {
    height: auto !important;
    min-height: auto !important;
}

.eminent-swiper .swiper-slide{
    height: auto !important;
    min-height: auto !important;
}

/* Gallery Section - Center content and reduce top padding */
.gallery-section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.gallery-section .container-fluid {
    padding-top: 0;
    padding-bottom: 0;
}

.gallery-section .col {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Light Red to White Text Gradient */
.text-gradient-light-red-white {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to bottom,
            rgba(255, 159, 168, 1),
            /* 100% opacity - top */
            rgba(255, 159, 168, 0.5),
            /* 80% opacity */
            rgba(255, 159, 168, 0.2),
            /* 60% opacity */
            rgba(255, 159, 168, 0.1),
            /* 40% opacity */
            rgba(255, 159, 168, 0)
            /* 20% opacity - bottom */
        );
}

/* Center Institutes Section Vertically */
.fullpage-section.py-0 .container-fluid {
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.fullpage-section.py-0 .container-fluid .row {
    width: 100%;
}

/* Vertical Slider Dots */
.slider-vertical-dots {
    position: absolute !important;
    left: 32% !important;
    top: 50% !important;
    bottom: auto !important;
    right: auto !important;
    width: auto !important;
    transform: translate(-50%, -50%) !important;
    z-index: 10 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px;
}

.slider-vertical-dots span,
.slider-vertical-dots .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background-color: #ffffff80 !important;
    opacity: 1 !important;
    border-radius: 50% !important;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 !important;
    display: block !important;
}

.slider-vertical-dots span.swiper-pagination-bullet-active,
.slider-vertical-dots .swiper-pagination-bullet-active {
    background-color: #ed1b24 !important;
}

/* Study Section */
.study-section {
    background-color: #006272;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 120px;
    overflow: hidden;
}

.study-section>.container {
    width: 100%;
}

.study-section .course-finder-box {
    margin-top: 40px;
}

.study-section .section-title {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.study-section .section-desc {
    color: #fff;
    font-size: 15px;
    line-height: 1.7;
    border-right: 2px solid rgba(255, 255, 255, 0.3);
    padding-right: 30px;
}

.study-section .stat-item {
    text-align: center;
    padding: 0 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.3);
}

.study-section .stat-item:last-child {
    border-right: none;
}

.study-section .stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
}

.study-section .stat-label {
    font-size: 14px;
    color: #fff;
    margin-top: 5px;
}

/* Course Finder Box */
.course-finder-box {
    background-color: #1a1a1a;
    margin-top: -40px;
    position: relative;
    z-index: 5;
}

.course-tabs {
    display: flex;
}

.course-tabs .tab-btn {
    flex: 1;
    padding: 20px 30px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    color: #fff;
}

.course-tabs .tab-btn.active {
    background-color: #fff;
    color: #1a1a1a;
}

.course-finder-content {
    padding: 40px;
}

.course-search-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.course-search-wrapper label {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.course-search-wrapper .search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    border: 1px solid #444;
    background: transparent;
}

.course-search-wrapper input {
    flex: 1;
    padding: 12px 15px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 14px;
}

.course-search-wrapper input::placeholder {
    color: #888;
}

.course-search-wrapper input:focus {
    outline: none;
}

.course-search-wrapper .search-btn {
    padding: 12px 15px;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
}

.search-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.search-links a {
    color: #aaa;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-links a:hover {
    color: #fff;
}

.search-links .divider {
    color: #666;
}

/* Responsive */
@media (max-width: 991px) {
    .slider-left-overlay {
        width: 40%;
        padding: 25px;
        padding-bottom: 40px;
    }

    .slider-left-overlay .main-title {
        font-size: 32px;
    }

    .slider-vertical-dots {
        left: 40% !important;
    }

    .study-section .section-desc {
        border-right: none;
        padding-right: 0;
        margin-bottom: 30px;
    }

    .study-section .stat-item {
        margin-bottom: 20px;
    }

    .course-search-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .course-search-wrapper label {
        text-align: center;
    }

}

@media (max-width: 767px) {
    .slider-left-overlay {
        width: 50%;
        padding: 20px;
        padding-bottom: 30px;
    }

    .slider-left-overlay .main-title {
        font-size: 26px;
    }

    .slider-left-overlay .info-card {
        max-width: 100%;
    }

    .slider-vertical-dots {
        left: 50% !important;
    }

    .study-section .section-title {
        font-size: 32px;
    }

    .study-section .stat-number {
        font-size: 36px;
    }

    .study-section .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 20px;
    }

    .course-tabs .tab-btn {
        font-size: 14px;
        padding: 15px 20px;
    }

    .course-finder-content {
        padding: 25px;
    }

    .search-links {
        flex-wrap: wrap;
    }

    .section-nav {
        right: 15px;
    }

    .section-nav .nav-dot {
        width: 10px;
        height: 10px;
    }
}

/* Testimonial Read More */
.testimonial-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.testimonial-text.expanded {
    display: block;
    -webkit-line-clamp: unset;
}

.read-more-btn {
    color: #ed1b24;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
    display: inline-block;
    transition: color 0.3s ease;
}

.read-more-btn:hover {
    color: #c41822;
    text-decoration: underline;
}

.testimonial .swiper-slide {
    height: auto !important;
}

@media (max-width: 767px) {
    .md-none {
        display: none;
    }
}

.desktop-hide {
    display: none !important;
}

.center-text {
    text-align: end !important;
}

@media (min-width: 576px) {
    .navbar.navbar-top-gradient {
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0) 100%);
        background-color: transparent !important;
    }

    /* When JS adds .header-scrolled, keep a solid background */
    .navbar.navbar-top-gradient.header-scrolled {
        background-image: none !important;
        background-color: #1a1a1a !important;
    }
}

@media (max-width: 576px) {
    .navbar.navbar-top-gradient {
        background-image: #232323 !important;
        background-color: #232323 !important;
    }

    /* When JS adds .header-scrolled, keep a solid background */
    .navbar.navbar-top-gradient.header-scrolled {
        background-image: none !important;
        background-color: black !important;
    }

    .nav-item {
        display: flex !important;
    }

    /* .navbar-collapse {
            background: rgba(0, 0, 0, 0.5);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
            color: white !important;
        }
        .navbar-collapse a {
            color: white !important;
        } */
    header .navbar-brand {
        padding: 10px 0 !important;
    }

    .mobile-hide {
        display: none !important;
    }

    .desktop-hide {
        display: block !important;
    }

    .feature-box-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .feature-box.text-start {
        align-items: center !important;
    }

    .vertical-counter {
        margin-top: 5% !important;
    }

    .study-at-gardi-bottom-text {
        font-size: 40px !important;
        margin-top: 5% !important;
    }

    .gardi-text-section {
        padding-bottom: 0px !important;
    }

    .slider-text {
        font-size: 25px !important;
        margin-bottom: 0px !important;
    }

    .text-back {
        padding: 0 !important;
    }

    .center-text {
        text-align: center !important;
    }

    .text-justify {
        text-align: center !important;
    }

    .center-btn {
        display: flex;
        justify-content: center;
    }

    .mobile-slider {
        height: 260px;
    }

    .mobile-section {
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }

    .counter-section {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .social-icon-list {
        display: flex;
        flex-direction: row !important;
    }

    .fullpage-section .swiper.event-swiper {
        height: auto !important;
        /* min-height: 100vh; */
    }

    .fullpage-section .swiper-wrapper.event-swiper-wrapper {
        height: unset !important;
        /* min-height: 100vh; */
    }

    .event-icon {
        padding-top: 5px !important;
        flex-direction: column !important;
    }

    .fullpage-section .swiper-slide {
        height: auto !important;
        min-height: auto !important;
    }

    .fullpage-section .swiper {
        height: auto !important;
        min-height: auto !important;
    }
}

.slider-one-slide .swiper-slide {
    height: max-content !important;
    min-height: 50vh !important;
}




.extra-hero-section {
    position: relative;
    min-height: 100vh;
    overflow: visible;
}

.extra-hero-section .extra-bg-swiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.extra-hero-section .extra-bg-swiper .swiper-slide {
    height: 100%;
}

.extra-hero-section .extra-bg-swiper .cover-background {
    width: 100%;
    height: 100%;
    background-position: right center;
}

/* Laptop: prevent right sidebar and bg from cropping */
@media (max-height: 900px), (max-width: 1400px) {
    .extra-hero-section .extra-bg-swiper .cover-background {
        background-position: right center;
    }

    .extra-right-sidebar {
        padding: 32px 28px 32px 32px;
        max-height: 100%;
        overflow-y: auto;
        justify-content: flex-start;
        min-width: 300px;
        width: 320px;
        max-width: 32%;
    }

    .extra-right-sidebar .sidebar-block {
        margin-bottom: 28px;
        padding-bottom: 28px;
    }

    .extra-right-sidebar .sidebar-block .sidebar-icon {
        margin-bottom: 12px;
        min-width: 80px;
        min-height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .extra-right-sidebar .sidebar-block .sidebar-icon img {
        max-height: 80px;
        width: auto;
        min-width: 64px;
        object-fit: contain;
    }

    .extra-right-sidebar .sidebar-block .sidebar-text,
    .extra-right-sidebar .sidebar-block .sidebar-text .sidebar-title {
        font-size: 1rem;
    }
}

.extra-hero-section .extra-content-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    pointer-events: none;
}

.extra-hero-section .extra-content-wrap .extra-content-inner,
.extra-hero-section .extra-content-wrap .extra-right-sidebar {
    pointer-events: auto;
}

.extra-right-sidebar {
    width: 320px;
    max-width: 28%;
    background-color: rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 35px 50px 40px;
    position: relative;
}

.extra-right-sidebar .sidebar-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
    color: #fff;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.extra-right-sidebar .sidebar-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.extra-right-sidebar .sidebar-block .sidebar-icon {
    /* width: 80px;
        height: 80px; */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.extra-right-sidebar .sidebar-block .sidebar-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.extra-right-sidebar .sidebar-block .sidebar-text {
    width: 100%;
}

.extra-right-sidebar .sidebar-block .sidebar-text .sidebar-title {
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    color: #fff;
}

.extra-right-sidebar .sidebar-block .sidebar-text .sidebar-subtitle {
    font-size: 0.9rem;
    opacity: 0.95;
    line-height: 1.4;
    color: #fff;
}

@media (max-width: 991px) {
    .extra-right-sidebar {
        width: 100%;
        max-width: 100%;
        padding: 30px 30px 30px 20px;
    }
}

.fullpage-section .swiper-slide.counter-section {
    min-height: unset !important;
    height: auto !important;
}

.hero-counter-swiper {
    position: relative;
}

/* Research Spotlight – right side swiper: larger only on desktop, keep original on responsive */
.research-section {
    width: 100%;
    max-width: 100%;
}

@media (min-width: 992px) {
    .research-section img {
        width: 100% !important;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }
}

/* Research Spotlight – top align all columns (heading, stats, images on same baseline) */
section.fullpage-section.research-spotlight-section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 100vh !important;
    box-sizing: border-box !important;
}



/* Research Spotlight – laptop: fit all content (heading, stats, images, captions) in view */
@media (max-height: 900px) and (min-width: 992px),
       (max-width: 1400px) and (min-width: 992px) {
    .research-spotlight-section .extra-content-inner {
        padding-top: 20px;
        padding-bottom: 20px;
        align-items: center;
    }

    .research-spotlight-section .research-section img {
        max-height: 22vh;
        width: auto !important;
        max-width: 100%;
        object-fit: contain;
    }

    .research-spotlight-section .research-section .swiper-slide > div {
        margin-bottom: 12px;
    }

    .research-spotlight-section .research-section .last-paragraph-no-margin p {
        margin-bottom: 16px !important;
    }
}

/* navigation wrapper */
.hero-swiper-nav {
    position: relative;
    bottom: 28%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 99;
}

/* buttons */
.hero-swiper-nav .swiper-button-prev,
.hero-swiper-nav .swiper-button-next {
    position: static !important;
    width: 44px;
    height: 44px;
    background: #ffffff;
    /* border-radius: 50%; */
    color: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* remove default swiper arrows */
.hero-swiper-nav .swiper-button-prev::after,
.hero-swiper-nav .swiper-button-next::after {
    display: none;
}


.links-card {
    margin-top: 2.5vw;
}

.links-card.row {
    margin-left: 0;
    margin-right: 0;
}

.links-card a {
    display: block;
    position: relative;
    padding: 1.5rem;
    min-height: 280px;
}

.links-card a img {
    width: 100%;
    max-width: 25vw;
    height: auto;
    display: block;
    margin: 0 auto;
}

.links-card a::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #252525;
    z-index: -1;
    border-radius: 4px;
}

.links-card .pad-pb0 {
    padding-bottom: 0 !important;
}

.links-card a:hover::before {
    background: #e52726;
}

@media all and (max-width: 540px) {
    .forMobileLinksCard {
        display: flex !important;
        padding-left: 3% !important;
    }

    .forMobileLinksCard a {
        margin-right: 8.865vw;
        width: 35vw;
        margin-top: 7vw;
    }

    .forMobileLinksCard a::before {
        width: 100%;
        height: 33.823vw;
        background: #252525;
        z-index: -1;
    }
}

.card2-value-1 {
    background-image: url('../../img/leadership-sprite.png');
    background-repeat: no-repeat;
    animation: Leadership steps(25);
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-direction: normal;
    width: 18.2291666667vw;
    height: 26.5625vw;
    background-position: 0 top;
    top: 1vw;
    left: -2vw;
}

.card2-value-2 {
    background-image: url('../../img/collab-sprite.png');
    background-repeat: no-repeat;
    animation: Collaborative steps(48);
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-direction: normal;
    width: 20.9895833333vw;
    height: 27.6041666667vw;
    background-position: 0 top;
    left: -7.2vw;
    top: 1vw;
}

.card2-value-3 {
    background-image: url('../../img/excellent.png');
    background-repeat: no-repeat;
    animation: Excellent steps(31);
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-direction: normal;
    width: 20.9895833333vw;
    height: 27.6041666667vw;
    background-position: 0 top;
    left: -3.2vw;
}

.card2-value-4 {
    background-image: url('../../img/marquie-sprite.png');
    background-repeat: no-repeat;
    animation: Marquie steps(51);
    animation-duration: 2.5s;
    animation-iteration-count: infinite;
    animation-direction: normal;
    width: 18.2291666667vw;
    height: 26.5625vw;
    background-position: 0 top;
    top: 0.25vw;
    left: -3vw
}

@keyframes Marquie {
    to {
        background-position: 0 -1354.6875vw
    }
}

@keyframes Collaborative {
    to {
        background-position: 0 -1325vw;
    }
}

@keyframes Excellent {
    to {
        background-position: 0 -855.729166667vw
    }
}

@keyframes Applications {
    to {
        background-position: 0 -2576.5625vw
    }
}

@keyframes Leadership {
    to {
        background-position: 0 -664.0625vw
    }
}

@media all and (max-width: 540px) {
    .card2-value-1 {
        background-image: url('../../img/leadership-sprite-mobile.png');
        background-repeat: no-repeat;
        animation: Leadership steps(25);
        animation-duration: 1.5s;
        animation-iteration-count: infinite;
        animation-direction: normal;
        width: 21.7399vw;
        height: 31.68116vw;
        background-position: 0 top;
        top: 5vw;
        left: 6vw
    }

    .card2-value-2 {
        background-image: url('../../img/collab-sprite-mobile.png');
        background-repeat: no-repeat;
        animation: Leadership steps(25);
        animation-duration: 1.5s;
        animation-iteration-count: infinite;
        animation-direction: normal;
        width: 21.7399vw;
        height: 31.68116vw;
        background-position: 0 top;
        top: 5vw;
        left: 6vw
    }
}

.sprite2 {
    position: absolute
}

@media all and (max-width: 1680px) {
    .sprite2 {
        background-size: 100% !important
    }
}

/* ===================================
   Header: transparent by default, black on hover / mega open (Amity-style)
====================================== */
.header-transparent-hover-black .header-nav-transparent {
    background-color: transparent !important;
    transition: background-color 0.25s ease;
}
.header-transparent-hover-black:hover .header-nav-transparent,
.header-transparent-hover-black:has(.mega-menu-item.dropdown.open) .header-nav-transparent {
    background-color: #363636 !important;
}
/* When sticky/scrolled, keep header visible with black bg */
.header-transparent-hover-black.sticky-active .header-nav-transparent {
    background-color: #363636 !important;
}

/* ===================================
   Mega menu (Amity-style reference)
====================================== */
header .navbar-nav .nav-item.dropdown.open .nav-link,
header .navbar-nav .mega-menu-item:hover .nav-link {
    color: var(--base-color);
    opacity: 1;
}
/* Mega dropdown panel - bg-dark-black, right-aligned (not full screen) */
header .dropdown-menu.mega-menu-dropdown {
    left: auto;
    right: 0;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 1000px;
    min-width: 320px;
    transform: none;
    border-right: 3px solid var(--yellow);
}
header .dropdown.submenu .dropdown-menu.mega-menu-dropdown {
    position: absolute;
}
.mega-menu-inner {
    position: relative;
    padding: 35px 40px 40px;
    min-height: 320px;
}
.mega-menu-grid-wrap {
    padding-right: 30px;
}
.mega-menu-grid {
    margin: 0 -8px;
}
.mega-menu-grid > [class*="col-"] {
    padding: 0 8px;
}

/* Image cards - label: dark yellow/brown bar, white text (reference style) */
.mega-menu-card {
    display: block;
    text-decoration: none;
    color: #fff;
    overflow: hidden;
    border-radius: 0;
    height: 100%;
    min-height: 100px;
}
.mega-menu-card-img {
    display: block;
    padding-bottom: 65%;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    transition: transform 0.35s ease;
}
.mega-menu-card:hover .mega-menu-card-img {
    transform: scale(1.05);
}
.mega-menu-card-title {
    display: block;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    background: #7a5c1a;
    color: #fff;
    transition: background 0.2s ease;
}
.mega-menu-card:hover .mega-menu-card-title {
    background: #8b6914;
}

/* Right column links */
.mega-menu-links-wrap {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 28px;
}
.mega-menu-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mega-menu-links li:last-child {
    border-bottom: 0;
}
.mega-menu-links a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.mega-menu-links a:hover {
    color: var(--yellow);
    padding-left: 8px;
}

/* Subscribe strip */
.mega-menu-subscribe {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--yellow);
}
.mega-subscribe-btn {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #000;
    text-decoration: none;
    padding: 20px 0;
}
.mega-subscribe-btn:hover {
    color: #000;
    opacity: 0.9;
}

@media (min-width: 992px) {
    header .navbar-nav .dropdown.submenu.mega-menu-item {
        position: static;
    }
    header .dropdown.submenu .dropdown-menu.mega-menu-dropdown {
        left: auto;
        right: 0;
        transform: none;
        width: 90%;
        max-width: 1000px;
    }
}
@media (max-width: 991.98px) {
    header .dropdown-menu.mega-menu-dropdown {
        width: calc(100% - 30px);
        max-width: none;
        left: 15px;
        right: 15px;
        transform: translateX(0);
    }
    .mega-menu-inner {
        flex-direction: column;
        padding: 20px;
    }
    .mega-menu-grid-wrap {
        padding-right: 0;
        margin-bottom: 20px;
    }
    .mega-menu-links-wrap {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 0;
        padding-top: 20px;
    }
    .mega-menu-subscribe {
        position: relative;
        width: 100%;
        height: auto;
        padding: 12px;
    }
    .mega-subscribe-btn {
        writing-mode: horizontal-tb;
        transform: none;
    }
}


.sketch-height{
    height: -webkit-fill-available !important;
}
