﻿.theme-anton h1,
.theme-anton .h1,
.theme-anton h2,
.theme-anton .h2,
.theme-anton h3,
.theme-anton .h3,
.theme-anton h4,
.theme-anton .h4,
.theme-anton h5,
.theme-anton .h5,
.theme-anton h6,
.theme-anton .h6 {
    margin: 0;
    font-family: "Satoshi", sans-serif;
    color: var(--black);
    line-height: 1.2;
    /* font-weight: 700; */
}

.theme-anton .section-heading {
    font-weight: normal !important;
}

.tw-rounded-3xl,
.tw-rounded-40-px,
.tw-rounded-50-px,
.tw-rounded-xl,
.tw-rounded-28-px {
    border-radius: 6px !important;
}

.tw-rounded-6px {
    border-radius: 6px !important;
}

/* Header navigation items */
.nav-menu__link,
.nav-submenu__link {
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* Buttons */
.btn {
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* Base font size */
body,
p {
    font-size: 18px !important;
}

/* Remove extra whitespace in footer */
.footer .py-120 {
    padding-top: 60px !important;
    padding-bottom: 20px !important;
}

/* ========================= Enquiry Modals ========================= */
.enquiry-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.enquiry-overlay.active {
    opacity: 1;
    visibility: visible;
}

.enquiry-modal {
    background: #fff;
    border-radius: 6px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.25s ease;
}

.enquiry-overlay.active .enquiry-modal {
    transform: translateY(0);
}

.enquiry-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f3f4f6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #374151;
    transition: background 0.2s;
}

.enquiry-modal__close:hover {
    background: #e5e7eb;
}

.enquiry-modal h4 {
    margin-bottom: 6px;
}

.enquiry-modal .modal-subtitle {
    color: #6b7280;
    margin-bottom: 28px;
    font-size: 15px;
}

.enquiry-field {
    position: relative;
    margin-bottom: 20px;
}

.enquiry-field input,
.enquiry-field select,
.enquiry-field textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #d1d5db;
    background: transparent;
    padding: 8px 8px 10px 36px;
    font-size: 15px;
    color: #111827;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.enquiry-field select {
    appearance: auto;
    cursor: pointer;
    color: #111827;
    height: 40px;
}

.enquiry-field textarea {
    height: 90px;
    resize: none;
}

.enquiry-field input:focus,
.enquiry-field select:focus,
.enquiry-field textarea:focus {
    border-bottom-color: var(--main-600);
}

.enquiry-field .field-icon {
    position: absolute;
    top: 8px;
    left: 0;
    color: #9ca3af;
    font-size: 18px;
    pointer-events: none;
}

.enquiry-field input::placeholder,
.enquiry-field textarea::placeholder {
    color: #9ca3af;
}

.enquiry-success {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.enquiry-success i {
    font-size: 48px;
    color: var(--main-600);
    margin-bottom: 12px;
    display: block;
}

/* ========================= Enquiry Modals End ===================== */

/* ========================= Floating Contact Buttons ======================= */
.floating-btns {
    position: fixed;
    inset-inline-end: 36px;
    inset-block-end: 92px;
    /* 36px (scroll-btn bottom) + 46px (scroll-btn height) + 10px gap */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    opacity: 1 !important;
    visibility: visible !important;
}

.floating-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 0 34px #c5c5c5;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    color: #fff;
}

.floating-btn--call {
    background-color: var(--main-600);
}

.floating-btn--whatsapp {
    background-color: #25D366;
}

@media screen and (max-width: 991px) {
    .floating-btns {
        inset-inline-end: 24px;
        inset-block-end: 72px;
        gap: 8px;
    }

    .floating-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* ========================= Floating Contact Buttons End =================== */

/* Ensure scroll is never blocked */
html,
body {
    overflow-x: hidden;
    overflow-y: auto !important;
}

/* Fix inner page header on mobile - ensure it's visible */
@media screen and (max-width: 991px) {
    .header-inner-page {
        margin-top: 0 !important;
    }
}

/* Fix logo clipping in sticky header */
.header.fixed-header,
.home-two-header.fixed-header {
    overflow: visible !important;
}

.header .logo img,
.home-two-header .logo img {
    max-height: 60px !important;
    width: auto !important;
    object-fit: contain;
}

.header .logo {
    overflow: visible !important;
}

.header .logo a {
    display: flex;
    align-items: center;
}

p {
    line-height: 1.3rem !important;
}

/* Accordion chevron indicator */
.common-accordion .accordion-button {
    position: relative;
    padding-right: 36px !important;
}

.common-accordion .accordion-button::after {
    display: none !important;
    /* hide Bootstrap default */
}

.accordion-chevron {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion-button:not(.collapsed) .accordion-chevron {
    transform: rotate(180deg);
}

/* Fix stats counter overflow on mobile */
@media screen and (max-width: 767px) {

    .tw-min-h-184-px .h1,
    .tw-min-h-184-px h1 {
        font-size: 2rem !important;
        white-space: nowrap;
    }

    .tw-min-h-184-px {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 24px 16px !important;
        min-height: auto !important;
        gap: 8px !important;
    }

    .tw-min-h-184-px p {
        font-size: 14px !important;
        max-width: 100% !important;
    }
}

/* ========================= Megamenu ========================= */
.megamenu {
    min-width: 680px !important;
    padding: 24px !important;
    border-radius: 6px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
}

.megamenu-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.megamenu-item:hover {
    background: #f3f4f6;
}

.megamenu-item__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.megamenu-item__text h6 {
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 700;
    color: var(--heading-color);
}

.megamenu-item__text p {
    margin: 0;
    font-size: 12px !important;
    color: #6b7280;
    line-height: 1.4;
}

.megamenu-viewall {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 16px;
    border-radius: 6px;
    background: #f0f4ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    color: var(--main-600);
    gap: 6px;
    transition: background 0.2s;
}

.megamenu-viewall:hover {
    background: #e0e8ff;
    color: var(--main-600);
}

/* Mobile megamenu - stack vertically */
@media screen and (max-width: 991px) {
    .megamenu {
        min-width: 100% !important;
        grid-template-columns: 1fr;
        padding: 8px !important;
        position: static !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .megamenu-item {
        padding: 10px 12px;
    }

    .megamenu-item__icon {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
}

/* ========================= Megamenu End ===================== */

/* Marquee scroll right to left */
@keyframes marqueeRTL {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Experience Orbit Styles */
.experience-orbit {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    max-width: 530px;
    margin: 0 auto;
    perspective: 800px;
}

.orbit-platform {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(12deg);
    width: 82%;
    height: 82%;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, .6) 0%, rgba(240, 243, 250, .9) 100%);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .08),
        inset 0 -2px 6px rgba(0, 0, 0, .04);
    z-index: 0;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, .04);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
    z-index: 1;
}

.center-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #d40000 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .12),
        0 0 0 8px rgba(200, 210, 230, .3),
        0 0 0 16px rgba(220, 228, 244, .15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 5;
    color: #fff;
}

.years {
    font-size: 44px;
    /* font-weight: 800; */
    color: #fff;
    line-height: 1;
    font-family: "Anton", sans-serif;
}

.years-label {
    font-size: 1rem;
    /* font-weight: 800; */
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: "Anton", sans-serif;
    text-align: center;
}

.years-desc {
    font-size: 12px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 3px;
    text-align: center;
    line-height: 1.3;
    color: #fff;
    font-family: "Anton", sans-serif;
}

.orbit-item {
    position: absolute;
    width: 100px;
    text-align: center;
    text-decoration: none;
    z-index: 6;
}

.orbit-item:hover {
    /* transform: scale(1.05); */
    width: 90px;
    transition: .3s ease;
}

.orbit-icon {
    width: 65px;
    height: 65px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 4px;
}

.orbit-icon i {
    font-size: 28px;
}

.orbit-title {
    font-size: 10px;
    font-weight: 600;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: .5px;
    display: block;
}

.orbit-subtitle {
    font-size: 8px;
    color: #6b7280;
    display: none;
}

/* Color Variants */
.icon-red {
    background: linear-gradient(135deg, #fff5f5, #fff);
    box-shadow: 0 8px 24px rgba(211, 47, 47, .15),
        0 2px 6px rgba(0, 0, 0, .06);
}

.icon-red i {
    color: #D32F2F;
}

.icon-blue {
    background: linear-gradient(135deg, #e8f4fd, #fff);
    box-shadow: 0 8px 24px rgba(25, 118, 210, .15),
        0 2px 6px rgba(0, 0, 0, .06);
}

.icon-blue i {
    color: #1976D2;
}

.icon-orange {
    background: linear-gradient(135deg, #fff8e1, #fff);
    box-shadow: 0 8px 24px rgba(239, 108, 0, .15),
        0 2px 6px rgba(0, 0, 0, .06);
}

.icon-orange i {
    color: #EF6C00;
}

.icon-green {
    background: linear-gradient(135deg, #e8f5e9, #fff);
    box-shadow: 0 8px 24px rgba(56, 142, 60, .15),
        0 2px 6px rgba(0, 0, 0, .06);
}

.icon-green i {
    color: #388E3C;
}

/* Positions - true circular placement using rotate + translate */
.orbit-item {
    position: absolute;
    width: 80px;
    text-align: center;
    text-decoration: none;
    z-index: 6;
    top: 50%;
    left: 50%;
    margin-left: -40px;
    margin-top: -50px;
}

.orbit-item:hover {
    z-index: 10;
}

.orbit-top {
    transform: translateY(-210px);
}

.orbit-top-right {
    transform: translate(148px, -148px);
}

.orbit-right {
    transform: translateX(210px);
}

.orbit-bottom-right {
    transform: translate(148px, 148px);
}

.orbit-bottom {
    transform: translateY(210px);
}

.orbit-bottom-left {
    transform: translate(-148px, 148px);
}

.orbit-left {
    transform: translateX(-210px);
}

.orbit-top-left {
    transform: translate(-148px, -148px);
}

/* ========================= Orbit Rotation ========================= */
@keyframes orbitSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes counterSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

.experience-orbit .orbit-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: orbitSpin 40s linear infinite;
    z-index: 3;
}

.experience-orbit .orbit-ring>a {
    /* position transform stays on the <a> */
}

.experience-orbit .orbit-ring>a>.orbit-inner {
    animation: counterSpin 40s linear infinite;
}

/* ========================= Orbit Rotation End ===================== */

/* Orbit pause state - applied via JS */
.experience-orbit.is-paused .orbit-ring {
    animation-play-state: paused !important;
}

.experience-orbit.is-paused .orbit-ring>a>.orbit-inner {
    animation-play-state: paused !important;
}

/* ========================= Toast Notifications ========================= */
.toast-notify {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.toast-notify__item {
    pointer-events: all;
    min-width: 300px;
    max-width: 420px;
    padding: 14px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    animation: toastSlideIn 0.3s ease;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast-notify__item.removing {
    opacity: 0;
    transform: translateX(100%);
}
.toast-notify__item--error {
    background: #D32F2F;
}
.toast-notify__item--success {
    background: #388E3C;
}
.toast-notify__item--info {
    background: #1976D2;
}
.toast-notify__item i {
    font-size: 20px;
    flex-shrink: 0;
}
@keyframes toastSlideIn {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}
@media (max-width: 480px) {
    .toast-notify {
        top: auto;
        bottom: 20px;
        right: 10px;
        left: 10px;
    }
    .toast-notify__item {
        min-width: auto;
    }
}
/* ========================= Toast Notifications End ===================== */

/* Section sub-titles spacing */
.bg-neutral-900 > h6,
.common-shadow-one > h6,
.bg-main-600 > h6,
.tw-rounded-lg > h6,
section h6.text-heading.tw-mb-4,
section h6.text-heading.fw-bold {
    margin-bottom: 20px !important;
}

/* ========================= Display Scale Compensation (CSS) ================ */
/* At 125% Windows scale, browser renders at 1.25x. This CSS counters it. */
/* Only activate if you need pixel-perfect 1x rendering */
@media (-webkit-device-pixel-ratio: 1.25) {
    body {
        zoom: 0.8;
    }
    .preloader {
        zoom: 1.25; /* counter-zoom so preloader stays fullscreen */
    }
}
@media (-webkit-device-pixel-ratio: 1.5) {
    body {
        zoom: 0.667;
    }
    .preloader {
        zoom: 1.5;
    }
}
/* ========================= Display Scale Compensation End ================== */

/* Header buttons - smaller size */
.header .btn,
.header-box-inner .btn {
    font-size: 13px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
}
.header .d-flex.align-items-center.tw-gap-6 {
    gap: 8px !important;
}
.header .btn .button__label {
    position: relative;
    z-index: 2;
    color: inherit !important;
}
.header .btn .button__flair {
    display: none !important;
}

/* Mobile menu buttons - same compact size */
.mobile-menu .btn {
    font-size: 13px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
}
.mobile-menu .btn .button__flair {
    display: none !important;
}
.mobile-menu .btn .button__label {
    position: relative;
    z-index: 2;
    color: inherit !important;
}
