/* ============================================================
   PHARMA.COM — Custom Styles
   ============================================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto !important;
    overflow-x: clip;
    overflow-y: scroll;
    /* Force vertical scrollbar to prevent layout shift on load */
    scrollbar-gutter: stable;
    /* Modern way to reserve scrollbar space */
}

/* Prevent service cards from clipping to screen edges during/after AOS animations */
.surgical-col {
    overflow: visible;
}

/* Ensure services section row is perfectly centered with equal left/right space */
.services-section .row.g-4 {
    --bs-gutter-x: 1.5rem;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

.services-section .row.g-4>[class*="col-"] {
    padding-left: calc(var(--bs-gutter-x) * .5);
    padding-right: calc(var(--bs-gutter-x) * .5);
}

/* Services section container: use fixed max-width so it centers properly */
.services-section>.container {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* ============================================================
   RESPONSIVE DESIGN SYSTEM
   ============================================================ */

/* Base Typography Scaling */
@media (max-width: 991px) {
    .section-title {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 2rem !important;
    }

    h1.hero-title {
        font-size: 2.2rem !important;
    }

    .queries-desc {
        font-size: 15px !important;
    }
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background: #fff;
    overflow-x: hidden;
    /* Smooth Page Load to prevent FOUC (fluctuation) */
    animation: pageLoadFade 0.6s ease-out forwards;
}

@keyframes pageLoadFade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.25s ease, background 0.25s ease;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
    background-color: #3d7ea6;
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
    letter-spacing: 0.3px;
}

.top-bar__info i {
    margin-right: 6px;
    font-size: 12px;
}

.top-bar__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #fff;
    font-size: 13px;
    margin-left: 4px;
    border-radius: 50%;
    transition: background 0.25s ease, transform 0.2s ease;
}

.top-bar__social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* ============================================================
   MAIN HEADER
   ============================================================ */
.main-header {
    background: #fff;
    border-bottom: 1px solid #eee;
}

/* ---- Logo Split Animation ---- */
.logo-split-container {
    position: relative;
    display: inline-block;
    height: 170px;
    width: auto;
    overflow: visible;
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.logo-split-container:hover {
    transform: translateZ(100px) scale(1.2);
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.25));
    z-index: 100;
}

.logo-half {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.logo-half img {
    height: 170px;
    width: auto;
    display: block;
    mix-blend-mode: multiply;
}

@media (max-width: 767px) {

    .logo-half img,
    .logo-final {
        height: 80px !important;
        width: auto !important;
    }

    .logo-split-container {
        height: 80px !important;
        width: auto !important;
    }
}

/* ---- Logo Split Animation Refinement ---- */
.logo-left {
    opacity: 0;
    /* Hide initially to prevent flash */
    clip-path: inset(0 47% 0 0);
    animation: logoJoinLeft 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.logo-right {
    opacity: 0;
    /* Hide initially to prevent flash */
    clip-path: inset(0 0 0 53%);
    animation: logoJoinRight 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.logo-final {
    height: 170px;
    width: auto;
    display: block;
    opacity: 0;
    animation: logoFinalFade 0.5s ease forwards 2.3s;
    position: relative;
    z-index: 1;
    mix-blend-mode: multiply;
}

@keyframes logoJoinLeft {
    0% {
        transform: translateX(-150px);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes logoJoinRight {
    0% {
        transform: translateX(150px);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes logoFinalFade {
    to {
        opacity: 1;
    }
}

/* Hide halves after join for a clean finish */
.logo-left,
.logo-right {
    animation-fill-mode: forwards;
}

.header-contact__icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border: 2px solid #e8511f;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e8511f;
    font-size: 20px;
    transition: background 0.3s ease, color 0.3s ease;
}

.header-contact:hover .header-contact__icon {
    background: #e8511f;
    color: #fff;
}

.header-contact__text {
    display: flex;
    flex-direction: column;
}

.header-contact__primary {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
}

.header-contact__secondary {
    font-size: 13px;
    color: #888;
}

/* ============================================================
   MAIN NAVIGATION
   ============================================================ */
.main-nav {
    background-color: #3d7ea6;
    position: sticky;
    top: 0;
    padding: 6px 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.main-nav .container {
    position: relative;
}

.main-nav .navbar-nav .nav-link {
    color: #fff !important;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 16px 20px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.main-nav .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: #fff;
    transform: scaleX(0);
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-origin: center;
}

.main-nav .navbar-nav .nav-link:hover::after,
.main-nav .navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.main-nav .navbar-nav .nav-link:hover {
    transform: translateY(-2px);
    color: #fff !important;
}

.main-nav .navbar-nav .nav-link.active {
    color: #fff !important;
}

/* ---- Dropdown Menu ---- */
.main-nav .nav-item.dropdown {
    position: static;
}

.main-nav .dropdown-menu {
    background-color: #3d7ea6;
    border-radius: 0 0 20px 20px;
    padding: 30px;
    width: 95vw;
    max-width: 1100px;
    top: 100%;
    margin-top: 0;
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.98);
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.main-nav .dropdown-item {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 25px;
    transition: all 0.3s ease;
}

.main-nav .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding-left: 32px;
}

/* Smooth state for Bootstrap's opened state */
.main-nav .dropdown-menu.show {
    display: grid;
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Responsive Grid for Mobile */
@media (max-width: 991.98px) {
    .main-nav .dropdown-menu {
        grid-template-columns: 1fr;
        min-width: 100%;
        transform: translateY(15px) !important;
        left: 0;
        border-radius: 0;
        padding: 15px;
    }

    .main-nav .dropdown-menu.show {
        transform: translateY(0) !important;
        opacity: 1;
        visibility: visible;
    }
}

.fs-xs {
    font-size: 0.75rem !important;
}

/* ---- Mobile Navbar Smooth Transition ---- */
.main-nav .navbar-collapse.collapsing {
    transition: height 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.main-nav .navbar-collapse.show {
    transition: height 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ---- Navbar Social Icons ---- */
.nav-social-icons {
    margin-left: 20px;
    margin-top: 12px;
    gap: 40px;
}

.nav-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: footballPlay 4s infinite ease-in-out;
}

.nav-social-link.facebook {
    animation-delay: 0.2s;
}

.nav-social-link.twitter {
    animation-delay: 0.5s;
}

.nav-social-link.instagram {
    animation-delay: 0.8s;
}

.nav-social-link.email {
    animation-delay: 1.1s;
}

@keyframes footballPlay {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    20% {
        transform: translateY(-10px) rotate(45deg);
        box-shadow: 0 15px 10px rgba(0, 0, 0, 0.1);
    }

    40% {
        transform: translateY(0) rotate(90deg) scaleX(1.1) scaleY(0.9);
    }

    60% {
        transform: translateY(-6px) rotate(135deg);
    }

    80% {
        transform: translateY(0) rotate(180deg) scaleX(1.05) scaleY(0.95);
    }
}

.nav-social-link:hover {
    animation-play-state: paused;
    transform: translateY(-5px) scale(1.2) !important;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: transparent;
    color: #fff !important;
}

.nav-social-link.facebook:hover {
    background: #1877F2;
}

.nav-social-link.twitter:hover {
    background: #1DA1F2;
}

.nav-social-link.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.nav-social-link.email:hover {
    background: #ea4335;
}

.btn-learn-more:active {
    transform: translateY(-1px) scale(0.98);
}

/* ---- Custom Mobile Toggle ---- */
.custom-toggler {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 5px;
    width: 44px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.custom-toggler span {
    width: 22px;
    height: 2px;
    background-color: #fff;
    border-radius: 5px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Custom Asymmetric Line Widths */
.custom-toggler span:nth-child(1) {
    width: 22px;
}

.custom-toggler span:nth-child(2) {
    width: 14px;
}

.custom-toggler span:nth-child(3) {
    width: 18px;
}

.custom-toggler:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.custom-toggler:hover span {
    width: 22px !important;
}

/* Toggler transformation to centered cross when menu is active */
.custom-toggler.active {
    position: fixed;
    top: 25px;
    left: calc(80% - 50px);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    z-index: 2001;
    transform: rotate(180deg);
}

.custom-toggler.active:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(270deg) scale(1.08);
}

@media (min-width: 375px) {
    .custom-toggler.active {
        left: 240px;
        /* Aligns inside the max-width: 300px sidebar */
    }
}

.custom-toggler.active span {
    position: absolute;
    width: 20px !important;
    top: 50%;
    left: 50%;
    margin-top: -1px;
    margin-left: -10px;
}

.custom-toggler.active span:nth-child(1) {
    transform: rotate(45deg);
}

.custom-toggler.active span:nth-child(2) {
    opacity: 0;
    width: 0 !important;
}

.custom-toggler.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* ---- Custom Slide Menu ---- */
.mobile-slide-menu {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(28, 69, 104, 0.98) 0%, rgba(61, 126, 166, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2000;
    padding: 35px 25px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.3);
    will-change: transform;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-slide-menu::-webkit-scrollbar {
    width: 4px;
}

.mobile-slide-menu::-webkit-scrollbar-track {
    background: transparent;
}

.mobile-slide-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 4px;
}

.mobile-slide-menu.active {
    transform: translateX(0);
}

.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Slide Menu Header */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 25px;
    padding-top: 10px;
}

.mobile-menu-logo img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(255, 255, 255, 0.15));
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    padding: 12px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0);
    border: 1px solid rgba(255, 255, 255, 0);
    transform: translateX(-30px);
    opacity: 0;
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    will-change: transform, opacity;
}

.mobile-nav-link i {
    font-size: 1.15rem;
    width: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.65);
    transition: all 0.3s ease;
}

.mobile-slide-menu.active .mobile-nav-link {
    transform: translateX(0);
    opacity: 1;
}

/* Staggered Delay for link animations */
.mobile-slide-menu.active .mobile-nav-link:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-slide-menu.active .mobile-nav-link:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-slide-menu.active .mobile-nav-link:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-slide-menu.active .mobile-nav-link:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-slide-menu.active .mobile-nav-link:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transform: translateX(6px) !important;
}

.mobile-nav-link:hover i,
.mobile-nav-link:active i {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* Mobile Services Dropdown Menu Styles */
.mobile-nav-dropdown-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.mobile-dropdown-toggle {
    outline: none;
    border: none;
    background: transparent;
    text-align: left;
    width: 100%;
    cursor: pointer;
}

.mobile-dropdown-menu {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 24px;
    margin-top: 4px;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-submenu-link {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    padding: 10px 14px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-submenu-link i.small-icon {
    font-size: 0.65rem;
    opacity: 0.5;
    transition: transform 0.3s ease;
}

.mobile-submenu-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.mobile-submenu-link:hover i.small-icon {
    opacity: 0.9;
    transform: scale(1.2);
}

.dropdown-chevron {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-dropdown-toggle.open .dropdown-chevron {
    transform: rotate(180deg);
}

/* Mobile Slide Menu Footer */
.mobile-menu-footer {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
}

.mobile-menu-footer-title {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.mobile-menu-socials {
    display: flex;
    gap: 12px;
}

.mobile-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.mobile-social-icon:hover,
.mobile-social-icon:active {
    background: #fff;
    color: #1c4568;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991.98px) {
    .custom-toggler {
        display: flex;
    }

    .main-nav .navbar-collapse {
        display: none !important;
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
    .main-header .row>div {
        justify-content: center !important;
        margin-bottom: 12px;
    }

    .main-header .row>div:last-child {
        margin-bottom: 0;
    }

    .main-nav .navbar-nav .nav-link {
        padding: 12px 16px !important;
    }

    .btn-learn-more {
        margin: 12px 16px;
        display: inline-block;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .logo__img {
        height: 70px;
    }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    position: relative;
    height: 750px;
    width: 100%;
    overflow: hidden;
    background-color: #050b14;
}

.hero-slider,
.hero-slide {
    position: relative;
    height: 100%;
    width: 100%;
}

.hero-slide {
    position: relative;
    overflow: hidden;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: kenburns 20s infinite alternate;
    z-index: 1;
}

@keyframes kenburns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
    z-index: 2;
}

/* Darken image and blur slightly when hovering over slide */
.hero-slide:hover .hero-overlay {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

/* Focus Frames */
.focus-frame {
    position: absolute;
    width: 35px;
    height: 35px;
    border: 2px solid transparent;
    z-index: 5;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
    animation: framePulse 2s infinite ease-in-out;
}

@keyframes framePulse {
    0% {
        opacity: 0.5;
        filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
    }

    50% {
        opacity: 1;
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
    }

    100% {
        opacity: 0.5;
        filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
    }
}

.focus-frame.top-left {
    top: 50px;
    left: 30px;
    border-top-color: #fff;
    border-left-color: #fff;
}

.text-wrapper .focus-frame.top-left {
    top: -15px;
    left: -15px;
}

.focus-frame.top-right {
    top: 50px;
    right: 30px;
    border-top-color: #fff;
    border-right-color: #fff;
}

.text-wrapper .focus-frame.top-right {
    top: -15px;
    right: -15px;
}

.focus-frame.bottom-left {
    bottom: 80px;
    left: 30px;
    border-bottom-color: #fff;
    border-left-color: #fff;
}

.text-wrapper .focus-frame.bottom-left {
    bottom: -15px;
    left: -15px;
}

.focus-frame.bottom-right {
    bottom: 80px;
    right: 30px;
    border-bottom-color: #fff;
    border-right-color: #fff;
}

.text-wrapper .focus-frame.bottom-right {
    bottom: -15px;
    right: -15px;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    color: #fff;
    padding-left: 15%;
    padding-bottom: 80px;
    /* Space for indicators */
}

.text-wrapper {
    scale: 1;
    translate: 0 0;
    transition: scale 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), translate 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: heartbeat 2s infinite ease-in-out 0.5s;
    /* Heartbeat always on for PC too */
}

.hero-slide:hover .text-wrapper {
    scale: 1.05;
    translate: 0 -4px;
}

@keyframes heartbeat {
    0% {
        scale: 1.05;
    }

    50% {
        scale: 1.08;
    }

    100% {
        scale: 1.05;
    }
}

/* Hero Main Button */
.btn-hero-main {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 15px 35px;
    background: #3d7ea6;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(61, 126, 166, 0.3);
    z-index: 1;
}

.btn-hero-main::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-hero-main:hover {
    color: #1c4568;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(61, 126, 166, 0.5);
}

.btn-hero-main:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-hero-main i {
    transition: transform 0.4s ease;
}

.btn-hero-main:hover i {
    transform: translateX(5px);
}

.new-about-section {
    position: relative;
    z-index: 10;
    padding-top: 0;
    /* Removed extra padding to equalize with top gap */
}

/* Exit Story Button - Matching Main Style */
.btn-close-story {
    display: inline-flex;
    align-items: center;
    padding: 15px 35px;
    background: #1c4568;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 12px;
    transition: all 0.4s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-close-story:hover {
    background: #3d7ea6;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(61, 126, 166, 0.3);
    color: #fff;
}

.btn-close-story i {
    transition: transform 0.4s ease;
}

.btn-close-story:hover i {
    transform: rotate(90deg) scale(1.2);
    /* Unique animation for 'X' icon */
}

/* Slider Indicators (Dots Above Mediator) */
.slider-dots {
    position: absolute !important;
    bottom: 110px !important;
    /* Positioned above the mediator bar */
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 35 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.slider-dots button {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    /* Circular dots */
    margin: 0 8px !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    border: 2px solid transparent !important;
    opacity: 0.6 !important;
    transition: all 0.3s ease !important;
}

.slider-dots button.active {
    background-color: #3d7ea6 !important;
    width: 25px !important;
    border-radius: 10px !important;
    /* Pill shape for active dot */
    opacity: 1 !important;
}

/* Excellence Mediator - Concept: Centered Bridge */
.excellence-mediator {
    padding: 0;
    margin-top: -40px;
    /* Shifted down (was -70px) */
    margin-bottom: -100px;
    /* Pulls About section up further (was -70px) */
    position: relative;
    z-index: 30;
}

.mediator-wrapper {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(61, 126, 166, 0.1);
}

.mediator-item {
    padding: 40px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    transition: all 0.4s ease;
}

.mediator-item:hover {
    background: #f8fbfe;
    transform: translateY(-5px);
}

.mediator-icon {
    width: 60px;
    height: 60px;
    background: rgba(61, 126, 166, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #3d7ea6;
    transition: all 0.4s ease;
}

.mediator-item:hover .mediator-icon {
    background: #3d7ea6;
    color: #fff;
    transform: rotateY(360deg);
}

.mediator-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1c4568;
    margin-bottom: 5px;
}

.mediator-info p {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0;
    letter-spacing: 0.5px;
}

.mediator-col.border-end {
    border-right: 1px solid rgba(61, 126, 166, 0.1) !important;
}

@media (max-width: 767px) {
    .excellence-mediator {
        margin-top: -30px;
        padding: 0 15px;
    }

    .mediator-col.border-end {
        border-right: none !important;
        border-bottom: 1px solid rgba(61, 126, 166, 0.1);
    }

    .mediator-item {
        padding: 25px 20px;
    }
}

.slogan-container-shaped {
    background: linear-gradient(135deg, #1c4568 0%, #3d7ea6 100%);
    padding: 60px 40px;
    /* Reduced padding */
    border-radius: 180px 25px 180px 25px;
    /* Slightly smaller shape */
    position: relative;
    box-shadow: 0 30px 70px rgba(28, 69, 104, 0.15);
    overflow: hidden;
}

/* Optional: Subtle grid on the shaped background */
.slogan-container-shaped::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

.slogan-content {
    position: relative;
    z-index: 5;
}

.slogan-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 6px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.slogan-text {
    font-family: 'Outfit', sans-serif;
    font-size: 2.6rem;
    /* Compact size */
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 0;
}

.slogan-text .highlight {
    color: #ffffff;
    opacity: 0.9;
    position: relative;
    display: inline-block;
}

@media (max-width: 991px) {
    .slogan-text {
        font-size: 2rem;
    }

    .slogan-container-shaped {
        padding: 50px 25px;
        border-radius: 100px 20px 100px 20px;
    }
}

@media (max-width: 767px) {
    .slogan-text {
        font-size: 1.6rem;
    }
}

/* Custom Tags & Subtitles (Image Match) */
.hero-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 6px 16px;
    margin-bottom: 25px;
    scale: 1;
    translate: 0 0;
    transition: scale 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), translate 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.4s ease, background 0.4s ease;
}

.hero-tag:hover {
    background: #fff;
    color: #333;
    scale: 1.05;
    translate: 0 -4px;
}

.hero-subtitle-cursive {
    font-family: 'Playball', cursive;
    font-size: 54px;
    color: #fff;
    margin-bottom: 0px;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    scale: 1;
    translate: 0 0;
    transition: scale 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), translate 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.4s ease;
}

.hero-slide:hover .hero-subtitle-cursive {
    color: #fff !important;
}

.hero-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 15px;
    scale: 1;
    translate: 0 0;
    letter-spacing: 0px;
    transition: scale 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), translate 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), letter-spacing 0.4s ease, color 0.4s ease;
}

.hero-slide:hover .hero-subtitle {
    letter-spacing: 1px;
    color: #ffffff !important;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 64px;
    font-weight: 500;
    color: #3d7ea6;
    /* Navbar Background Blue */
    line-height: 1.1;
    margin-bottom: 25px;
    scale: 1;
    translate: 0 0;
    letter-spacing: 0px;
    transition: scale 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), translate 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), letter-spacing 0.4s ease, color 0.4s ease;
}

.hero-slide:hover .hero-title {
    letter-spacing: 2px;
    color: #ffffff !important;
}

.hero-text {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 40px;
    line-height: 1.6;
    scale: 1;
    translate: 0 0;
    letter-spacing: 0px;
    transition: scale 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), translate 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), letter-spacing 0.4s ease, color 0.4s ease;
}

.hero-slide:hover .hero-text {
    letter-spacing: 1px;
    color: #ffffff !important;
}

/* Discover Button */
.btn-discover {
    display: inline-block;
    color: #e8511f;
    /* Orange */
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 36px;
    border: 1px solid #e8511f;
    border-radius: 4px;
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-discover:hover {
    background: #e8511f;
    color: #fff;
}

/* Hero Text Animations */
.carousel-item .focus-frame,
.carousel-item .hero-tag,
.carousel-item .hero-subtitle-cursive,
.carousel-item .hero-subtitle,
.carousel-item .hero-title,
.carousel-item .hero-text,
.carousel-item .btn-discover,
.carousel-item .btn-hero-main {
    opacity: 0;
    transform: translateY(30px);
}

.carousel-item.active .focus-frame,
.carousel-item-next.carousel-item-start .focus-frame,
.carousel-item-prev.carousel-item-end .focus-frame {
    animation: fadeInUp 0.8s ease forwards 0.1s;
}

.carousel-item.active .hero-tag,
.carousel-item-next.carousel-item-start .hero-tag,
.carousel-item-prev.carousel-item-end .hero-tag {
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.carousel-item.active .hero-subtitle-cursive,
.carousel-item.active .hero-subtitle,
.carousel-item-next.carousel-item-start .hero-subtitle-cursive,
.carousel-item-next.carousel-item-start .hero-subtitle,
.carousel-item-prev.carousel-item-end .hero-subtitle-cursive,
.carousel-item-prev.carousel-item-end .hero-subtitle {
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

.carousel-item.active .hero-title,
.carousel-item-next.carousel-item-start .hero-title,
.carousel-item-prev.carousel-item-end .hero-title {
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

.carousel-item.active .hero-text,
.carousel-item-next.carousel-item-start .hero-text,
.carousel-item-prev.carousel-item-end .hero-text {
    animation: fadeInUp 0.8s ease forwards 0.7s;
}

.carousel-item.active .btn-discover,
.carousel-item-next.carousel-item-start .btn-discover,
.carousel-item-prev.carousel-item-end .btn-discover,
.carousel-item.active .btn-hero-main,
.carousel-item-next.carousel-item-start .btn-hero-main,
.carousel-item-prev.carousel-item-end .btn-hero-main {
    animation: fadeInUp 0.8s ease forwards 0.9s;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Leaving slide text: quick fade out to prevent overlapping */
.carousel-item.active.carousel-item-start .focus-frame,
.carousel-item.active.carousel-item-start .hero-tag,
.carousel-item.active.carousel-item-start .hero-subtitle-cursive,
.carousel-item.active.carousel-item-start .hero-subtitle,
.carousel-item.active.carousel-item-start .hero-title,
.carousel-item.active.carousel-item-start .hero-text,
.carousel-item.active.carousel-item-start .btn-discover,
.carousel-item.active.carousel-item-start .btn-hero-main,
.carousel-item.active.carousel-item-end .focus-frame,
.carousel-item.active.carousel-item-end .hero-tag,
.carousel-item.active.carousel-item-end .hero-subtitle-cursive,
.carousel-item.active.carousel-item-end .hero-subtitle,
.carousel-item.active.carousel-item-end .hero-title,
.carousel-item.active.carousel-item-end .hero-text,
.carousel-item.active.carousel-item-end .btn-discover,
.carousel-item.active.carousel-item-end .btn-hero-main {
    animation: quickFadeOut 0.4s ease forwards !important;
}

@keyframes quickFadeOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Custom Carousel Controls (Arrows) */
.custom-carousel-control {
    width: 4rem !important;
    /* Match icon width */
    height: 4rem !important;
    /* Match icon height */
    top: 50% !important;
    transform: translateY(-50%) scale(0.5) !important;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease !important;
    z-index: 20;
    margin: 0 20px !important;
    /* Padding from edges */
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

.hero-section:hover .custom-carousel-control {
    opacity: 1;
    transform: translateY(-50%) scale(1) !important;
}

.custom-carousel-control .carousel-control-prev-icon,
.custom-carousel-control .carousel-control-next-icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background-size: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease;
}

.custom-carousel-control:hover .carousel-control-prev-icon,
.custom-carousel-control:hover .carousel-control-next-icon {
    transform: scale(1.15);
    background-color: rgba(255, 255, 255, 0.3);
}

/* Slider Dots */
.carousel-indicators.slider-dots {
    bottom: 30px;
    margin-bottom: 0;
    z-index: 15;
    gap: 12px;
}

.carousel-indicators.slider-dots [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: transparent;
    opacity: 1;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.carousel-indicators.slider-dots .active {
    background-color: #fff;
}

/* Responsive adjustments for Hero */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-section {
        height: 600px;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-section {
        height: 500px;
    }

    .focus-frame.top-left {
        top: 20px;
        left: 15px;
    }

    .focus-frame.top-right {
        top: 20px;
        right: 15px;
    }

    .focus-frame.bottom-left {
        bottom: 60px;
        left: 15px;
    }

    .focus-frame.bottom-right {
        bottom: 60px;
        right: 15px;
    }
}

/* ============================================================
   GLOBAL COMPONENTS
   ============================================================ */
.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #3d7ea6;
    /* Navbar blue */
    margin-bottom: 15px;
}

.title-divider {
    width: 60px;
    height: 4px;
    background-color: #e8511f;
    /* Orange primary */
    border-radius: 2px;
}

/* ============================================================
   DEMO / PORTFOLIO SECTION
   ============================================================ */
.demo-section {
    background-color: #f8f9fa;
}

.demo-card {
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px !important;
}

.demo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
}

/* Responsive Grid for Services */
@media (min-width: 768px) and (max-width: 1199px) {
    .services-section .row>.col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.demo-card__img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

@media (max-width: 767px) {
    .demo-card__img-wrapper {
        height: 200px;
    }
}

.demo-card__img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.demo-card:hover .demo-card__img-wrapper img {
    transform: scale(1.04);
}

.demo-card__body {
    border-top: 1px solid #f0f0f0;
}

.demo-card__title {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    display: inline-block;
    padding: 10px 15px 18px;
    /* Increased bottom padding for space */
    position: relative;
    /* For the animated line */
    animation: heartbeat 2s infinite ease-in-out;
    transition: color 0.3s ease;
}

.demo-card__title::after {
    content: '';
    position: absolute;
    bottom: 2px;
    /* Moved down to create space between text and line */
    left: 0;
    height: 3px;
    width: 100%;
    /* Base width is 100% for transform */
    background: #3d7ea6;
    border-radius: 2px;
    transform: scaleX(0);
    animation: line-move 4s infinite ease-in-out;
}

@keyframes line-move {
    0% {
        transform: scaleX(0);
        transform-origin: left;
    }

    25% {
        transform: scaleX(1);
        transform-origin: left;
    }

    50% {
        transform: scaleX(0);
        transform-origin: right;
    }

    75% {
        transform: scaleX(1);
        transform-origin: right;
    }

    100% {
        transform: scaleX(0);
        transform-origin: left;
    }
}


.demo-card:hover .demo-card__title {
    color: #3d7ea6;
}



/* ============================================================
   NEW PARALLAX ABOUT SECTION
   ============================================================ */
.new-about-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.about-parallax-bg {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 100px 0;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.section-badge {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(61, 126, 166, 0.1);
    color: #3d7ea6;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 50px;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #1c4568;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.btn-about-new {
    display: inline-flex;
    align-items: center;
    padding: 15px 35px;
    background: #1c4568;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 12px;
    transition: all 0.4s ease;
    text-decoration: none;
    border: none;
}

.btn-about-new:hover {
    background: #3d7ea6;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(61, 126, 166, 0.3);
    color: #fff;
}

.btn-about-new i {
    transition: transform 0.4s ease;
}

.btn-about-new:hover i {
    transform: translateX(8px);
}

/* ============================================================
   GOVT SUPPLIER CARD (About Section Left) — FULLY ANIMATED
   ============================================================ */

/* Floating card animation */
@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0px);
        box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1);
    }

    50% {
        transform: translateY(-12px);
        box-shadow: 0 50px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.15);
    }
}

/* Animated gold border glow */
@keyframes borderGlow {

    0%,
    100% {
        box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 0 2px rgba(217, 119, 6, 0.3), 0 0 30px rgba(217, 119, 6, 0.1);
    }

    50% {
        box-shadow: 0 50px 90px rgba(0, 0, 0, 0.55), 0 0 0 2px rgba(251, 191, 36, 0.7), 0 0 60px rgba(251, 191, 36, 0.25);
    }
}

/* Shimmer sweep across card */
@keyframes shimmerSweep {
    0% {
        left: -120%;
    }

    100% {
        left: 120%;
    }
}

/* Sparkle blink */
@keyframes sparkleBlink {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Topbar shimmer move */
@keyframes topbarShine {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* Icon continuous slow rotation */
@keyframes iconSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    25% {
        transform: rotate(-8deg) scale(1.08);
    }

    75% {
        transform: rotate(8deg) scale(1.08);
    }

    100% {
        transform: rotate(0deg) scale(1);
    }
}

/* Gold line width pulse */
@keyframes linePulse {

    0%,
    100% {
        width: 50px;
        opacity: 1;
    }

    50% {
        width: 120px;
        opacity: 0.7;
    }
}

/* Badge icon bounce */
@keyframes iconBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Pulse ring */
@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

.govt-card-new {
    background: linear-gradient(145deg, #0d2a42 0%, #1c4568 55%, #1a3d5c 100%);
    border-radius: 24px;
    padding: 0;
    width: 320px;
    overflow: hidden;
    position: relative;
    animation: cardFloat 4s ease-in-out infinite, borderGlow 4s ease-in-out infinite;
}

/* Shimmer sweep layer */
.govt-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.08) 50%, transparent 60%);
    animation: shimmerSweep 3.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 10;
}

/* Inner glow overlay */
.govt-card-new::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 15%, rgba(61, 126, 166, 0.2) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

/* Sparkle dots */
.govt-card-new .sparkle {
    position: absolute;
    border-radius: 50%;
    background: #fbbf24;
    z-index: 5;
    pointer-events: none;
}

.sparkle-1 {
    width: 6px;
    height: 6px;
    top: 20%;
    right: 14%;
    animation: sparkleBlink 2.2s ease-in-out infinite;
}

.sparkle-2 {
    width: 4px;
    height: 4px;
    top: 45%;
    right: 8%;
    animation: sparkleBlink 2.2s ease-in-out infinite 0.6s;
}

.sparkle-3 {
    width: 5px;
    height: 5px;
    top: 70%;
    right: 18%;
    animation: sparkleBlink 2.2s ease-in-out infinite 1.2s;
}

.sparkle-4 {
    width: 4px;
    height: 4px;
    top: 30%;
    left: 10%;
    animation: sparkleBlink 2.2s ease-in-out infinite 0.9s;
}

/* Top gold accent bar — animated shine */
.govt-card-topbar {
    background: linear-gradient(90deg, #b45309, #d97706, #f59e0b, #fde68a, #f59e0b, #d97706, #b45309);
    background-size: 300% auto;
    padding: 11px 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: topbarShine 3s linear infinite;
    position: relative;
    z-index: 2;
}

.govt-card-eyebrow {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Verified tick next to eyebrow */
.govt-card-topbar .topbar-tick {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: #fff;
    flex-shrink: 0;
}

/* Icon badge with pulse rings */
.govt-icon-badge {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 0 12px;
    z-index: 2;
}

.govt-icon-circle {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d97706, #f59e0b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    color: #fff;
    position: relative;
    z-index: 3;
    box-shadow: 0 8px 35px rgba(217, 119, 6, 0.6), 0 0 0 4px rgba(217, 119, 6, 0.2);
    animation: iconSpin 4s ease-in-out infinite;
}

.govt-icon-pulse {
    position: absolute;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    border: 2px solid rgba(217, 119, 6, 0.55);
    animation: pulseRing 2s ease-out infinite;
    z-index: 2;
}

.pulse-2 {
    animation-delay: 0.7s;
}

.pulse-3 {
    animation-delay: 1.4s;
}

/* Card body */
.govt-card-body {
    padding: 16px 26px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.govt-card-is {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.govt-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.govt-card-title span {
    background: linear-gradient(90deg, #f59e0b, #fde68a, #f59e0b);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: topbarShine 3s linear infinite;
}

.govt-gold-line {
    height: 3px;
    background: linear-gradient(90deg, transparent, #d97706, #fbbf24, #d97706, transparent);
    border-radius: 10px;
    margin: 14px auto 14px;
    animation: linePulse 3s ease-in-out infinite;
}

.govt-card-desc {
    font-size: 0.81rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.75;
}

/* Bottom badges row */
.govt-card-badges {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 16px 10px;
    position: relative;
    z-index: 2;
}

.govt-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.govt-badge-item i {
    font-size: 1.2rem;
    color: #fbbf24;
    animation: iconBounce 2.5s ease-in-out infinite;
}

.govt-badge-item:nth-child(3) i {
    animation-delay: 0.5s;
}

.govt-badge-item:nth-child(5) i {
    animation-delay: 1s;
}

.govt-badge-item span {
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.govt-badge-sep {
    width: 1px;
    height: 38px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.about-floating-element {
    position: relative;
}

.about-logo-floating {
    max-width: 350px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    animation: float-slow 6s infinite ease-in-out;
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: float-slow 6s infinite ease-in-out reverse;
}

/* Anti-Flash for Hash Navigation */
.is-jumping body {
    visibility: hidden !important;
}

:root {
    --primary-blue: #1c4568;
    --navbar-blue: #3d7ea6;
    --accent-blue: #3d7ea6;
}

.experience-badge .year {
    font-size: 42px;
    font-weight: 800;
    color: #3d7ea6;
    line-height: 1;
}

.experience-badge .text {
    font-size: 12px;
    font-weight: 700;
    color: #1c4568;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.2;
}

@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 991px) {
    .about-overlay {
        background: rgba(255, 255, 255, 0.9);
    }
}

/* ============================================================
   SURGICAL KIT ANIMATION
   ============================================================ */
.surgical-col {
    position: relative;
    z-index: 1;
}

.surgical-col:hover {
    z-index: 9999;
}

.surgical-kit-card {
    perspective: 1500px;
    position: relative;
    z-index: 1;
}

.surgical-kit-card:hover,
.surgical-kit-card:active,
.surgical-kit-card.active-hover {
    z-index: 10;
}

/* Default image wrapper on Large Desktop (>= 1200px) */
.surgical-kit-card .demo-card__img-wrapper {
    overflow: visible !important;
    background-color: transparent !important;
    perspective: 1500px;
    height: 330px;
    transition: height 0.3s ease;
}

.surgical-kit-card .demo-card__img-wrapper img {
    object-position: center;
    /* Center the kit within the frame */
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.8s ease;
    transform-style: preserve-3d;
    transform-origin: center 59%;
    /* Centered relative to the full card height */
    border-radius: 0;
    will-change: transform;
    /* Hint browser to use GPU acceleration */
}

.surgical-kit-card:hover .demo-card__img-wrapper img,
.surgical-kit-card:active .demo-card__img-wrapper img,
.surgical-kit-card.active-hover .demo-card__img-wrapper img {
    /* Optimized 3D tilt instead of full rotation to prevent lagging */
    transform: rotateY(15deg) rotateX(10deg) scale(1.1) translateZ(50px);
    filter: brightness(0.6);
    /* Simplified filter for better performance */
    border-radius: 0;
}

.surgical-text-overlay {
    position: absolute;
    top: 59%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 2px;
    opacity: 0;
    pointer-events: none;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.9);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 20;
    width: 100%;
}

.surgical-kit-card:hover .surgical-text-overlay,
.surgical-kit-card:active .surgical-text-overlay,
.surgical-kit-card.active-hover .surgical-text-overlay {
    opacity: 1;
    color: #ffffff;
    /* Pop text forward without heavy rotation */
    transform: translate(-50%, -50%) translateZ(100px) scale(1.12);
    /* Clean glowing focus */
    text-shadow: 0 0 15px rgba(0, 0, 0, 1), 0 0 10px rgba(255, 255, 255, 0.6);
}

/* ==========================================
   RESPONSIVE DESIGN FOR SERVICE CARDS
   ========================================== */

/* Breakpoint 1: Medium Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .surgical-kit-card .demo-card__img-wrapper {
        height: 270px;
    }

    .demo-card__title {
        font-size: 18px !important;
        padding: 8px 12px !important;
    }

    .surgical-text-overlay {
        font-size: 19px !important;
    }

    .btn-more-3d {
        padding: 7px 25px !important;
        font-size: 11px !important;
    }
}

/* Breakpoint 2: Tablets (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .surgical-kit-card .demo-card__img-wrapper {
        height: 290px;
    }

    .demo-card__title {
        font-size: 18px !important;
        padding: 8px 12px !important;
    }

    .surgical-text-overlay {
        font-size: 19px !important;
    }

    .btn-more-3d {
        padding: 7px 25px !important;
        font-size: 11px !important;
    }
}

/* Breakpoint 3: Large Mobile (480px - 767px) */
@media (min-width: 480px) and (max-width: 767px) {
    .services-section .demo-card {
        max-width: 340px;
        margin: 0 auto;
    }

    .surgical-kit-card .demo-card__img-wrapper {
        height: 220px;
    }

    .demo-card__body {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    .demo-card__title {
        font-size: 16px !important;
        padding: 5px 10px !important;
    }

    .surgical-text-overlay {
        font-size: 17px !important;
    }

    .btn-more-3d {
        padding: 6px 20px !important;
        font-size: 10px !important;
    }
}

/* Breakpoint 4: Small Mobile (<= 479px) */
@media (max-width: 479px) {
    .services-section .demo-card {
        max-width: 290px;
        margin: 0 auto;
    }

    .surgical-kit-card .demo-card__img-wrapper {
        height: 190px;
    }

    .demo-card__body {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    .demo-card__title {
        font-size: 15px !important;
        padding: 5px 8px !important;
    }

    .surgical-text-overlay {
        font-size: 15px !important;
    }

    .btn-more-3d {
        padding: 5px 15px !important;
        font-size: 9px !important;
        letter-spacing: 1px !important;
    }
}

/* One-time 360 rotation animation */
@keyframes fullRotate {
    0% {
        transform: rotateY(0deg) scale(1);
    }

    50% {
        transform: rotateY(180deg) scale(1.1);
    }

    100% {
        transform: rotateY(360deg) scale(1);
    }
}

.rotated-once .demo-card__img-wrapper img {
    animation: fullRotate 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}



.surgical-icon-wrapper {
    font-size: 44px;
    color: #ffffff;
    filter: drop-shadow(0 0 10px rgba(61, 126, 166, 0.8));
    margin-bottom: 15px;
    display: inline-block;
}

.surgical-kit-card:hover .surgical-icon-wrapper i {
    animation: surgicalAction 1.5s ease-in-out infinite;
}

.btn-more-3d {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 35px;
    background: #3d7ea6;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
    /* Fix clickability */
}

.btn-more-3d::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-more-3d:hover {
    color: #1c4568;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(61, 126, 166, 0.5);
}

.btn-more-3d:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-more-3d i {
    font-size: 11px;
    transition: transform 0.4s ease;
}

.btn-more-3d:hover i {
    transform: translateX(5px);
}

/* ===================== PREMIUM FOOTER STYLES ===================== */
.footer-premium {
    background: #0f2436;
    /* Darker navy for better contrast */
    color: #fff;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

/* Subtle background pattern */
.footer-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

.footer-logo {
    max-height: 60px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.footer-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 1px;
    color: #fff;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--navbar-blue);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(8px);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact-link:hover {
    color: #fff;
    opacity: 0.9;
}

.contact-info-item i {
    width: 35px;
    height: 35px;
    background: rgba(61, 126, 166, 0.15);
    color: var(--navbar-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: var(--navbar-blue);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(61, 126, 166, 0.3);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .footer-premium {
        padding-top: 60px;
    }

    .footer-heading {
        margin-top: 20px;
    }
}

@keyframes surgicalAction {

    0%,
    100% {
        transform: scale(1) translateY(0);
    }

    50% {
        transform: scale(1.15) translateY(-5px);
    }
}

/* ---- Animation for Heartbeat ---- */
@keyframes heartbeat {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(61, 126, 166, 0));
    }

    15% {
        transform: scale(1.08);
        color: #3d7ea6;
        filter: drop-shadow(0 0 5px rgba(61, 126, 166, 0.4));
    }

    30% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(61, 126, 166, 0));
    }

    45% {
        transform: scale(1.08);
        color: #3d7ea6;
        filter: drop-shadow(0 0 5px rgba(61, 126, 166, 0.4));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(61, 126, 166, 0));
    }
}


/* ============================================================
   WHY TRUST US SECTION
   ============================================================ */
.trust-section {
    background-color: #f8faff;
    overflow: hidden;
}

.trust-img-wrapper {
    padding: 20px;
}

.trust-img-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 10px solid #3d7ea6;
    border-radius: 20px;
    opacity: 0.1;
    z-index: 1;
}

.trust-list li i {
    background: rgba(61, 126, 166, 0.1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.trust-img-wrapper img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.trust-img-wrapper:hover img {
    transform: scale(1.02);
}

/* ============================================================
   ANY QUERIES SECTION
   ============================================================ */
.queries-section {
    position: relative;
    width: 100%;
}

.queries-bg {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0;
    position: relative;
}

.queries-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

/* Responsive Logo Adjustment */
@media (max-width: 767px) {
    .logo-split-container {
        height: 80px !important;
        width: auto !important;
    }
}

.glass-form-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.queries-desc {
    color: #444;
    font-size: 17px;
    line-height: 1.6;
    font-weight: 500;
}

.form-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #3d7ea6;
    font-size: 18px;
    z-index: 10;
    transition: all 0.3s ease;
}

.glass-input {
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 15px !important;
    padding: 16px 20px 16px 50px !important;
    color: #333 !important;
    font-size: 15px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

.glass-input:focus {
    background: #fff !important;
    box-shadow: 0 10px 20px rgba(61, 126, 166, 0.1) !important;
    border-color: #3d7ea6 !important;
    transform: translateY(-2px);
}

.glass-input:focus+.form-icon {
    color: #1c4568;
    transform: translateY(-50%) scale(1.1);
}

.btn-send {
    background: linear-gradient(135deg, #0076bd 0%, #3d7ea6 100%);
    color: #fff;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 15px;
    padding: 18px 45px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
}

.btn-send:hover {
    background: linear-gradient(135deg, #1c4568 0%, #0076bd 100%);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 118, 189, 0.4);
    color: #fff;
}

.btn-send:active {
    transform: translateY(-1px);
}

/* Responsive adjustments for Queries section */
@media (max-width: 767.98px) {
    .queries-title {
        font-size: 36px;
    }

    .queries-bg {
        padding: 60px 0;
    }
}

/* ============================================================
   LOCATION SECTION (3D GLOBE)
   ============================================================ */
.location-section {
    background: #000c18;
    /* Original Deep cosmic blue */
    padding: 0px 0;
    overflow: hidden;
    position: relative;
    color: #fff;
}

.location-container {
    position: relative;
    z-index: 2;
}

.globe-wrapper {
    width: 100%;
    height: 750px;
    /* Increased height to prevent cut-off at top/bottom */
    cursor: grab;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    /* Focused spotlight effect */
    background: radial-gradient(circle at center, rgba(61, 126, 166, 0.2) 0%, transparent 65%);
}

.globe-wrapper:active {
    cursor: grabbing;
}

#globe-canvas {
    width: 100%;
    height: 100%;
    background: transparent;
    /* Allow parallax background to show through */
}

#globe-canvas canvas {
    display: block;
    background: transparent !important;
}

.globe-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 1;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
    opacity: 0.8;
}

/* Globe HTML Marker */
.globe-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    user-select: none;
    transform: translateY(-50%);
}

.marker-icon {
    width: 32px;
    height: 32px;
    background: #3d7ea6;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    box-shadow: 0 0 15px rgba(61, 126, 166, 0.8);
    animation: markerPulse 2s infinite ease-in-out;
}

@keyframes markerPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(61, 126, 166, 0.8);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 25px rgba(61, 126, 166, 1);
    }
}

.location-info-card {
    background: transparent;
    backdrop-filter: none;
    border: none;
    padding: 0;
    box-shadow: none;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-label {
    display: inline-block;
    background: #3d7ea6;
    color: #fff;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.location-title {
    font-family: 'Outfit', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #3d7ea6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.location-details {
    margin-bottom: 30px;
}

.location-detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 18px;
}

.location-detail-item i {
    width: 40px;
    height: 40px;
    background: rgba(61, 126, 166, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #3d7ea6;
}

.btn-directions {
    background: linear-gradient(135deg, #3d7ea6 0%, #1c4568 100%);
    color: #fff;
    border: 2px solid transparent;
    padding: 15px 40px;
    border-radius: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s ease;
    text-decoration: none;
    width: fit-content;
    position: relative;
    /* Remove overflow: hidden to allow car on border */
    z-index: 1;
}

.human-animation-icon {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 18px;
    color: #fff;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.btn-directions:hover .human-animation-icon {
    opacity: 1;
    animation: walkAroundBorder 6s infinite linear;
}

@keyframes walkAroundBorder {

    /* Top Left to Top Right */
    0% {
        top: 0;
        left: 0;
        transform: translate(-50%, -50%) scaleX(1) translateY(0);
    }

    12.5% {
        transform: translate(-50%, -50%) scaleX(1) translateY(-3px);
    }

    25% {
        top: 0;
        left: 100%;
        transform: translate(-50%, -50%) scaleX(1) translateY(0);
    }

    /* Top Right to Bottom Right */
    37.5% {
        transform: translate(-50%, -50%) scaleX(1) translateY(-3px);
    }

    50% {
        top: 100%;
        left: 100%;
        transform: translate(-50%, -50%) scaleX(1) translateY(0);
    }

    /* Bottom Right to Bottom Left (Face Left) */
    50.01% {
        transform: translate(-50%, -50%) scaleX(-1) translateY(0);
    }

    62.5% {
        transform: translate(-50%, -50%) scaleX(-1) translateY(-3px);
    }

    75% {
        top: 100%;
        left: 0;
        transform: translate(-50%, -50%) scaleX(-1) translateY(0);
    }

    /* Bottom Left to Top Left (Face Left) */
    87.5% {
        transform: translate(-50%, -50%) scaleX(-1) translateY(-3px);
    }

    100% {
        top: 0;
        left: 0;
        transform: translate(-50%, -50%) scaleX(-1) translateY(0);
    }
}

.btn-directions:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(61, 126, 166, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-directions .fa-arrow-up-right-from-square {
    transition: transform 0.4s ease;
}

.btn-directions:hover .fa-arrow-up-right-from-square {
    transform: translate(3px, -3px);
}

.globe-overlay-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    animation: pulseHint 2s infinite;
}

@keyframes pulseHint {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.8;
    }
}

@media (max-width: 991px) {
    .globe-wrapper {
        height: 400px;
    }

    .location-title {
        font-size: 36px;
    }
}

/* Globe Section Responsiveness */
@media (max-width: 767px) {
    #globe-canvas {
        height: 400px !important;
    }

    .location-info-card {
        padding: 25px !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    #globe-canvas {
        height: 500px !important;
    }
}

/* ============================================================
   MOBILE HERO REFINEMENT
   ============================================================ */
@media (max-width: 767px) {

    /* Position arrows away from the central button */
    .custom-carousel-control {
        top: 50% !important;
        transform: translateY(-50%) scale(0.8) !important;
        opacity: 0.7 !important;
        /* Visible on mobile */
        margin: 0 !important;
        width: 3rem !important;
        height: 3rem !important;
    }

    .custom-carousel-control .carousel-control-prev-icon,
    .custom-carousel-control .carousel-control-next-icon {
        width: 3rem !important;
        height: 3rem !important;
        background-size: 1.2rem !important;
    }

    .carousel-control-prev {
        left: 5px !important;
    }

    .carousel-control-next {
        right: 5px !important;
    }

    /* Scaling fonts for mobile */
    .hero-title {
        font-size: 1.8rem !important;
        /* Slightly smaller for more space */
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
    }

    .hero-subtitle {
        font-size: 0.85rem !important;
        letter-spacing: 1px !important;
        margin-bottom: 10px !important;
    }

    .hero-content {
        padding-left: 45px !important;
        padding-right: 45px !important;
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
    }

    .text-wrapper {
        padding: 25px 15px !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        animation: heartbeat 2s infinite ease-in-out 1s !important;
        /* Continuous heartbeat for all touch devices */
    }

    /* Center the main button on mobile */
    .btn-hero-main {
        padding: 12px 25px !important;
        font-size: 14px !important;
    }

    /* Shrink the focus frames to fit the smaller text */
    .focus-frame {
        width: 20px !important;
        height: 20px !important;
    }
}

/* ============================================================
   UNIVERSAL RESPONSIVE SYSTEM (All Devices)
   ============================================================ */

/* 1. Fluid Layout & Container Reset */
.container {
    max-width: 100%;
    padding-left: clamp(15px, 5vw, 30px);
    padding-right: clamp(15px, 5vw, 30px);
}

/* 2. Breakpoint: Small Phones (under 360px) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.55rem !important;
    }

    .section-title {
        font-size: 1.45rem !important;
    }

    .top-bar__info {
        font-size: 10.5px;
    }

    .btn-hero-main {
        padding: 9px 18px !important;
        font-size: 12px !important;
    }

    .btn-about-new,
    .btn-close-story,
    .btn-send,
    .btn-directions,
    .btn-review-write {
        padding: 9px 18px !important;
        font-size: 12.5px !important;
    }
}

/* 3. Breakpoint: Medium/Large Phones (361px - 767px) */
@media (max-width: 767px) {
    .new-about-section {
        padding: 60px 0 !important;
    }

    .about-content-new {
        text-align: center;
    }

    .about-features-new {
        justify-content: center;
    }

    /* Responsive Text & Headings */
    .section-title {
        font-size: 1.85rem !important;
        line-height: 1.3 !important;
    }

    h2 {
        font-size: 1.85rem !important;
    }

    h3 {
        font-size: 1.45rem !important;
    }

    p,
    .about-desc-new {
        font-size: 14.5px !important;
        line-height: 1.6 !important;
    }

    /* Responsive Buttons Sizing */
    .btn-hero-main,
    .btn-about-new,
    .btn-close-story,
    .btn-send,
    .btn-directions,
    .btn-review-write,
    .trigger-story {
        padding: 12px 24px !important;
        font-size: 14px !important;
        border-radius: 12px !important;
    }

    /* Mediator Stack */
    .mediator-item {
        flex-direction: column;
        text-align: center;
        padding: 25px 15px !important;
    }

    .mediator-icon {
        margin: 0 auto 12px !important;
    }

    /* Story Content */
    .story-tab-content {
        padding: 25px 15px !important;
    }

    .expert-banner {
        font-size: 10.5px;
        padding: 5px 12px;
    }
}

/* 4. Breakpoint: Tablets/iPads (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-section {
        height: 600px !important;
    }

    .hero-title {
        font-size: 2.85rem !important;
    }

    .section-title {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 2.5rem !important;
    }

    h3 {
        font-size: 1.7rem !important;
    }

    /* Button scale for Tablets */
    .btn-hero-main,
    .btn-about-new,
    .btn-close-story,
    .btn-send,
    .btn-directions,
    .btn-review-write {
        padding: 14px 28px !important;
        font-size: 15px !important;
    }

    .mediator-col {
        border: none !important;
    }

    .mediator-wrapper {
        flex-wrap: wrap;
    }

    .mediator-item {
        width: 50%;
        border-bottom: 1px solid rgba(61, 126, 166, 0.1);
    }

    .mediator-item:nth-child(odd) {
        border-right: 1px solid rgba(61, 126, 166, 0.1);
    }
}

/* 5. Breakpoint: Laptops (1024px - 1279px) */
@media (min-width: 1024px) and (max-width: 1279px) {
    /* Add specific laptop optimizations here if needed */
}

/* 6. Breakpoint: Desktops (1280px - 1439px) */
@media (min-width: 1280px) and (max-width: 1439px) {
    /* Add specific desktop optimizations here if needed */
}

/* 7. Breakpoint: Large Desktops (1440px and up) */
@media (min-width: 1440px) {
    /* Add specific large desktop optimizations here if needed */
}

/* 5. Fluid Utility: Image Handling */
img {
    max-width: 100%;
    height: auto;
}

/* 6. Fix for Horizontal Overflow */
body,
html {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body.modal-open,
body.modal-open html {
    overflow: hidden !important;
}

/* 7. Footer Responsiveness */
@media (max-width: 767px) {
    .footer-top .row>div {
        text-align: center;
        margin-bottom: 40px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

/* 8. Mobile Performance Optimizations */
@media (max-width: 991px) {

    .about-parallax-bg,
    .queries-bg {
        background-attachment: scroll !important;
    }
}

/* ===================== GOOGLE REVIEWS STYLES ===================== */
.reviews-section {
    background: #f8faff;
    position: relative;
}

.google-badge-container {
    background: rgba(61, 126, 166, 0.08);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
}

.overall-rating-card {
    border-color: rgba(61, 126, 166, 0.1) !important;
}

.btn-review-write {
    background: linear-gradient(135deg, #1c4568 0%, #3d7ea6 100%);
    color: #fff !important;
    border: none;
    padding: 12px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-review-write:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(61, 126, 166, 0.3);
}

.review-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-color: rgba(61, 126, 166, 0.1) !important;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(61, 126, 166, 0.1) !important;
    border-color: rgba(61, 126, 166, 0.3) !important;
}

.avatar-wrapper {
    position: relative;
}

.verified-badge {
    bottom: -3px;
    right: -3px;
    font-size: 14px;
    background: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-choices .avatar-choice-item {
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 50%;
    padding: 2px;
    transition: all 0.3s ease;
}

.avatar-choices .avatar-choice-item.selected {
    border-color: #3d7ea6;
}

.avatar-choices .avatar-choice-item:hover {
    transform: scale(1.1);
}

/* Modal form style customization */
#googleReviewForm .form-control:focus {
    border-color: #3d7ea6;
    box-shadow: 0 0 0 0.25rem rgba(61, 126, 166, 0.25);
}

/* ============================================================
   SERVICE CARDS — Category-Specific Attractive Styling
   ============================================================ */

/* Base svc-card */
.svc-card {
    border-radius: 18px !important;
    border: none !important;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.09) !important;
    transition: translate 0.4s cubic-bezier(0.25, 1, 0.5, 1), scale 0.4s ease, box-shadow 0.4s ease !important;
    translate: 0 0;
    scale: 1;
}

@keyframes cardHoverHeartbeat {
    0% {
        scale: 1;
    }

    30% {
        scale: 1.02;
    }

    45% {
        scale: 0.99;
    }

    60% {
        scale: 1.012;
    }

    75% {
        scale: 1;
    }

    100% {
        scale: 1;
    }
}

.svc-card:hover {
    translate: 0 -8px !important;
    animation: cardHoverHeartbeat 1.6s ease-in-out infinite !important;
    box-shadow: 0 20px 45px rgba(61, 126, 166, 0.25) !important;
}

/* Top bar strip */
.svc-card-topbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    position: relative;
    overflow: hidden;
}

/* Shimmer on topbar */
.svc-card-topbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    animation: svcShimmer 3s ease-in-out infinite;
}

@keyframes svcShimmer {
    0% {
        left: -80%;
    }

    100% {
        left: 130%;
    }
}

/* Icon badge */
.svc-icon-badge {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Category tag */
.svc-category-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    flex: 1;
}

/* Expert chip */
.svc-expert-chip {
    font-size: 0.62rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    animation: expertPulse 2s ease-in-out infinite;
}

@keyframes expertPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(255, 255, 255, 0);
    }
}

/* ─── Per-category topbar colors ─── */
.svc-surgical .svc-card-topbar {
    background: linear-gradient(90deg, #1c4568, #2b608a);
}

.svc-disposable .svc-card-topbar {
    background: linear-gradient(90deg, #2b608a, #3d7ea6);
}

.svc-devices .svc-card-topbar {
    background: linear-gradient(90deg, #3d7ea6, #5c98bc);
}

.svc-furniture .svc-card-topbar {
    background: linear-gradient(90deg, #112a40, #1c4568);
}

.svc-rapid .svc-card-topbar {
    background: linear-gradient(90deg, #1c4568, #2b608a);
}

.svc-infusion .svc-card-topbar {
    background: linear-gradient(90deg, #2c3e50, #4a627a);
}

.svc-dressing .svc-card-topbar {
    background: linear-gradient(90deg, #1a5276, #2980b9);
}

.svc-suture .svc-card-topbar {
    background: linear-gradient(90deg, #2471a3, #3498db);
}

.svc-medicine .svc-card-topbar {
    background: linear-gradient(90deg, #154360, #1f618d);
}

/* ─── Per-category bottom border accent ─── */
.svc-surgical {
    border-bottom: 4px solid #3d7ea6 !important;
}

.svc-disposable {
    border-bottom: 4px solid #3d7ea6 !important;
}

.svc-devices {
    border-bottom: 4px solid #3d7ea6 !important;
}

.svc-furniture {
    border-bottom: 4px solid #3d7ea6 !important;
}

.svc-rapid {
    border-bottom: 4px solid #3d7ea6 !important;
}

.svc-infusion {
    border-bottom: 4px solid #3d7ea6 !important;
}

.svc-dressing {
    border-bottom: 4px solid #3d7ea6 !important;
}

.svc-suture {
    border-bottom: 4px solid #3d7ea6 !important;
}

.svc-medicine {
    border-bottom: 4px solid #3d7ea6 !important;
}

/* ─── Per-category title color on hover ─── */
.svc-surgical:hover .demo-card__title {
    color: #3d7ea6 !important;
}

.svc-disposable:hover .demo-card__title {
    color: #3d7ea6 !important;
}

.svc-devices:hover .demo-card__title {
    color: #3d7ea6 !important;
}

.svc-furniture:hover .demo-card__title {
    color: #3d7ea6 !important;
}

.svc-rapid:hover .demo-card__title {
    color: #3d7ea6 !important;
}

.svc-infusion:hover .demo-card__title {
    color: #3d7ea6 !important;
}

.svc-dressing:hover .demo-card__title {
    color: #3d7ea6 !important;
}

.svc-suture:hover .demo-card__title {
    color: #3d7ea6 !important;
}

.svc-medicine:hover .demo-card__title {
    color: #3d7ea6 !important;
}


/* Specific targeted optimizations for 240fps smooth rendering requested by user */
.logo-split-container,
.logo-half,
.logo-final,
#heroCarousel,
.carousel-inner,
.carousel-item,
.hero-slide,
.excellence-mediator,
.mediator-wrapper,
.mediator-item,
.about-content-card,
.services-section,
.demo-card,
.svc-card,
.trust-section,
.trust-img-wrapper,
.queries-section,
.glass-form-card {
    will-change: transform, opacity;
    backface-visibility: hidden;
}

#heroCarousel.carousel-fade .carousel-item {
    opacity: 0 !important;
    transform: scale(1) !important;
    transition: opacity 2s cubic-bezier(0.25, 1, 0.5, 1), transform 2s cubic-bezier(0.25, 1, 0.5, 1) !important;
    z-index: 1 !important;
}

#heroCarousel.carousel-fade .carousel-item.active {
    opacity: 1 !important;
    transform: scale(1) !important;
    z-index: 2 !important;
}

#heroCarousel.carousel-fade .carousel-item.active.carousel-item-start,
#heroCarousel.carousel-fade .carousel-item.active.carousel-item-end {
    opacity: 0 !important;
    transform: scale(1.15) !important;
    z-index: 3 !important;
}

#heroCarousel.carousel-fade .carousel-item-next,
#heroCarousel.carousel-fade .carousel-item-prev {
    opacity: 0 !important;
    transform: scale(1) !important;
    z-index: 1 !important;
}

#heroCarousel.carousel-fade .carousel-item-next.carousel-item-start,
#heroCarousel.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1 !important;
    transform: scale(1) !important;
    z-index: 2 !important;
}

.mediator-item,
.mediator-item .mediator-icon {
    transition: all 1.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* ===================== FOUNDER SECTION ===================== */
.founder-section {
    background: linear-gradient(135deg, #f8faff 0%, #eef5fb 100%);
}

.founder-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    animation: float 8s ease-in-out infinite;
}

.founder-blob.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(61, 126, 166, 0.15);
    top: -100px;
    left: -100px;
}

.founder-blob.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(28, 69, 104, 0.1);
    bottom: -50px;
    right: -50px;
    animation-delay: -4s;
}

.founder-img-wrapper {
    position: relative;
    padding: 20px;
}

.founder-img-frame {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    z-index: 1;
}

.founder-img-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    border: 3px solid rgba(61, 126, 166, 0.3);
    z-index: 2;
    pointer-events: none;
    transform: translate(-15px, -15px);
    transition: all 0.4s ease;
}

.founder-img-wrapper:hover .founder-img-frame::before {
    transform: translate(0, 0);
    border-color: #3d7ea6;
}

.founder-img-frame img {
    transition: transform 0.5s ease;
}

.founder-img-wrapper:hover .founder-img-frame img {
    transform: scale(1.05);
}

.founder-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #1c4568;
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

.founder-badge i {
    color: #3d7ea6;
    font-size: 1.2rem;
}

.founder-badge.badge-1 {
    top: 40px;
    right: -30px;
}

.founder-badge.badge-2 {
    bottom: 40px;
    left: -10px;
    animation-delay: -2s;
}

.founder-quote-box {
    background: rgba(61, 126, 166, 0.05);
    border-left: 4px solid #3d7ea6;
    padding: 20px;
    border-radius: 0 10px 10px 0;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 2rem;
    color: rgba(61, 126, 166, 0.2);
}

@media (max-width: 991px) {
    .founder-badge.badge-1 {
        right: 0;
    }

    .founder-badge.badge-2 {
        left: 0;
    }
}

.founder-icon-frame {
    background: linear-gradient(135deg, #1c4568 0%, #3d7ea6 100%);
    aspect-ratio: 1 / 1;
}

.founder-avatar-icon {
    font-size: 14rem;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
    transition: transform 0.5s ease;
}

.founder-img-wrapper:hover .founder-avatar-icon {
    transform: scale(1.1);
}