/*** Type roles
    Headings (h1–h3, display, hero, section titles): Cormorant Garamond
    Body, nav, buttons, forms, FAQs, footer, service copy: Source Sans 3
***/
:root {
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --text-body: #3D2B45;
    --text-measure: 65ch;
    --bs-primary: #4054A4;
    --bs-secondary: #A185C1;
    --bs-light: #E8EDF6;
    --bs-dark: #3D2B45;
    --page-wash: #F3F6FB;
    --periwinkle: #ADC1E3;
    --accent-electric: #0089CF;
    --accent-lavender: #A185C1;
    --accent-violet: #7A499A;
    --accent-mist: #D4C8E8;
    --gradient-primary: linear-gradient(135deg, #35468F 0%, #4054A4 48%, #6B7BC4 100%);
    --gradient-dark: linear-gradient(160deg, #2A1E32 0%, #3D2B45 100%);
    --gradient-light: linear-gradient(135deg, #F7F8FC 0%, #E8EDF6 100%);
    --gradient-fluid-hero: radial-gradient(ellipse at 12% 88%, rgba(161, 133, 193, 0.30) 0%, transparent 52%),
        radial-gradient(ellipse at 88% 10%, rgba(0, 137, 207, 0.11) 0%, transparent 42%),
        linear-gradient(108deg, rgba(42, 30, 50, 0.84) 0%, rgba(64, 84, 164, 0.58) 48%, rgba(122, 73, 154, 0.30) 78%, rgba(173, 193, 227, 0.18) 100%);
    --gradient-fluid-quote: radial-gradient(ellipse at 16% 0%, rgba(173, 193, 227, 0.38) 0%, transparent 50%),
        radial-gradient(ellipse at 92% 100%, rgba(161, 133, 193, 0.36) 0%, transparent 48%),
        linear-gradient(135deg, #35468F 0%, #4054A4 42%, #7A499A 100%);
    --gradient-fluid-footer: radial-gradient(ellipse at 82% -8%, rgba(122, 73, 154, 0.28) 0%, transparent 50%),
        radial-gradient(ellipse at 0% 100%, rgba(64, 84, 164, 0.32) 0%, transparent 48%),
        linear-gradient(165deg, #2A2348 0%, #3D2B45 55%, #2F3A78 100%);
    --fluid-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    --shadow-soft: 0 10px 40px rgba(64, 84, 164, 0.14);
    --shadow-hover: 0 20px 60px rgba(64, 84, 164, 0.22);
    --shadow-card: 0 6px 24px rgba(61, 43, 69, 0.07);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --glow-primary: 0 0 30px rgba(64, 84, 164, 0.28);
}

/*** Base Typography ***/
html {
    overflow-x: hidden;
    scroll-padding-bottom: 5.5rem;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0;
    overflow-x: hidden;
    max-width: 100%;
    background-color: var(--page-wash);
    color: var(--text-body);
}

@media (min-width: 768px) {
    body {
        font-size: 1.125rem;
    }
}

p, li, label, input, textarea, select, button,
.btn, .nav-link, .navbar-nav, .dropdown-item,
.accordion-body, .accordion-button, .form-control,
.form-floating > label, .slogan, .brand-slogan, .breadcrumb {
    font-family: var(--font-sans);
}

p {
    line-height: 1.7;
    letter-spacing: 0;
    font-weight: 400;
    color: var(--text-body);
}

a {
    font-family: var(--font-sans);
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
.display-1 a, .display-2 a, .display-3 a, .display-4 a {
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4 {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: -0.015em;
}

.navbar-brand {
    white-space: normal;
    min-width: 0;
    flex: 1 1 auto;
    margin-right: 0.5rem;
    max-width: calc(100% - 3.25rem);
}

.navbar-brand .main-title {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

/*** Spinner Start ***/
#spinner-container:empty {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--bs-light);
}

#spinner-container.is-done {
    display: none;
    pointer-events: none;
}

.spinner-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-light);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0s linear 0.7s;
}

.spinner-screen.show {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0s linear 0s;
}

.spinner-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

.spinner-mark {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(64, 84, 164, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spinnerBreathe 2.4s ease-in-out infinite;
}

.spinner-mark img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.spinner-brand {
    display: block;
    margin-top: 1.35rem;
    color: var(--bs-dark);
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.spinner-loading {
    margin: 0.35rem 0 0;
    color: #6B5F73;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.spinner-bar {
    width: 7.5rem;
    height: 2px;
    margin-top: 1.5rem;
    overflow: hidden;
    background: rgba(64, 84, 164, 0.16);
    border-radius: 99px;
}

.spinner-bar span {
    display: block;
    width: 40%;
    height: 100%;
    background: var(--bs-primary);
    border-radius: 99px;
    animation: spinnerSweep 1.6s ease-in-out infinite;
}

@keyframes spinnerBreathe {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(64, 84, 164, 0.12); }
    50% { transform: scale(1.04); box-shadow: 0 0 0 12px rgba(64, 84, 164, 0); }
}

@keyframes spinnerSweep {
    0% { transform: translateX(-160%); }
    100% { transform: translateX(360%); }
}

@media (prefers-reduced-motion: reduce) {
    .spinner-mark,
    .spinner-bar span {
        animation: none;
    }

    .spinner-screen,
    .spinner-screen.show {
        transition: opacity 0.2s ease;
    }
}

/*** Spinner End ***/

.back-to-top {
    position: fixed !important;
    right: 30px !important;
    bottom: 30px !important;
    transition: var(--transition-smooth);
    z-index: 9999 !important;
    box-shadow: var(--shadow-soft);
}

.whatsapp-icon,
.back-to-top {
    flex-shrink: 0;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.whatsapp-icon {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
    position: fixed !important;
    left: 30px !important;
    bottom: 30px !important;
    transition: var(--transition-smooth);
    z-index: 9999 !important;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    animation: whatsappBounce 2s ease-in-out infinite;
}

.whatsapp-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: whatsappRipple 2s ease-out infinite;
    z-index: -1;
}

.whatsapp-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.5);
    animation: none;
}

@keyframes whatsappBounce {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    }
    50% { 
        transform: scale(1.1); 
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    }
}

@keyframes whatsappRipple {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/*** Focus + link accents ***/
:focus-visible {
    outline: 2px solid var(--accent-violet);
    outline-offset: 3px;
}

.btn:focus-visible,
.form-control:focus-visible,
.nav-link:focus-visible {
    outline: 2px solid var(--accent-violet);
    outline-offset: 3px;
}

.contact-aside-list a:hover,
.bg-breadcrumb .breadcrumb-item a:hover {
    color: var(--accent-electric);
}

/*** Button Start ***/
.btn {
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn.rounded-pill.py-3 {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
    padding-left: 1.85rem;
    padding-right: 1.85rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    box-shadow: 0 4px 15px rgba(64, 84, 164, 0.3);
}

.btn.btn-primary:hover {
    background-position: 100% 0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(64, 84, 164, 0.4);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
    box-shadow: var(--shadow-card);
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn.btn-dark {
    color: var(--bs-white);
    border: none;
    background: var(--gradient-dark);
}

.btn.btn-dark:hover {
    color: var(--bs-primary);
    background: var(--bs-light);
    transform: translateY(-2px);
}


/*** Topbar Start ***/
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 10px;
    border: 0;
    transition: .5s;
    opacity: 1;
}

/*** Topbar End ***/


/*** Navbar Start ***/
.nav-bar {
    background: rgba(243, 246, 251, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(64, 84, 164, 0.08);
    box-shadow: none;
    position: relative;
    z-index: 1000;
}

.navbar .dropdown-menu {
    z-index: 1001;
}

.navbar-light .navbar-brand img {
    max-height: 52px;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.nav-bar .navbar-light .navbar-brand img {
    max-height: 56px;
}

.navbar .navbar-nav .nav-item .nav-link {
    padding: 0;
}

.navbar .navbar-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 8px 14px;
}

.navbar-light .navbar-nav .nav-link {
    font-family: var(--font-sans);
    color: var(--text-body);
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0;
    position: relative;
}

.navbar-light .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: var(--bs-primary);
    transition: width 0.3s ease;
}

.navbar-light .navbar-nav .nav-item:hover .nav-link,
.navbar-light .navbar-nav .nav-item.active .nav-link {
    color: var(--bs-primary);
}

.navbar-light .navbar-nav .nav-item:hover .nav-link::after,
.navbar-light .navbar-nav .nav-item.active .nav-link::after {
    width: 100%;
}

.navbar .nav-end-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.navbar .nav-social {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
    border: 1px solid rgba(64, 84, 164, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.navbar .nav-social:hover {
    color: #fff;
    background: var(--bs-primary);
    border-color: transparent;
}

.navbar .nav-cta {
    white-space: nowrap;
    padding: 0.7rem 1.4rem;
    margin-left: 0.5rem;
}

.sticky-top .nav-bar {
    box-shadow: 0 8px 24px rgba(61, 43, 69, 0.06);
}

@media (max-width: 991px) {
    .navbar {
        padding: 20px 0;
        flex-wrap: wrap;
        align-items: center;
    }

    .navbar-toggler {
        flex-shrink: 0;
        margin-left: auto;
    }

    .navbar .navbar-collapse {
        width: 100%;
        flex-basis: 100%;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-width: thin;
        scrollbar-color: var(--bs-primary) transparent;
    }

    .navbar .navbar-collapse::-webkit-scrollbar {
        width: 4px;
    }

    .navbar .navbar-collapse::-webkit-scrollbar-track {
        background: transparent;
    }

    .navbar .navbar-collapse::-webkit-scrollbar-thumb {
        background: var(--bs-primary);
        border-radius: 4px;
    }

    .navbar .navbar-nav .dropdown-menu {
        scrollbar-width: thin;
        scrollbar-color: var(--bs-primary) transparent;
    }

    .navbar .navbar-nav .dropdown-menu::-webkit-scrollbar {
        width: 4px;
    }

    .navbar .navbar-nav .dropdown-menu::-webkit-scrollbar-track {
        background: transparent;
    }

    .navbar .navbar-nav .dropdown-menu::-webkit-scrollbar-thumb {
        background: var(--bs-primary);
        border-radius: 4px;
    }

    .navbar .navbar-nav .nav-link,
    .navbar .navbar-nav .nav-item .nav-link {
        padding: 0;
        color: var(--text-body);
    }

    .navbar .navbar-nav .nav-item {
        display: flex;
        padding: 15px 20px;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        width: 100%;
    }

    .navbar .navbar-nav .nav-btn {
        display: flex;
        justify-content: start;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        margin-top: 12px;
        padding-bottom: 8px;
        background: transparent;
        border-radius: 0;
    }

    .navbar .nav-end-actions {
        margin: 8px 20px 16px;
        padding-top: 0;
        border-top: 0;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .navbar .nav-social {
        display: inline-flex;
    }

    .navbar .nav-cta {
        margin: 0;
        display: inline-flex;
        width: 100%;
        justify-content: center;
        white-space: nowrap;
    }

    .navbar-light .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar .navbar-nav .dropdown-menu {
        position: static;
        float: none;
        max-height: 250px;
        overflow-y: auto;
        margin-left: 15px;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 8px 15px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu .dropdown-item {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
    padding: 8px 18px;
    color: var(--text-body);
}

.dropdown .dropdown-menu .dropdown-item:hover {
    background: transparent;
    color: var(--bs-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (min-width: 992px) {
    .navbar {
        padding: 14px 0;
    }

    .navbar-brand {
        flex: 0 1 auto;
        max-width: none;
        margin-right: 1rem;
    }

    .navbar .nav-btn {
        display: flex;
        align-items: center;
        justify-content: end;
    }

    .navbar .navbar-nav {
        width: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        background: transparent;
        border-radius: 0;
        gap: 2px;
    }

    .navbar .navbar-nav .nav-item {
        padding: 8px 10px;
    }

    .navbar .navbar-nav .nav-btn {
        width: 100%;
        display: flex;
        margin-left: auto;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: none;
        border: 0;
        border-radius: 0;
        box-shadow: 0 12px 32px rgba(61, 43, 69, 0.08);
        background: #fff;
        padding: 10px 0;
        min-width: 240px;
        transition: opacity 0.2s ease, margin-top 0.2s ease;
        opacity: 0;
        margin-top: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        visibility: visible;
        margin-top: 8px;
        opacity: 1;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar .navbar-nav .nav-item {
        padding: 6px 6px;
    }

    .navbar-light .navbar-nav .nav-link {
        font-size: 0.88rem;
    }

    .navbar .nav-social {
        display: none;
    }

    .navbar .nav-cta {
        padding: 0.55rem 1.05rem;
        margin-left: 0.2rem;
    }
}

/*** Navbar End ***/


/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item {
    height: 700px;
    position: relative;
}

.header-carousel .header-carousel-item.bg-primary {
    background: var(--gradient-primary) !important;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--bs-primary);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 30px;
}

.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    right: 50%;
    transform: translateX(-50%);
    margin-right: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--gradient-primary);
    color: var(--bs-white);
    transform: translateX(-50%) scale(1.1);
    box-shadow: var(--glow-primary);
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(64, 84, 164, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    align-items: center;
}

.header-carousel .carousel-caption h1 {
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.header-carousel .carousel-caption h1 span {
    color: var(--accent-mist);
}

.header-carousel .carousel-caption .badge {
    color: var(--bs-primary) !important;
}

.header-carousel .carousel-caption h4 {
    letter-spacing: 3px;
}

.header-carousel .calrousel-img img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.header-carousel .calrousel-img img:hover {
    transform: scale(1.02) translateY(-5px);
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }

    .header-carousel .header-carousel-item {
        height: 1300px;
    }
}

@media (max-width: 767px) {
    .main-title {
        font-size: 1.25rem;
    }

    .brand-slogan {
        font-size: 0.62rem;
        max-width: 100%;
    }

    .header-carousel .header-carousel-item {
        height: 950px;
    }

    .header-carousel .owl-nav .owl-prev {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }

    .header-carousel .owl-nav .owl-next {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}

/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    padding: 5.5rem 0 3.25rem;
    background: #E8EDF6;
    border-bottom: 1px solid rgba(64, 84, 164, 0.08);
    transition: 0.5s;
}

.bg-breadcrumb::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-image-url) center/cover no-repeat;
    opacity: 0.12;
    filter: grayscale(25%) saturate(70%);
    z-index: 0;
}

.bg-breadcrumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(232, 237, 246, 0.62) 0%, rgba(243, 246, 251, 0.94) 100%);
    z-index: 0;
}

.bg-breadcrumb .container {
    position: relative;
    z-index: 1;
    text-align: left !important;
    max-width: 760px !important;
    margin-left: auto;
    margin-right: auto;
}

.bg-breadcrumb .breadcrumb.justify-content-center {
    justify-content: flex-start !important;
}

.bacground-image-bottom::before {
    background-position: bottom !important;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
    flex-wrap: wrap;
    row-gap: 0.2rem;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-primary);
}

.bg-breadcrumb .display-4 {
    color: #3D2B45;
    font-weight: 600;
    text-shadow: none;
    overflow-wrap: break-word;
}

.bg-breadcrumb .breadcrumb-item {
    font-weight: 500;
    white-space: normal;
}

.bg-breadcrumb .breadcrumb-item a:hover {
    color: var(--bs-primary);
}

/*** Single Page Hero Header End ***/


/*** Feature Start ***/
.feature .feature-item {
    border-radius: 16px;
    background: var(--bs-white);
    transition: 0.5s;
    box-shadow: var(--shadow-card);
}

.feature .feature-item:hover {
    background: var(--bs-primary);
}

.feature .feature-item .feature-icon {
    position: relative;
    width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    background: var(--bs-light);
}

.feature .feature-item:hover .feature-icon i {
    z-index: 9;
}

.feature .feature-item .feature-icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    background: var(--bs-dark);
    transition: 0.5s;
    z-index: 1;
}

.feature .feature-item:hover .feature-icon::after {
    height: 100%;
}

.feature .feature-item .feature-icon {
    color: var(--bs-primary);
}

.feature .feature-item .feature-icon,
.feature .feature-item h4,
.feature .feature-item p {
    transition: 0.5s;
}

.feature .feature-item:hover .feature-icon {
    color: var(--bs-white);
}

.feature .feature-item:hover h4,
.feature .feature-item:hover p {
    color: var(--bs-white);
}

.feature .feature-item:hover a.btn {
    background: var(--bs-white);
    color: var(--bs-primary);
}

.feature .feature-item:hover a.btn:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

/*** Feature End ***/


/*** Service Start ***/
.service {
    position: relative;
    background: #ffffff;
}

.service::before {
    display: none;
}

.service .row {
    align-items: stretch;
}

.service .row > [class*="col-"] {
    display: flex;
}

.service .service-item {
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.service .service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service .service-content .service-content-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service .service-content .service-content-inner p {
    flex: 1;
}

.service .service-content .service-content-inner > div:last-child {
    margin-top: auto;
}

.service .service-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.service .service-item .service-img img {
    transition: var(--transition-smooth);
}

.service .service-item:hover .service-img img {
    transform: scale(1.1);
}

.service .service-item .service-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    background: linear-gradient(135deg, rgba(64, 84, 164, 0.3) 0%, rgba(161, 133, 193, 0.2) 100%);
    transition: var(--transition-smooth);
    z-index: 1;
}

.service .service-item:hover .service-img::after {
    height: 100%;
}

.service .service-item .service-img .service-icon {
    position: absolute;
    width: 70px;
    bottom: 0;
    right: 25px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    background: var(--bs-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 9;
}

.service .service-item .service-img .service-icon i {
    color: var(--bs-primary);
    transition: var(--transition-smooth);
}

.service .service-item:hover .service-img .service-icon i {
    transform: rotateY(360deg);
    color: var(--bs-white);
}

.service .service-item:hover .service-img .service-icon {
    bottom: 0;
    color: var(--bs-white);
    background: var(--gradient-primary);
    box-shadow: var(--glow-primary);
}

.service .service-content {
    position: relative;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    background: var(--bs-light);
}

.service .service-item .service-content .service-content-inner {
    position: relative;
    z-index: 9;
}

.service .service-item .service-content .service-content-inner .h4,
.service .service-item .service-content .service-content-inner p {
    transition: var(--transition-smooth);
}

.service .service-item:hover .service-content .service-content-inner .h4,
.service .service-item:hover .service-content .service-content-inner p {
    color: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary {
    color: var(--bs-primary);
    background: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}

.service .service-item:hover .service-content .service-content-inner .h4:hover {
    color: var(--bs-dark);
}

.service .service-item .service-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
    z-index: 1;
}

.service .service-item:hover .service-content::after {
    height: 100%;
}

/*** Service End ***/


/*** FAQs Start ***/
.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: #3D2B45;
    background: transparent;
    font-size: 1.15rem;
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: #3D2B45;
    background: transparent;
}

/*** FAQs End ***/


/*** Blog Start ***/
.blog .blog-item {
    border-radius: 14px;
    transition: 0.5s;
}

.blog .blog-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
}

.blog .blog-item:hover .blog-content {
    background: var(--bs-white);
}

.blog .blog-item .blog-img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(64, 84, 164, .2);
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
}

.blog .blog-item .blog-img .blog-categiry {
    position: absolute;
    bottom: 0;
    right: 0;
    border-top-left-radius: 10px;
    display: inline-flex;
    color: var(--bs-white);
    background: var(--bs-primary);
    z-index: 9;
}

.blog .blog-item .blog-content {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    background: var(--bs-light);
}

.blog .blog-item .blog-content a.btn {
    color: var(--bs-dark);
}

.blog .blog-item:hover .blog-content a.btn:hover {
    color: var(--bs-primary);
}

/*** Blog End ***/


/*** Team Start ***/
.team {
    position: relative;
    background: #ffffff;
}

.team::before {
    display: none;
}

.team .team-item {
    box-shadow: var(--shadow-card);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.team .team-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.team .team-item .team-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.team .team-item .team-img img {
    transition: var(--transition-smooth);
}

.team .team-item:hover .team-img img {
    transform: scale(1.08);
}

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    transition: var(--transition-smooth);
}

.team .team-item:hover .team-img::after {
    height: 100%;
    background: linear-gradient(135deg, rgba(64, 84, 164, 0.2) 0%, rgba(161, 133, 193, 0.2) 100%);
}

.team .team-item .team-img .team-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    margin-bottom: -100%;
    transition: var(--transition-smooth);
    z-index: 9;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.team .team-item:hover .team-img .team-icon {
    margin-bottom: 0;
}

.team .team-item .team-img .team-icon .btn {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.team .team-item .team-title {
    color: var(--bs-white);
    background: var(--gradient-primary);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    transition: var(--transition-smooth);
}

.team .team-item .team-title h4 {
    color: var(--bs-white);
}

.team .team-item:hover .team-title {
    background: var(--gradient-dark);
}

/*** Team End ***/


/*** Testimonial Start ***/
.testimonial {
    position: relative;
    background: #E8EDF6;
}

.testimonial::before {
    display: none;
}

.testimonial-carousel .owl-stage-outer {
    margin-top: 58px;
    margin-right: -1px;
}

.testimonial .testimonial-item {
    position: relative;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    overflow: hidden;
    height: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
}

.testimonial .testimonial-item .row {
    height: 100%;
}

.testimonial .testimonial-item .d-flex.flex-column {
    height: 100%;
    justify-content: space-between;
}

.testimonial-carousel .owl-stage {
    display: flex;
}

.testimonial-carousel .owl-item {
    display: flex;
    height: auto;
}

.testimonial-carousel .owl-item .testimonial-item {
    height: 100%;
    width: 100%;
}

.testimonial .testimonial-item::before {
    content: '\f10d';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    color: rgba(64, 84, 164, 0.1);
    z-index: 0;
}

.testimonial .testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial .testimonial-item .d-flex {
    position: relative;
    z-index: 1;
}

.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--gradient-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(64, 84, 164, 0.3);
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--gradient-dark);
    color: var(--bs-white);
    transform: translateX(-3px);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--gradient-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(64, 84, 164, 0.3);
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--gradient-dark);
    color: var(--bs-white);
    transform: translateX(3px);
}

/*** Testimonial End ***/


/*** Contact Start ***/
.contact .contact-img {
    position: relative;
}

/* .contact .contact-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
    animation-name: image-efects;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 0.5s
} */

@keyframes image-efects {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    25% {
        border-radius: 35% 65% 27% 73% / 71% 25% 75% 29%;
    }

    50% {
        border-radius: 41% 59% 45% 55% / 32% 21% 79% 68%;
    }

    75% {
        border-radius: 69% 31% 39% 61% / 70% 83% 17% 30%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

.contact .contact-img .contact-img-inner {
    position: relative;
    z-index: 9;
}

/*** Contact End ***/


/*** Footer Start ***/
.footer {
    background: var(--gradient-fluid-footer);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.07;
    background-image: var(--fluid-noise);
    z-index: 0;
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: var(--transition-smooth);
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    color: var(--bs-primary);
    padding-left: 5px;
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: var(--transition-smooth);
    color: #fff !important;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
    padding-left: 0;
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary) !important;
}

.footer .footer-item .footer-instagram {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.footer .footer-item .footer-instagram img {
    transition: var(--transition-smooth);
}

.footer .footer-item .footer-instagram:hover img {
    transform: scale(1.2);
}

.footer .footer-item .footer-instagram .footer-search-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    opacity: 0;
}

.footer .footer-item .footer-instagram:hover .footer-search-icon {
    opacity: 1;
    background: rgba(64, 84, 164, 0.7);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: none !important;
}

.footer .footer-item .footer-btn a i {
    color: #fff !important;
}

.footer .footer-item .footer-btn a:hover,
.footer .footer-item .footer-btn a.btn:hover {
    background: var(--bs-white) !important;
    border-color: transparent !important;
    padding-left: 0;
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary) !important;
}

.footer .btn-xl-square {
    background: var(--gradient-primary);
    box-shadow: var(--glow-primary);
}

.footer h4 {
    position: relative;
    padding-bottom: 15px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.footer .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: var(--transition-smooth);
}

.footer .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--bs-primary);
    box-shadow: 0 0 15px rgba(64, 84, 164, 0.2);
}

.footer .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/*** Footer End ***/


/*** copyright Start ***/
.copyright {
    background: var(--bs-dark);
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.copyright-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.copyright-copy,
.copyright-credits {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
}

.copyright a {
    text-decoration: underline;
    text-underline-offset: 3px;
    overflow-wrap: normal;
    word-break: normal;
}

.copyright-credits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

@media (min-width: 768px) {
    .copyright-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        gap: 1.5rem;
    }

    .copyright-credits {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 0.35rem 1.25rem;
        text-align: right;
    }
}

/*** copyright end ***/


.body-section {
    padding-top: 0 !important;
}

.footer-logo {
    max-height: 70px;
    margin-right: 10px;
    flex-shrink: 0;
}

.attribution-property {
    font-size: xx-small;
    color: #7d7d7d;
}

.footer-link {
    color: #dcdcdc;
}

.footer-link:hover {
    color: #dcdcdc;
    text-decoration: underline;
    /* optional: adds underline on hover */
}

.logo-icon {
    margin-right: 10px;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.main-title {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.2;
}

.slogan {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0;
    color: #3D2B45;
}

.brand-slogan {
    display: block;
    max-width: 16.5rem;
    margin-top: 0.12rem;
    color: #3D2B45;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.35;
    white-space: normal;
}

.navbar-brand .brand-slogan {
    color: #4054A4;
    max-width: 10.75rem;
    white-space: normal !important;
    overflow-wrap: break-word;
}

.footer .navbar-brand {
    max-width: 100%;
    margin-right: 0;
}

.footer .brand-slogan {
    max-width: 20rem;
    color: rgba(232, 237, 246, 0.78);
}

.spinner-inner .brand-slogan {
    max-width: none;
    margin-top: 0.2rem;
    color: #4054A4;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-align: center;
}

.text-black {
    color: black !important;
}

.text-underline {
    text-decoration: underline !important;
}

.service-item-content {
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.service-item-content p {
    text-align: justify;
    font-family: var(--font-sans);
    font-size: 1em;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0;
    color: var(--text-body);
    max-width: var(--text-measure);
}

.service-item-content .fa-check {
    background: var(--gradient-primary);
    color: #fff !important;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.service-image-section {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-start;
    gap: 20px;
}

.service-image-section img {
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.service-image-section img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.service-image-section > .row .btn.rounded-pill {
    width: 100%;
    white-space: normal;
}

.service-image-section > .row.g-4 {
    margin: 0;
    row-gap: 15px !important;
}

.service-image-section > .row .d-xl-flex {
    background: var(--bs-light);
    padding: 15px 20px;
    border-radius: 50px;
    margin-bottom: 10px;
    width: 100%;
    align-items: center;
}

.service-image-section > .row .d-xl-flex .btn-lg-square {
    flex-shrink: 0;
}

.br-3 {
    border-radius: 30px !important;
}

.accordion-body {
    text-align: justify !important;
}

/*** Phone Pulse Animation Start ***/
.phone-pulse {
    animation: phonePulse 1.5s ease-in-out infinite;
}

@keyframes phonePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.phone-pulse:hover {
    animation-play-state: paused;
    transform: scale(1.1);
}
/*** Phone Pulse Animation End ***/

/*** Enhanced Section Titles ***/
h4.text-primary,
.display-4 .gradient-text {
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h4.text-primary,
.practice-kicker {
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.8125rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 5px;
}

h4.text-primary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.badge.text-primary,
.badge .text-primary {
    -webkit-text-fill-color: var(--bs-primary) !important;
    background: none !important;
}

.display-4 {
    font-weight: 600;
    color: #3D2B45;
    line-height: 1.2;
    overflow-wrap: break-word;
}

/*** About Section Enhancement ***/
.about {
    position: relative;
    overflow: hidden;
    background: #E8EDF6;
}

.about::before {
    display: none;
}

.about .about-item-content {
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    border: 1px solid rgba(64, 84, 164, 0.05);
}

.about .about-item-content:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(64, 84, 164, 0.1);
}

.about .counter-item {
    border-radius: 16px;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.about .counter-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(64, 84, 164, 0.1);
}

.about .counter-counting .fs-2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/*** FAQs Enhancement ***/
.faq-section {
    position: relative;
    background: #E8EDF6;
}

.faq-section .accordion-item {
    border: none;
    border-bottom: 1px solid rgba(64, 84, 164, 0.12);
    margin-bottom: 0;
    border-radius: 0 !important;
    overflow: hidden;
    box-shadow: none;
    background: transparent;
}

.faq-section .accordion-item:hover {
    box-shadow: none;
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--text-body);
    background: transparent;
    font-size: 1.125rem;
    font-family: var(--font-sans);
    border-radius: 0 !important;
    padding: 1.25rem 0;
    font-weight: 600;
    letter-spacing: 0;
    box-shadow: none;
    white-space: normal;
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: #3D2B45;
    background: transparent;
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button:not(.collapsed)::after {
    filter: none;
}

.faq-section .accordion-body {
    padding: 0 0 1.35rem;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 1em;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0;
    color: var(--text-body);
    max-width: var(--text-measure);
}

/*** Contact Section Enhancement ***/
.contact {
    position: relative;
    background: #ffffff;
}

.contact::before {
    display: none;
}

.contact .form-control,
.contact .form-select {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-body);
    border-radius: 12px;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    transition: var(--transition-smooth);
}

.contact .form-floating > .form-select {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.contact .form-control:focus,
.contact .form-select:focus {
    border-color: var(--accent-violet);
    box-shadow: 0 0 0 3px rgba(122, 73, 154, 0.22);
}

.contact .form-honeypot {
    position: absolute;
    left: -9999px;
    height: 0;
    width: 0;
    overflow: hidden;
}

.booking-note {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-body);
    max-width: var(--text-measure);
    opacity: 0.85;
}

/*** Floating Animation for Images ***/
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.floating-img {
    animation: float 4s ease-in-out infinite;
}

/*** Gradient Text Utility ***/
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/*** Enhanced Scrollbar ***/
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #E8EDF6;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4054A4;
}

/*** Selection Color ***/
::selection {
    background: rgba(173, 193, 227, 0.45);
    color: var(--bs-dark);
}

/*** Card Hover Glow Effect ***/
.glow-on-hover {
    transition: var(--transition-smooth);
}

.glow-on-hover:hover {
    box-shadow: 0 0 30px rgba(64, 84, 164, 0.3);
}

/*** Topbar Enhancement ***/
.topbar {
    background: linear-gradient(90deg, #E8EDF6 0%, #F3F6FB 50%, #E8EDF6 100%);
    border-bottom: 1px solid rgba(64, 84, 164, 0.1);
}

.topbar a {
    transition: var(--transition-smooth);
}

.topbar a:hover {
    color: var(--bs-primary) !important;
}

.topbar .btn:hover {
    transform: scale(1.2);
}

/*** Wave Divider ***/
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-divider .shape-fill {
    fill: #FFFFFF;
}

/*** Smooth Link Transitions ***/
a {
    transition: var(--transition-smooth);
}

/*** Image Shine Effect ***/
.img-shine {
    position: relative;
    overflow: hidden;
}

.img-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    transition: 0.7s;
    opacity: 0;
}

.img-shine:hover::after {
    animation: shine 0.7s forwards;
}

@keyframes shine {
    0% {
        left: -50%;
        opacity: 1;
    }
    100% {
        left: 150%;
        opacity: 0;
    }
}

/*** Practice layout ***/
.container-fluid.about.py-5,
.container-fluid.service.py-5:not(.pb-1),
.container-fluid.team.py-5,
.container-fluid.testimonial.py-5,
.container-fluid.contact.py-5,
.container-fluid.faq-section.py-5 {
    padding-top: 6.5rem !important;
    padding-bottom: 6.5rem !important;
}

.container-fluid.service.py-5.pb-1 {
    padding-top: 4rem !important;
    padding-bottom: 1.25rem !important;
}

.section-intro {
    max-width: 46rem;
    margin-bottom: 3.25rem;
}

.section-intro p {
    max-width: var(--text-measure);
    font-family: var(--font-sans);
    font-size: 1em;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0;
    color: var(--text-body);
}

.practice-kicker {
    font-family: var(--font-sans);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--bs-primary);
    margin-bottom: 0.85rem;
}

h4.text-primary::after {
    height: 1px;
    width: 2.5rem;
    border-radius: 0;
}

/*** Practice hero ***/
.practice-hero {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.practice-hero-media {
    position: absolute;
    inset: 0;
    background: url('/assets/carousel-1.jpg') center 30% / cover no-repeat;
    transform: scale(1.04);
    filter: saturate(0.8);
}

.practice-hero-shade {
    position: absolute;
    inset: 0;
    background: var(--gradient-fluid-hero);
}

.practice-hero-shade::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.055;
    background-image: var(--fluid-noise);
}

.practice-hero-inner {
    position: relative;
    z-index: 2;
    padding: 7rem 0 6rem;
}

.practice-hero-copy {
    max-width: min(36rem, 100%);
    min-width: 0;
}

.practice-hero .practice-kicker {
    color: var(--accent-mist);
}

.practice-hero h1 {
    font-size: clamp(2.55rem, 5vw, 4.35rem);
    line-height: 1.08;
    color: #fff;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.practice-hero-lead {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2rem;
    max-width: var(--text-measure);
}

.practice-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.practice-hero-actions .btn {
    white-space: normal;
}

.practice-hero-credit {
    position: absolute;
    right: 16px;
    bottom: 10px;
    z-index: 2;
    color: rgba(255, 255, 255, 0.55);
    max-width: min(16rem, 48%);
    text-align: right;
    line-height: 1.35;
}

/*** About editorial ***/
.about-editorial {
    max-width: 38rem;
}

.about-lede {
    font-size: clamp(2.4rem, 4.5vw, 3.55rem);
    line-height: 1.12;
    color: #3D2B45;
    margin-bottom: 1.5rem;
}

.about-editorial p {
    font-family: var(--font-sans);
    font-size: 1em;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0;
    color: var(--text-body);
    max-width: var(--text-measure);
}

.about-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(64, 84, 164, 0.16);
    max-width: 56rem;
}

.about-trust-label {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.45rem;
    color: #3D2B45;
}

.about-trust-note {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
    color: #3D2B45;
    margin-top: 0.25rem;
}

.about-photo {
    margin-top: 4rem;
    max-width: 56rem;
}

.about-photo img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    object-position: center 20%;
}

/*** Quote band ***/
.quote-band {
    position: relative;
    overflow: hidden;
    background: var(--gradient-fluid-quote);
    color: #F3F6FB;
    padding: 5rem 0;
}

.quote-band::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.06;
    background-image: var(--fluid-noise);
}

.quote-band .container {
    position: relative;
    z-index: 1;
}

.quote-band-text {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.4vw, 2.75rem);
    font-style: italic;
    line-height: 1.3;
    max-width: 38rem;
    margin: 0 auto 1.75rem;
    color: #F3F6FB;
}

.quote-band .btn-light {
    color: var(--bs-primary);
}

/*** Services editorial list ***/
.service-editorial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(64, 84, 164, 0.14);
}

.service-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.15rem;
    padding: 2rem 0 2rem 0;
    border-bottom: 1px solid rgba(64, 84, 164, 0.12);
}

.service-row:nth-child(odd) {
    padding-right: 2.5rem;
    border-right: 1px solid rgba(64, 84, 164, 0.12);
}

.service-row:nth-child(even) {
    padding-left: 2.5rem;
}

.service-row-body {
    font-family: var(--font-sans);
}

.service-num {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-lavender);
    line-height: 1.2;
    letter-spacing: 0.04em;
}

.service-row h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 0.85rem;
}

.service-row h3 a {
    font-family: inherit;
    color: #3D2B45;
    text-decoration: none;
}

.service-row h3 a:hover {
    color: var(--bs-primary);
}

.service-row p {
    font-family: var(--font-sans);
    font-size: 1em;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0;
    margin-bottom: 0.85rem;
    color: var(--text-body);
}

.service-row-link {
    font-family: var(--font-sans);
    font-size: 1em;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--bs-primary);
    text-decoration: underline;
    text-underline-offset: 0.22em;
    border-bottom: none;
}

.service-row-link:hover {
    color: var(--accent-electric);
}

.focus-cloud {
    margin-top: 4.5rem;
}

.focus-cloud-lead {
    max-width: var(--text-measure);
    margin-bottom: 1.25rem;
    font-family: var(--font-sans);
    font-size: 1em;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-body);
}

.focus-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.focus-pills a {
    display: inline-block;
    padding: 0.45rem 0.95rem;
    border: 1px solid rgba(161, 133, 193, 0.45);
    color: var(--text-body);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0;
    background: var(--page-wash);
}

.focus-pills a:hover {
    background: var(--accent-lavender);
    color: #fff;
    border-color: var(--accent-lavender);
}

/*** Team featured portrait ***/
.team-portrait-wrap {
    overflow: hidden;
}

.team-portrait {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center top;
}

.team-name {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    margin-bottom: 0.2rem;
}

.team-role {
    font-family: var(--font-sans);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--bs-primary);
    margin-bottom: 1.25rem;
}

.team-featured p {
    font-family: var(--font-sans);
    line-height: 1.7;
    max-width: var(--text-measure);
    color: var(--text-body);
}

/*** Testimonials pull quotes ***/
.pull-quote {
    max-width: 44rem;
    margin: 0 auto 3.5rem;
    border: 0;
    text-align: center;
}

.pull-quote p {
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    font-style: italic;
    line-height: 1.35;
    color: #3D2B45;
    margin-bottom: 1rem;
}

.pull-quote cite,
.quote-item cite {
    display: block;
    font-family: var(--font-sans);
    font-style: normal;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #3D2B45;
}

.quote-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
    border-top: 1px solid rgba(64, 84, 164, 0.14);
    padding-top: 2.5rem;
}

.quote-item {
    border: 0;
    border-left: 2px solid var(--accent-violet);
    padding: 0 0 0 1.25rem;
    margin: 0;
    background: none;
}

.quote-item p {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.5;
    color: #3D2B45;
    margin-bottom: 0.65rem;
}

/*** Contact panel ***/
.contact-panel {
    background: #E8EDF6;
    padding: 3rem 3rem 2.75rem;
    border-left: 3px solid var(--bs-primary);
}

.contact-panel-title {
    font-size: 1.85rem;
    margin-bottom: 0.75rem;
}

.contact-panel p {
    font-family: var(--font-sans);
    line-height: 1.7;
    max-width: var(--text-measure);
    color: var(--text-body);
}

.contact-aside-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.contact-aside-list li {
    margin-bottom: 0.95rem;
}

.contact-aside-list span {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #3D2B45;
    margin-bottom: 0.15rem;
}

.contact-aside-list a {
    color: #3D2B45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.contact .form-control,
.contact .form-select {
    background: #fff;
    max-width: 100%;
}

.contact-form-actions .btn,
.contact-aside .btn {
    white-space: normal;
    max-width: 100%;
}

/*** Footer quieter ***/
.footer .footer-item a {
    display: block;
    font-family: var(--font-sans);
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    overflow-wrap: break-word;
}

.footer .footer-item p {
    font-family: var(--font-sans);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    max-width: var(--text-measure);
}

.footer .footer-item a:hover {
    color: var(--accent-mist);
    padding-left: 0;
}

.footer h4 {
    padding-bottom: 0;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: var(--font-sans);
    font-weight: 600;
}

.footer h4::after {
    display: none;
}

/*** Inner service / condition pages ***/
.container-fluid.service.py-5.pb-1 p {
    max-width: var(--text-measure);
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-sans);
    font-size: 1em;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0;
    color: var(--text-body);
}

.service-item-content {
    box-shadow: none;
    border-radius: 0 !important;
    background: transparent !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.service-item-content .text-muted,
.service-item-content p.small {
    font-size: 1em !important;
    color: var(--text-body) !important;
}

.form-floating > label {
    font-family: var(--font-sans);
    font-weight: 400;
    color: #3D2B45;
    max-width: calc(100% - 0.5rem);
}

.service-item-content .fa-check {
    background: none;
    width: auto;
    height: auto;
    border-radius: 0;
    color: var(--bs-primary) !important;
    font-size: 0.7rem;
}

.service-image-section img {
    box-shadow: none;
    border-radius: 0 !important;
}

.service-image-section img:hover {
    transform: none;
    box-shadow: none;
}

.service-image-section > .row .d-xl-flex {
    background: transparent;
    border-radius: 0;
    padding: 0 0 0 1.1rem;
    border-left: 2px solid var(--bs-primary);
}

.service-image-section > .row .d-xl-flex .btn-lg-square {
    display: none;
}

.service-image-section > .row > a.btn-primary:last-of-type {
    background: transparent;
    color: var(--bs-primary);
    box-shadow: none;
    border: 1px solid rgba(64, 84, 164, 0.35);
}

.service-image-section > .row > a.btn-primary:last-of-type:hover {
    background: var(--bs-primary);
    color: #fff;
}

@media (max-width: 991px) {
    .practice-hero {
        min-height: 0;
    }

    .practice-hero-inner {
        padding: 5rem 0 4.25rem;
    }

    .service-editorial,
    .quote-stack,
    .about-trust {
        grid-template-columns: 1fr;
    }

    .service-row:nth-child(odd),
    .service-row:nth-child(even) {
        padding-left: 0;
        padding-right: 0;
        border-right: 0;
    }

    .team-portrait {
        height: 380px;
    }

    .contact-panel {
        padding: 1.75rem 1.5rem;
        overflow-x: hidden;
    }

    .navbar-brand .brand-slogan {
        max-width: 14rem;
    }
}

@media (max-width: 767px) {
    html {
        scroll-padding-bottom: 6rem;
    }

    .nav-bar .navbar-light .navbar-brand img,
    .navbar-light .navbar-brand img {
        max-height: 42px;
    }

    .logo-icon {
        margin-right: 8px;
    }

    .footer-logo {
        max-height: 48px;
    }

    .display-4 {
        font-size: 2rem;
    }

    .bg-breadcrumb {
        padding: 3.25rem 0 2rem;
    }

    .bg-breadcrumb .container.py-5 {
        padding-top: 1.25rem !important;
        padding-bottom: 1.25rem !important;
    }

    .practice-hero h1 {
        font-size: clamp(2.05rem, 8.5vw, 2.55rem);
    }

    .practice-hero-lead {
        font-size: 1rem;
    }

    .practice-hero-inner {
        padding: 3.5rem 0 3.75rem;
    }

    .practice-hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .about-lede,
    .team-name {
        font-size: clamp(1.95rem, 8vw, 2.4rem);
    }

    .container-fluid.about.py-5,
    .container-fluid.service.py-5:not(.pb-1),
    .container-fluid.team.py-5,
    .container-fluid.testimonial.py-5,
    .container-fluid.contact.py-5,
    .container-fluid.faq-section.py-5 {
        padding-top: 3.75rem !important;
        padding-bottom: 3.75rem !important;
    }

    .container-fluid.contact.py-5 {
        padding-bottom: 5.75rem !important;
    }

    .contact-panel {
        padding: 1.35rem 1.1rem 1.6rem;
    }

    .contact .form-control,
    .contact .form-select {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .contact .form-floating > label {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
        white-space: nowrap;
    }

    .contact-panel-title {
        font-size: 1.5rem;
    }

    .back-to-top,
    .whatsapp-icon {
        width: 44px;
        height: 44px;
        bottom: 14px !important;
    }

    .whatsapp-icon {
        left: 12px !important;
    }

    .back-to-top {
        right: 12px !important;
    }

    .whatsapp-icon i.fa-2x {
        font-size: 1.35em;
    }

    .faq-section .accordion .accordion-item .accordion-header .accordion-button {
        font-size: 1rem;
        padding-right: 2rem;
    }

    .service-item-content.p-5 {
        padding-bottom: 1.25rem !important;
    }

    .copyright {
        padding-bottom: 5rem !important;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .copyright-credits {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .navbar-brand .brand-slogan {
        max-width: 11rem;
        font-size: 0.62rem;
    }

    .main-title {
        font-size: 1.15rem;
    }

    .contact-panel {
        padding: 1.15rem 0.9rem 1.5rem;
    }

    .focus-pills a {
        font-size: 0.95rem;
    }
}