/********** Template CSS **********/
:root {
    --primary: #FE5D37;
    --light: #FFF5F3;
    --dark: #103741;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Heading ***/
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Lobster Two', cursive;
    font-weight: 700;
}

h5,
h6,
.h5,
.h6 {
    font-weight: 600;
}

.font-secondary {
    font-family: 'Lobster Two', cursive;
}


/*** Navbar ***/
.navbar .navbar-nav .nav-link {
    padding: 30px 15px;
    color: var(--dark);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: calc(100% - 15px);
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel::before,
.header-carousel::after,
.page-header::before,
.page-header::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    background: url(../img/bg-header-top.png) center center repeat-x;
    z-index: 1;
}

.header-carousel::after,
.page-header::after {
    height: 19px;
    top: auto;
    bottom: 0;
    background: url(../img/bg-header-bottom.png) center center repeat-x;
}

@media (max-width: 768px) {
    .header-carousel:not(.rgcs-hero-carousel) .owl-carousel-item {
        position: relative;
    }

    .header-carousel:not(.rgcs-hero-carousel) .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@keyframes rgcs-hero-nav-pulse {
    0%,
    100% {
        box-shadow: 0 6px 20px rgba(16, 55, 65, 0.15), 0 0 0 0 rgba(254, 93, 55, 0.35);
    }
    50% {
        box-shadow: 0 6px 20px rgba(16, 55, 65, 0.15), 0 0 0 12px rgba(254, 93, 55, 0);
    }
}

.header-carousel.rgcs-hero-carousel .owl-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 clamp(6px, 2.5vw, 22px);
    pointer-events: none;
    z-index: 6;
}

.header-carousel.rgcs-hero-carousel .owl-nav .owl-prev,
.header-carousel.rgcs-hero-carousel .owl-nav .owl-next {
    pointer-events: auto;
    margin: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 2px solid rgba(254, 93, 55, 0.45) !important;
    color: var(--primary) !important;
    font-size: 1.3rem;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    animation: rgcs-hero-nav-pulse 2.4s ease-in-out infinite;
}

.header-carousel.rgcs-hero-carousel .owl-nav .owl-next {
    animation-delay: 0.35s;
}

@media (prefers-reduced-motion: reduce) {
    .header-carousel.rgcs-hero-carousel .owl-nav .owl-prev,
    .header-carousel.rgcs-hero-carousel .owl-nav .owl-next {
        animation: none;
    }
}

.header-carousel.rgcs-hero-carousel .owl-nav .owl-prev:hover,
.header-carousel.rgcs-hero-carousel .owl-nav .owl-next:hover {
    transform: scale(1.12);
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    animation: none;
}

.header-carousel.rgcs-hero-carousel .owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    margin: 0;
    z-index: 5;
}

.header-carousel.rgcs-hero-carousel .owl-dot span {
    transition: transform 0.25s ease, background 0.25s ease;
}

.header-carousel.rgcs-hero-carousel .owl-dot.active span,
.header-carousel.rgcs-hero-carousel .owl-dot:hover span {
    background: var(--primary) !important;
    transform: scale(1.12);
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** About ***/
.about-img img {
    transition: .5s;
}

.about-img img:hover {
    background: var(--primary) !important;
}


/*** Classes ***/
.classes-item {
    transition: .5s;
}

.classes-item:hover {
    margin-top: -10px;
}


/*** Team ***/
.team-item .team-text {
    position: absolute;
    width: 250px;
    height: 250px;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #FFFFFF;
    border: 17px solid var(--light);
    border-radius: 250px;
    transition: .5s;
}

.team-item:hover .team-text {
    border-color: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 45px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    border-color: var(--primary);
    background: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 16px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary) !important;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--primary) !important;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


/*** Signature International School (rgcs-* layout classes) — header, top bar, hero, kids sections ***/
:root {
    --rgcs-sun: #ffd93d;
    --rgcs-mint: #6ee7d8;
    --rgcs-lilac: #c4b5fd;
    --rgcs-header-h: 118px;
}

body.rgcs-site {
    padding-top: var(--rgcs-header-h);
}

@media (max-width: 991.98px) {
    body.rgcs-site {
        --rgcs-header-h: 104px;
    }
}

/* Ensures main wrapper stays white (overrides accidental .bg-white edits in bundled CSS) */
.rgcs-page-root {
    background-color: #fff !important;
}

.rgcs-fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: #fff;
    transition: box-shadow 0.35s ease;
}

.rgcs-fixed-header.rgcs-header-scrolled {
    box-shadow: 0 8px 28px rgba(16, 55, 65, 0.12);
}

.rgcs-topbar {
    background: linear-gradient(105deg, var(--dark) 0%, #1a5c6e 45%, #c73d2b 100%);
    font-size: 0.875rem;
}

.rgcs-topbar-social .btn-rgcs-social {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: background 0.25s ease, transform 0.2s ease;
}

.rgcs-topbar-social .btn-rgcs-social:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.rgcs-marquee-wrap {
    overflow: hidden;
    min-width: 0;
    flex: 1 1 auto;
    padding-left: 4px;
    mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.rgcs-marquee-track {
    display: flex;
    width: max-content;
    animation: rgcs-marquee-x 32s linear infinite;
}

.rgcs-marquee-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-right: 2rem;
    white-space: nowrap;
}

.rgcs-marquee-dot {
    opacity: 0.55;
}

@keyframes rgcs-marquee-x {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rgcs-marquee-track {
        animation: none;
    }
}

.rgcs-main-nav {
    background: linear-gradient(180deg, #fff 0%, #fffaf8 100%);
    border-bottom: 3px solid var(--primary);
    box-shadow: 0 4px 0 rgba(254, 93, 55, 0.12);
}

.rgcs-brand-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #ff8a65);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 6px 16px rgba(254, 93, 55, 0.35);
}

.rgcs-brand-name {
    font-family: 'Lobster Two', cursive;
    font-size: 1.15rem;
    color: var(--dark);
}

@media (min-width: 576px) {
    .rgcs-brand-name {
        font-size: 1.35rem;
    }
}

.rgcs-brand-sub {
    color: #6c757d;
    font-weight: 500;
}

/* Mobile: desktop-only collapse (bottom app bar + offcanvas for links) */
@media (max-width: 991.98px) {
    .rgcs-main-nav #navbarCollapse {
        display: none !important;
    }
}

.rgcs-nav-shell {
    position: relative;
    flex-wrap: nowrap;
}

.rgcs-nav-toggler {
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: linear-gradient(145deg, #fff5f2 0%, #ffe8e0 100%);
    box-shadow: 0 2px 0 rgba(254, 93, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rgcs-nav-toggler:focus {
    box-shadow: 0 0 0 3px rgba(254, 93, 55, 0.25);
}

.rgcs-nav-toggler:hover {
    transform: scale(1.04);
    background: linear-gradient(145deg, #fff 0%, #ffe0d5 100%);
}

.rgcs-toggler-bars {
    font-size: 1.15rem;
    color: var(--dark);
}

/* Desktop + tablet: premium underline hover (no big pill) */
.rgcs-main-nav .rgcs-nav-links .nav-item {
    overflow: visible;
}

.rgcs-main-nav .rgcs-nav-links .nav-link {
    position: relative;
    z-index: 1;
    border-radius: 0;
    margin: 0;
    background: transparent !important;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color 0.25s ease;
}

.rgcs-main-nav .rgcs-nav-links .nav-link:not(.dropdown-toggle)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.25rem;
    width: 0;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #ffd93d 0%, var(--primary) 55%, #ff8fab 100%);
    transform: translateX(-50%);
    transition: width 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
    opacity: 0;
    box-shadow: 0 2px 8px rgba(254, 93, 55, 0.35);
}

.rgcs-main-nav .rgcs-nav-links .nav-link:not(.dropdown-toggle):hover::after,
.rgcs-main-nav .rgcs-nav-links .nav-link:not(.dropdown-toggle).active::after {
    width: 78%;
    max-width: 3.25rem;
    opacity: 1;
}

.rgcs-main-nav .rgcs-nav-links .nav-link:hover,
.rgcs-main-nav .rgcs-nav-links .nav-link.active {
    color: var(--primary) !important;
}

.rgcs-main-nav .rgcs-nav-links .dropdown-toggle::after {
    opacity: 0.85;
}

.rgcs-main-nav .rgcs-nav-links .dropdown-toggle:hover,
.rgcs-main-nav .rgcs-nav-links .dropdown-toggle.show {
    color: var(--primary) !important;
}

.rgcs-nav-cta {
    background: var(--dark);
    color: #fff !important;
    border: none;
    font-weight: 600;
}

.rgcs-nav-cta:hover {
    background: var(--primary);
    color: #fff !important;
}

@keyframes rgcs-cta-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(254, 93, 55, 0.45);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(254, 93, 55, 0);
    }
}

.rgcs-nav-cta--pulse {
    animation: rgcs-cta-pulse 2.2s ease-out infinite;
}

.rgcs-main-nav .rgcs-nav-contact-link {
    font-weight: 600;
    position: relative;
}

.rgcs-main-nav .rgcs-nav-contact-link::after {
    content: "";
    position: absolute;
    left: 0.35rem;
    right: 0.35rem;
    bottom: 0.2rem;
    height: 2px;
    border-radius: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s ease;
}

.rgcs-main-nav .rgcs-nav-contact-link:hover::after,
.rgcs-main-nav .rgcs-nav-contact-link.active::after {
    transform: scaleX(1);
}

.rgcs-hero-wrap {
    margin-top: 0;
}

/* Hero: height follows image aspect ratio (any mobile/desktop export size). Owl adds .owl-height on .owl-stage-outer. */
.header-carousel .owl-carousel-item.rgcs-hero-slide {
    min-height: 0;
    max-height: none;
}

.rgcs-hero-slide {
    overflow: hidden;
}

.rgcs-hero-slide picture {
    display: block;
    line-height: 0;
}

.rgcs-hero-img {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

@media (max-width: 767.98px) {
    .header-carousel.rgcs-hero-carousel .owl-nav .owl-prev,
    .header-carousel.rgcs-hero-carousel .owl-nav .owl-next {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}

.rgcs-section-soft {
    background: linear-gradient(180deg, #fff 0%, var(--light) 100%);
}

.rgcs-kicker {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.rgcs-icon-bubble {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--light);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.rgcs-kid-card {
    border: 2px solid transparent;
    box-shadow: 0 12px 30px rgba(16, 55, 65, 0.08);
    transition: transform 0.3s ease, border-color 0.3s ease;
    background: #fff;
}

.rgcs-kid-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
}

.rgcs-kc-1 {
    border-top: 4px solid #4ecdc4;
}

.rgcs-kc-2 {
    border-top: 4px solid #ffd93d;
}

.rgcs-kc-3 {
    border-top: 4px solid #ff8fab;
}

.rgcs-kc-4 {
    border-top: 4px solid #a78bfa;
}

.rgcs-kid-icon {
    width: 56px;
    height: 56px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #ff8a65);
}

.rgcs-strip-wave {
    background: linear-gradient(110deg, #103741 0%, #1a6b7a 40%, #fe5d37 100%);
}

.rgcs-mini-tile {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
}

.rgcs-cta-card {
    border: 3px solid rgba(254, 93, 55, 0.25);
}

.rgcs-contact-banner {
    background: linear-gradient(180deg, var(--light) 0%, #fff 100%);
}

.rgcs-banner-ico {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--primary);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 8px 20px rgba(254, 93, 55, 0.15);
}

.rgcs-topbar-inner {
    flex-wrap: nowrap;
    gap: 0.35rem;
    align-items: center;
}

.rgcs-topbar-social {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    padding-right: 6px;
    margin-right: 2px;
    background: linear-gradient(90deg, rgba(16, 55, 65, 0.35) 0%, transparent 100%);
}

@media (max-width: 575.98px) {
    .rgcs-marquee-content {
        font-size: 0.7rem;
        gap: 0.55rem;
        padding-right: 0.75rem;
    }

    .rgcs-topbar-social .btn-rgcs-social {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.68rem;
    }
}

.rgcs-brand-link {
    flex-shrink: 0;
    min-width: 0;
    max-width: calc(100% - 56px);
}

@media (min-width: 992px) {
    .rgcs-brand-link {
        max-width: min(280px, 42vw);
    }
}

/* Tighter nav than template default so links don’t collide with logo */
.rgcs-main-nav.navbar .navbar-nav .nav-link {
    padding: 0.7rem 0.65rem;
}

@media (min-width: 992px) {
    .rgcs-main-nav.navbar .navbar-nav .nav-link {
        padding: 1.1rem 0.75rem;
    }
}

.rgcs-main-nav .navbar-nav {
    margin-top: 0;
    border-top: none;
}

@media (max-width: 991.98px) {
    .rgcs-main-nav .rgcs-nav-collapse {
        flex-basis: 100%;
        margin-top: 0.65rem;
        padding: 0.35rem 0.5rem 0.85rem;
        border-radius: 0 0 18px 18px;
        background: linear-gradient(180deg, #fff 0%, #fff8f5 100%);
        border: 1px solid rgba(254, 93, 55, 0.18);
        border-top: 2px dashed rgba(254, 93, 55, 0.25);
        box-shadow: 0 16px 36px rgba(16, 55, 65, 0.08);
    }

    .rgcs-main-nav .rgcs-nav-links .nav-link:not(.dropdown-toggle)::after {
        display: none;
    }

    .rgcs-main-nav .rgcs-nav-links .nav-link {
        text-align: center;
        border-radius: 14px;
        margin: 0.2rem 0;
        padding: 0.7rem 1rem !important;
    }

    .rgcs-main-nav .rgcs-nav-links .nav-link:hover,
    .rgcs-main-nav .rgcs-nav-links .nav-link.active {
        background: linear-gradient(90deg, rgba(255, 217, 61, 0.22), rgba(254, 93, 55, 0.1)) !important;
        transform: none;
    }

    .rgcs-main-nav .dropdown-menu {
        text-align: center;
        border-radius: 14px;
        border: 1px solid rgba(16, 55, 65, 0.08);
        margin-top: 0.25rem !important;
    }
}

.rgcs-logo-img {
    height: 44px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

@media (min-width: 992px) {
    .rgcs-logo-img {
        height: 52px;
        max-width: 260px;
    }
}

@media (max-width: 767.98px) {
    .rgcs-logo-img {
        height: 40px;
        max-width: 180px;
    }
}

.rgcs-logo-fallback {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #ff8a65);
    color: #fff;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.rgcs-page-banner .rgcs-page-banner-title {
    font-family: 'Lobster Two', cursive;
}

.rgcs-counters-wrap {
    background: linear-gradient(180deg, #fff 0%, #f0faf9 100%);
}

.rgcs-counter-card {
    background: #fff;
    border: 1px solid #ff0040;
    box-shadow: 0 10px 28px rgba(16, 55, 65, 0.06);
}

.rgcs-counter-num {
    font-family: 'Lobster Two', cursive;
    color: var(--dark);
    font-size: 1.85rem;
}

.rgcs-facility-circles-section {
    background: #fff;
}

.rgcs-facility-section-title {
    font-family: 'Lobster Two', cursive;
    color: var(--dark);
}

.rgcs-fcircle {
    position: relative;
    max-width: 240px;
    text-align: center;
}

.rgcs-fcircle-ear {
    position: relative;
    width: 78px;
    height: 78px;
    border: solid 1px;
    margin: 0 auto -40px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(16, 55, 65, 0.12);
    z-index: 2;
}

.rgcs-fcircle-ear::before,
.rgcs-fcircle-ear::after {
    content: "";
    position: absolute;
    top: -10px;
    width: 22px;
    border: solid 1px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.rgcs-fcircle-ear::before {
    left: 4px;
    transform: rotate(-18deg);
}

.rgcs-fcircle-ear::after {
    right: 4px;
    transform: rotate(18deg);
}

.rgcs-fcircle-icon {
    font-size: 1.65rem;
    position: relative;
    z-index: 1;
}

.rgcs-fcircle-body {
    border-radius: 50%;
    aspect-ratio: 1;
    padding: 3.25rem 1.1rem 1.35rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(16, 55, 65, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.rgcs-fcircle-title {
    font-family: 'Caveat', cursive;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.rgcs-fcircle-desc {
    color: #5a6d70;
    line-height: 1.45;
}

.rgcs-fcircle--orange .rgcs-fcircle-icon {
    color: #e85d2c;
}

.rgcs-fcircle--orange .rgcs-fcircle-title {
    color: #c73d2b;
}

.rgcs-fcircle--orange .rgcs-fcircle-body {
    background: #fff0e8;
    border-color: rgba(231, 93, 44, 0.55);
}

.rgcs-fcircle--green .rgcs-fcircle-icon {
    color: #1b8f5a;
}

.rgcs-fcircle--green .rgcs-fcircle-title {
    color: #146b44;
}

.rgcs-fcircle--green .rgcs-fcircle-body {
    background: #e8faf3;
    border-color: rgba(27, 143, 90, 0.5);
}

.rgcs-fcircle--yellow .rgcs-fcircle-icon {
    color: #c9a227;
}

.rgcs-fcircle--yellow .rgcs-fcircle-title {
    color: #a67c00;
}

.rgcs-fcircle--yellow .rgcs-fcircle-body {
    background: #fff9e6;
    border-color: rgba(201, 162, 39, 0.55);
}

.rgcs-fcircle--blue .rgcs-fcircle-icon {
    color: #1a8fb8;
}

.rgcs-fcircle--blue .rgcs-fcircle-title {
    color: #0f6f92;
}

.rgcs-fcircle--blue .rgcs-fcircle-body {
    background: #e8f7fc;
    border-color: rgba(26, 143, 184, 0.5);
}

.rgcs-subject-pill {
    display: inline-block;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    background: #fff;
    border: 2px solid rgba(254, 93, 55, 0.35);
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 14px rgba(254, 93, 55, 0.1);
}

.rgcs-adv-card {
    background: #fff;
    border-color: rgba(16, 55, 65, 0.1) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rgcs-adv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(16, 55, 65, 0.1);
}

.rgcs-appointment-home {
    background: linear-gradient(180deg, #f6faf9 0%, #fff 100%);
}

.rgcs-appointment-panel {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(16, 55, 65, 0.08);
}

.rgcs-appointment-kicker {
    letter-spacing: 0.1em;
    font-size: 0.68rem;
}

.rgcs-appointment-form-wrap .rgcs-ap-float .form-control {
    border: 1px solid rgba(16, 55, 65, 0.12);
    background: #fafdfd;
}

.rgcs-appointment-form-wrap .rgcs-ap-float .form-control:focus {
    border-color: rgba(254, 93, 55, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(254, 93, 55, 0.12);
    background: #fff;
}

.rgcs-appointment-form-wrap .rgcs-ap-float label {
    color: #6c757d;
}

.rgcs-appointment-form-wrap .rgcs-ap-textarea {
    min-height: 72px !important;
    height: 72px !important;
}

.rgcs-appointment-visual {
    position: relative;
    min-height: 200px;
    background: #e8f2f0;
}

.rgcs-appointment-rotator {
    position: absolute;
    inset: 0;
}

.rgcs-ap-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.85s ease, transform 1.1s ease;
    pointer-events: none;
}

.rgcs-ap-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.rgcs-appointment-visual-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    background: linear-gradient(180deg, transparent, rgba(16, 55, 65, 0.55));
    z-index: 2;
}

.rgcs-ap-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    border: none;
    padding: 0;
    transition: width 0.25s ease, background 0.25s ease;
}

.rgcs-ap-dot.is-active {
    width: 18px;
    background: #fff;
}

@media (min-width: 992px) {
    .rgcs-appointment-visual {
        height: 100%;
        min-height: 220px;
    }

    .rgcs-appointment-panel .row {
        min-height: 260px;
    }
}

@media (max-width: 991.98px) {
    .rgcs-appointment-visual {
        min-height: 180px;
        max-height: 220px;
    }
}

.rgcs-team-home {
    background: linear-gradient(180deg, #fafcfb 0%, #fff 55%);
    border-top: 1px solid rgba(16, 55, 65, 0.06);
}

.rgcs-team-kicker {
    letter-spacing: 0.12em;
}

.rgcs-team-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(16, 55, 65, 0.08);
    box-shadow: 0 10px 28px rgba(16, 55, 65, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rgcs-team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(16, 55, 65, 0.11);
}

.rgcs-team-card-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--light);
}

.rgcs-team-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rgcs-team-card-body {
    padding: 1.1rem 1.2rem 1.25rem;
}

@media (max-width: 991.98px) {
    body.rgcs-site {
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0));
    }

    .rgcs-mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1040;
        display: flex;
        align-items: stretch;
        justify-content: space-between;
        gap: 2px;
        padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0));
        background: linear-gradient(180deg, #fff 0%, #f8fafb 100%);
        border-top: 1px solid rgba(16, 55, 65, 0.14);
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
    }

    .rgcs-mbn-item {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        padding: 4px 2px;
        font-size: 0.62rem;
        font-weight: 600;
        color: #5a6d70;
        text-decoration: none;
        background: transparent;
        border: none;
        border-radius: 12px;
        line-height: 1.1;
    }

    .rgcs-mbn-item i {
        font-size: 1.05rem;
        color: var(--dark);
    }

    .rgcs-mbn-item--active {
        color: var(--primary);
        background: rgba(254, 93, 55, 0.08);
    }

    .rgcs-mbn-item--active i {
        color: var(--primary);
    }

    .rgcs-mbn-item--center {
        flex: 1.15;
        padding-top: 0;
    }

    .rgcs-mbn-fab {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        margin-top: -18px;
        margin-bottom: 2px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(145deg, var(--primary), #ff8a65);
        color: #fff !important;
        box-shadow: 0 6px 18px rgba(254, 93, 55, 0.45);
        border: 3px solid #fff;
    }

    .rgcs-mbn-fab i {
        font-size: 1.15rem;
        color: #fff !important;
    }

    .rgcs-mobile-drawer .offcanvas-body {
        padding-bottom: 1.5rem;
    }

    .rgcs-thought-fab {
        bottom: calc(84px + env(safe-area-inset-bottom, 0));
    }

    .rgcs-idcard-pop {
        bottom: 84px;
    }
}

@media (min-width: 992px) {
    .rgcs-mobile-bottom-nav,
    .rgcs-mobile-drawer {
        display: none !important;
    }
}

/* Compact map + homepage video row */
.rgcs-map-frame {
    border: 0;
    width: 100%;
    display: block;
    border-radius: 12px;
    min-height: 180px;
    max-height: 220px;
}

.rgcs-map-frame--tall {
    min-height: 240px;
    max-height: 280px;
}

.rgcs-home-video-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(16, 55, 65, 0.12);
    background: #000;
}

.rgcs-home-video-wrap iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.rgcs-thought-fab {
    position: fixed;
    left: 14px;
    bottom: 92px;
    z-index: 1035;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.rgcs-thought-toggle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd93d, #ffb347);
    color: var(--dark);
    border: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}

.rgcs-thought-toggle:hover {
    color: var(--dark);
    filter: brightness(1.05);
}

.rgcs-thought-panel {
    max-width: 260px;
    background: #fff;
    border-radius: 16px;
    padding: 0.85rem 1rem;
    border: 2px solid rgba(254, 93, 55, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    pointer-events: none;
}

.rgcs-thought-fab.is-open .rgcs-thought-panel,
.rgcs-thought-fab:hover .rgcs-thought-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

@media (hover: none) {
    .rgcs-thought-fab:hover .rgcs-thought-panel {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .rgcs-thought-fab.is-open .rgcs-thought-panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

.rgcs-thought-label {
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--primary);
}

.rgcs-thought-text {
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 500;
}

.rgcs-idcard-pop {
    position: fixed;
    right: 14px;
    bottom: 88px;
    z-index: 1036;
    max-width: 248px;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.rgcs-idcard-pop--hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(110%);
}

.rgcs-idcard-pop.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.rgcs-idcard-inner {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, #103741 0%, #1a6b7a 100%);
    border: 2px solid #ffd93d;
    color: #fff;
    padding: 0;
}

.rgcs-idcard-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    filter: invert(1);
    opacity: 0.85;
}

.rgcs-idcard-photo {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    font-size: 1.45rem;
    color: #ffd93d;
}

.rgcs-idcard-body {
    padding: 0.65rem 0.85rem 0.75rem;
    background: #fff;
    color: var(--dark);
}

.rgcs-idcard-school {
    color: var(--primary);
    font-weight: 700;
}

.rgcs-idcard-msg {
    font-weight: 700;
    color: var(--dark);
}

.rgcs-idcard-snooze {
    color: #6c757d;
    cursor: pointer;
}

.team-profile-card {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 36px rgba(16, 55, 65, 0.1);
    border: 1px solid rgba(16, 55, 65, 0.08);
    height: 100%;
}

.team-profile-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.team-profile-body {
    padding: 1.25rem 1.35rem 1.5rem;
}

.rgcs-gallery-img {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(16, 55, 65, 0.1);
}

.rgcs-gallery-img img {
    transition: transform 0.4s ease;
}

.rgcs-gallery-img:hover img {
    transform: scale(1.06);
}
