/* Baby pastel theme overrides */
:root {
    --bs-primary: #ff4b8a !important;  /* dark pink */
    --bs-primary-rgb: 255, 75, 138 !important;
    --bs-secondary: #ffd1e1 !important; /* light pink */
    --bs-secondary-rgb: 255, 209, 225 !important;
    --bs-light: #fff9f4 !important;
    --bs-light-rgb: 255, 249, 244 !important;
    --bs-dark: #4b5563 !important;
    --bs-dark-rgb: 75, 85, 99 !important;
    --bs-info: #ff8eb3 !important;
    --bs-info-rgb: 255, 142, 179 !important;
    --bs-link-color: #ff4b8a !important;
    --bs-link-hover-color: #ff2f7b !important;
    --bs-link-color-rgb: 255, 75, 138 !important;
    --bs-link-hover-color-rgb: 255, 47, 123 !important;
    --bs-focus-ring-color: rgba(255, 75, 138, 0.25) !important;
    --bs-focus-ring-color-rgb: 255, 75, 138 !important;
    --bs-btn-focus-shadow-rgb: 255, 75, 138 !important;
}

body.expert-theme {
    --bs-primary: #2563eb !important;
    --bs-primary-rgb: 37, 99, 235 !important;
    --bs-secondary: #14b8a6 !important;
    --bs-secondary-rgb: 20, 184, 166 !important;
    --bs-info: #0ea5e9 !important;
    --bs-info-rgb: 14, 165, 233 !important;
    --bs-link-color: #2563eb !important;
    --bs-link-hover-color: #1d4ed8 !important;
    --bs-link-color-rgb: 37, 99, 235 !important;
    --bs-link-hover-color-rgb: 29, 78, 216 !important;
    --bs-focus-ring-color: rgba(37, 99, 235, 0.25) !important;
    --bs-focus-ring-color-rgb: 37, 99, 235 !important;
    --bs-btn-focus-shadow-rgb: 37, 99, 235 !important;
}

.public-card {
    border-radius: 22px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.public-wow {
    position: relative;
    overflow: hidden;
    --wow-heading: #0f172a;
    --wow-body: #111827;
    --wow-muted: rgba(75, 85, 99, 0.78);
    background:
      radial-gradient(900px 420px at 10% 10%, rgba(255, 75, 138, 0.06) 0%, rgba(255, 75, 138, 0.00) 60%),
      radial-gradient(900px 420px at 90% 35%, rgba(255, 142, 179, 0.08) 0%, rgba(255, 142, 179, 0.00) 60%),
      linear-gradient(180deg, rgba(255, 249, 244, 0.00) 0%, rgba(255, 249, 244, 0.65) 22%, rgba(255, 249, 244, 0.00) 100%);
}

.public-wow h1,
.public-wow h2,
.public-wow h3,
.public-wow h4,
.public-wow h5,
.public-wow h6,
.public-wow .h1,
.public-wow .h2,
.public-wow .h3,
.public-wow .h4,
.public-wow .h5,
.public-wow .h6 {
    color: var(--wow-heading);
}

.public-wow p {
    color: rgba(17, 24, 39, 0.86);
}

.public-wow::before {
    content: "";
    position: absolute;
    top: -160px;
    right: -220px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 142, 179, 0.14) 0%, rgba(255, 142, 179, 0.00) 60%);
    filter: blur(2px);
    pointer-events: none;
}

.public-wow::after {
    content: "";
    position: absolute;
    bottom: -220px;
    left: -220px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle at 55% 55%, rgba(255, 75, 138, 0.12) 0%, rgba(255, 75, 138, 0.00) 62%);
    filter: blur(1px);
    pointer-events: none;
}

.public-wow .container-fluid {
    position: relative;
    z-index: 1;
}

.public-wow .public-card {
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.72);
}

.public-wow .public-card.bg-primary {
    background: rgba(var(--bs-primary-rgb), 0.04) !important;
}

.public-wow .public-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 75, 138, 1) 0%, rgba(255, 142, 179, 1) 70%, rgba(255, 75, 138, 0.6) 100%);
    opacity: 0.45;
}

.public-wow .section-title .display-6 {
    letter-spacing: 0.2px;
}

.public-wow .text-muted {
    color: var(--wow-muted) !important;
}

.public-wow .wow-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(var(--bs-primary-rgb), 0.045);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.12);
    color: var(--wow-body);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.35px;
}

.public-wow .wow-badge i {
    color: var(--wow-heading);
}

.public-wow .wow-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--bs-primary-rgb), 0.06);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.12);
    color: var(--wow-heading);
}

.public-wow i.text-primary,
.public-wow .fa.text-primary,
.public-wow .fas.text-primary,
.public-wow .far.text-primary,
.public-wow .fab.text-primary {
    color: var(--wow-heading) !important;
}

.public-wow .btn i.text-primary,
.public-wow .btn .fa.text-primary,
.public-wow .btn .fas.text-primary,
.public-wow .btn .far.text-primary,
.public-wow .btn .fab.text-primary {
    color: inherit !important;
}

.public-card.bg-primary {
    --bs-bg-opacity: 0.05;
    background-color: rgba(var(--bs-primary-rgb), 0.05) !important;
}

.public-card.border-primary {
    border-color: rgba(var(--bs-primary-rgb), 1) !important;
}

.public-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
    border-color: rgba(var(--bs-primary-rgb), 0.30) !important;
}

.pricing-card {
    transform: translateY(4px) scale(0.99);
    animation: pricing-rise 0.6s ease-out forwards;
}

.pricing-card-delayed {
    animation-delay: 0.12s;
}

.pricing-card-featured {
    box-shadow: 0 18px 40px rgba(255, 75, 138, 0.18);
    border-width: 2px;
}

.pricing-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 20px 46px rgba(15, 23, 42, 0.18);
}

.pricing-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.55) 45%, rgba(255, 255, 255, 0.00) 100%);
    opacity: 0;
    transform: translateX(-120%) skewX(-18deg);
    pointer-events: none;
}

.pricing-card:hover::before {
    animation: pricing-sheen 0.9s ease-out;
}

.pricing-card .h3 {
    transition: transform 0.35s ease, color 0.35s ease;
}

.pricing-card:hover .h3 {
    transform: translateY(-2px) scale(1.04);
    color: var(--bs-primary);
}

.pricing-badge-featured {
    animation: pricing-badge-float 3s ease-in-out infinite;
}

.pricing-card:hover .fa-check-circle {
    animation: icon-wiggle 0.45s ease-in-out;
}

.pricing-card ul li {
    opacity: 0;
    transform: translateY(6px);
}

.pricing-card ul li:nth-child(1) {
    animation: pricing-list-rise 0.45s ease-out 0.18s forwards;
}

.pricing-card ul li:nth-child(2) {
    animation: pricing-list-rise 0.45s ease-out 0.28s forwards;
}

.pricing-card ul li:nth-child(3) {
    animation: pricing-list-rise 0.45s ease-out 0.38s forwards;
}

.pricing-card ul li:nth-child(4) {
    animation: pricing-list-rise 0.45s ease-out 0.48s forwards;
}

.pricing-card .btn-border-radius {
    animation: cta-pulse 5s ease-in-out infinite;
}

.pricing-card-featured .btn-border-radius {
    animation-delay: 1s;
}

@keyframes pricing-rise {
    0% {
        opacity: 0;
        transform: translateY(16px) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pricing-sheen {
    0% {
        opacity: 0;
        transform: translateX(-120%) skewX(-18deg);
    }
    20% {
        opacity: 0.55;
    }
    100% {
        opacity: 0;
        transform: translateX(120%) skewX(-18deg);
    }
}

@keyframes pricing-list-rise {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pricing-badge-float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes price-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255,75,138,0.5); }
    50% { box-shadow: 0 0 30px rgba(255,75,138,0.8); }
}

@keyframes crown-spin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes check-bounce {
    0% { opacity: 0; transform: translateY(12px) scale(0.8); }
    60% { transform: translateY(-4px) scale(1.1); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.price-bubble {
    animation: price-pulse 3s ease-in-out infinite;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
}

.price-bubble:hover .price-sheen {
    transform: translateX(120%) skewX(-18deg);
    transition: transform 0.7s ease;
}

.price-sheen {
    transform: translateX(-120%) skewX(-18deg);
    transition: transform 0.7s ease;
}

.check-item {
    animation: check-bounce 0.5s ease-out both;
}

.badge-glow {
    animation: badge-glow 2s ease-in-out infinite;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(255,75,138,0.5);
}

.crown-spin {
    animation: crown-spin 4s linear infinite;
}

/* Ultra premium: hologram effect on featured card */
.pricing-card-featured {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,75,138,0.08) 0%, rgba(255,142,179,0.12) 100%);
}

.pricing-card-featured::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, rgba(255,75,138,0.4), transparent, rgba(255,142,179,0.4), transparent);
    background-size: 400% 400%;
    animation: hologram-scan 8s linear infinite;
    z-index: -1;
    border-radius: 22px;
}

@keyframes hologram-scan {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Golden snowfall */
.public-wow::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    background-image: 
      radial-gradient(circle, rgba(255,215,0,0.8) 1px, transparent 1px),
      radial-gradient(circle, rgba(255,223,0,0.6) 1px, transparent 1px),
      radial-gradient(circle, rgba(255,193,7,0.7) 1px, transparent 1px);
    background-size: 120px 120px, 150px 150px, 100px 100px;
    animation: golden-snow 12s linear infinite;
    opacity: 0;
}

@keyframes golden-snow {
    0% {
        opacity: 0;
        transform: translateY(-100vh) rotate(0deg);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(100vh) rotate(360deg);
    }
}

/* 3D reflective price bubble */
.price-bubble {
    animation: price-pulse 3s ease-in-out infinite;
    background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: 
      0 8px 32px rgba(31, 38, 135, 0.2),
      inset 0 2px 4px rgba(255,255,255,0.8),
      inset 0 -2px 4px rgba(0,0,0,0.05);
    position: relative;
}

.price-bubble::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 12px;
    right: 12px;
    height: 40%;
    background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, transparent 100%);
    border-radius: 50%;
    filter: blur(4px);
    pointer-events: none;
}

/* Ultra premium badge with multicolor halo */
.badge-glow {
    animation: badge-glow 2s ease-in-out infinite, badge-rainbow 4s linear infinite, badge-halo 3s ease-in-out infinite;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-info), var(--bs-primary));
    background-size: 200% 100%;
    color: white;
    position: relative;
}

.badge-glow::before {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: radial-gradient(circle, rgba(255,75,138,0.4), transparent 70%);
    border-radius: 999px;
    z-index: -1;
    animation: halo-pulse 2s ease-in-out infinite;
}

@keyframes badge-halo {
    0%, 100% { box-shadow: 0 0 15px rgba(255,75,138,0.6); }
    50% { box-shadow: 0 0 35px rgba(255,142,179,0.8), 0 0 55px rgba(255,75,138,0.4); }
}

@keyframes halo-pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 0.3; }
}

/* Breathing glow on check icons */
.check-item .fa-check-circle {
    animation: check-glow 3s ease-in-out infinite;
    position: relative;
}

.check-item .fa-check-circle::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,75,138,0.3), transparent 70%);
    transform: translate(-50%, -50%);
    animation: breathe 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes breathe {
    0%, 100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.8; }
}

/* Cards float with subtle wobble */
.pricing-card {
    animation: card-float 6s ease-in-out infinite, card-wobble 8s ease-in-out infinite;
    background: linear-gradient(-45deg, #fff9fb, #fff0f5, #fff9fb, #fff0f5);
    background-size: 400% 400%;
}

.pricing-card-featured {
    animation: card-float 5s ease-in-out infinite, card-wobble 7s ease-in-out infinite;
}

@keyframes card-wobble {
    0%, 100% { transform: translateY(0) rotateZ(0deg); }
    25% { transform: translateY(-4px) rotateZ(0.5deg); }
    75% { transform: translateY(-8px) rotateZ(-0.5deg); }
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    box-shadow: 0 10px 22px rgba(var(--bs-primary-rgb), 0.18);
}

.btn-primary:hover {
    background-color: #ff2f7b;
    border-color: #ff2f7b;
    box-shadow: 0 14px 26px rgba(var(--bs-primary-rgb), 0.26);
}

.btn-outline-primary {
    border-color: rgba(var(--bs-primary-rgb), 0.65);
}

.btn-outline-primary:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.10);
    border-color: rgba(var(--bs-primary-rgb), 0.85);
    color: var(--bs-primary);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(var(--bs-primary-rgb), 0.55);
    box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .20);
}

.section-title h2,
.section-title .display-6 {
    transform: translateY(12px);
    opacity: 0;
    animation: title-rise 0.7s ease-out forwards;
    animation-delay: 0.2s;
}

/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }

 .splash-wrapper {
     position: relative;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .splash-logo {
    max-width: 520px;
    width: 95%;
    height: auto;
    z-index: 1;
    filter: drop-shadow(0 18px 40px rgba(15, 23, 42, 0.32));
    animation: splash-logo-pop 0.8s ease-out forwards;
 }

 .splash-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 999px;
    background:
      radial-gradient(circle at 50% 40%, rgba(255, 142, 179, 0.95) 0%, rgba(255, 142, 179, 0.0) 55%),
      radial-gradient(circle at 30% 80%, rgba(255, 200, 162, 0.85) 0%, rgba(255, 200, 162, 0.0) 60%);
    filter: blur(18px);
    opacity: 0.85;
    animation: splash-glow-pulse 2.4s ease-in-out infinite;
     opacity: 0.85;
     animation: splash-glow-pulse 2.4s ease-in-out infinite;
 }

 @keyframes splash-logo-pop {
     0% { transform: scale(0.82); opacity: 0; }
     60% { transform: scale(1.04); opacity: 1; }
     100% { transform: scale(1); opacity: 1; }
 }

 @keyframes splash-glow-pulse {
     0%, 100% { transform: scale(0.96); opacity: 0.78; }
     50% { transform: scale(1.04); opacity: 0.98; }
 }
/*** Spinner End ***/


/*** Common CSS Start ***/
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    animation: baby-bounce 2.2s ease-in-out infinite;
}

h1,
h2,
h3,
.h1,
.h2,
.h3 {
    font-weight: 200;
    font-family: 'Montserrat', sans-serif;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-weight: 700;
    font-family: 'Fredoka', sans-serif;
}

.display-4,
.display-5,
.display-6 {
    font-weight: 600;
}

.wow,
.animated {
    animation-duration: 2s !important;
}
/*** Common CSS End ***/


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .3s ease;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.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-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    border: 0;
    color: var(--bs-white);
}

.btn.btn-primary:hover {
    background: #ff2f7b;
    color: var(--bs-white);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 26px rgba(var(--bs-primary-rgb), 0.26);
}

.btn-border-radius {
    border-radius: 25% 10%;
}

.img-border-radius {
    border-radius: 24px;
}

.title-border-radius {
    border-radius: 999px;
}
/*** Button End ***/

/* Force Bootstrap primary utilities to use dark pink */
.btn-primary {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

/* Ensure Bootstrap 5 button variables never fall back to blue */
.btn-primary,
.btn.btn-primary {
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: #ff2f7b;
    --bs-btn-hover-border-color: #ff2f7b;
    --bs-btn-active-bg: #ff2f7b;
    --bs-btn-active-border-color: #ff2f7b;
    --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
}

/* If any page still uses Bootstrap "info" buttons/links, force them to pink too */
.btn-info {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: #fff !important;
}

.btn-outline-info {
    color: var(--bs-primary) !important;
    border-color: rgba(var(--bs-primary-rgb), 0.65) !important;
}

.btn-outline-info:hover {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: #fff !important;
}

.btn-link {
    color: var(--bs-primary) !important;
}

.btn-link:hover {
    color: #ff2f7b !important;
}

.text-primary {
    color: var(--bs-primary) !important;
}

.bg-primary {
    background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity, 1)) !important;
}

.border-primary {
    border-color: rgba(var(--bs-primary-rgb), 1) !important;
}


/*** Topbar Start ***/
.service h4.text-primary,
.program h4.text-primary,
.events h4.text-primary,
.blog h4.text-primary {
    color: #ff4b8a !important;
}

.service .service-item .service-content-inner i {
    color: #ff4b8a !important;
}

.service .service-item .service-content-inner .btn-primary {
    background-color: #ff4b8a !important;
    border-color: #ff4b8a !important;
}

/* Force BabyCare brand & topbar to dark pink */
.navbar-brand .text-primary {
    color: #ff4b8a !important;
}

.topbar.bg-primary {
    background-color: #ff4b8a !important;
}

.topbar .fa-phone-alt.text-primary,
.navbar .fa-phone-alt.text-primary {
    color: #ff4b8a !important;
}

.topbar .top-info {
    font-size: medium;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .top-link a {
    margin-right: 10px;
}

.topbar .top-link a:hover {
    background: var(--bs-secondary) !important;
}

.topbar .top-link a:hover i {
    color: var(--bs-primary) !important;
}
/*** Topbar End ***/


/*** Navbar Start ***/
.navbar {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.navbar .navbar-nav .nav-link {
    padding: 10px 12px;
    font-size: 16px;
    font-weight: 600;
    transition: .5s;
    position: relative;
    overflow: hidden;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        font-weight: 400;
        font-family: 'Fredoka', sans-serif;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    border-radius: 10px !important;
    transition: .5s;
    opacity: 1;
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .8);
}
@media (max-width: 768px) {
    /* Fix public header only on mobile */
    body:not(.expert-theme) {
        padding-top: 80px;
    }

    .container-fluid.border-bottom {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1030;
        background-color: rgba(245, 245, 247, 0.88) !important;
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .navbar {
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }

    .navbar-collapse {
        flex-direction: column;
        align-items: stretch;
    }

    .navbar-nav {
        text-align: center;
        margin-bottom: 0.25rem;
    }

    .navbar-nav .nav-link {
        padding: 0.4rem 0;
    }

    /* Hide phone block and search button only on mobile navbar */
    .navbar-collapse > .d-flex.me-4,
    .btn-search {
        display: none !important;
    }
}
/*** Navbar End ***/


/*** Hero Header ***/
.hero-header,
.page-header {
    background: linear-gradient(rgba(255, 200, 162, 0.55), rgba(255, 142, 179, 0.22)), url(../img/hero-img.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18);
    position: relative;
    overflow: hidden;
    background-attachment: scroll;
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 75, 138, 0.22) 0%, rgba(255, 249, 244, 0.10) 45%, rgba(255, 142, 179, 0.10) 100%);
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1,
.page-header p {
    text-shadow: 0 10px 26px rgba(15, 23, 42, 0.35);
}

.hero-header h1,
.hero-header .btn {
    animation: baby-float 4s ease-in-out infinite;
}
/*** Hero Header ***/

/* Hero primary CTA: gentle attention pulse */
.hero-header .btn-primary {
    animation: cta-pulse 5s ease-in-out infinite;
}


/*** About Start ***/
.video {
    position: relative;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), url(../img/image.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-secondary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--bs-white);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}

.video.border {
    border-radius: 24px;
}

.about {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url(../img/background.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
/*** About End ***/


/*** service Start ***/
.service {
    background: linear-gradient(rgba(255, 72, 128, 0.05), rgba(255, 72, 128, 0.2));
}

.service .service-item {
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    width: 100%;
    height: 100%;
    border-radius: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.service-content::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    right: auto;
    background: transparent;
    border-radius: 50% 20% / 10% 40%;
    transition: .5s;
}

.service-item:hover {
    border: 1px solid var(--bs-secondary) !important;
    transform: translateY(-4px);
}

.service-item:hover .service-content::after {
    background: var(--bs-secondary);
    width: 100%;
    opacity: 1;
    z-index: 1;
}

.service-item .service-content .service-content-inner {
    position: relative;
    z-index: 2;
}

.service-item .service-content-inner i,
.service-item .service-content-inner p,
.service-item .service-content-inner a.h4 {
    transition: 0.5s;
}

.service-item:hover .service-content-inner i,
.service-item:hover .service-content-inner p {
    color: var(--bs-white) !important;
}
.service-item:hover .service-content-inner a.h4 {
    color: var(--bs-primary);
}

.service-item:hover .service-content-inner a.btn-primary {
    background: var(--bs-white) !important;
    color: var(--bs-primary) !important;
}

.service-item .service-content-inner a.btn-primary:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}
 
/* Extra playful service hover */
.service-item:hover .service-content-inner i {
    animation: icon-wiggle 0.45s ease-in-out;
}
/*** Service End ***/


/*** Programs Start ***/
.program {
    background: linear-gradient(rgba(255, 249, 244, 0.9), rgba(255, 255, 255, 1));
}

.program .program-item .program-img .program-rate {
    position: absolute;
    width: 100px; 
    top: -20px; 
    left: 50%; 
    margin-left: -50px; 
    border-radius: 10% / 50%;
}

.program .program-item .program-text {
    padding-top: 150px; 
    margin-top: -125px;
}

.program .program-item .program-img img,
.program .program-item .program-teacher img,
.program .program-item:hover .program-text-inner a.h4 {
    transition: 0.5s;
}

/* Force Program bottom stats bar to dark pink */
.program .program-item .d-flex.justify-content-between.px-4.py-2.bg-primary.rounded-bottom {
    background-color: #ff4b8a !important;
}

.program .program-item .d-flex.justify-content-between.px-4.py-2.bg-primary.rounded-bottom i {
    color: #ffffff !important;
}

.program .program-item {
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program .program-item:hover {
    transform: translateY(-4px);
}

.program .program-item:hover .program-img img,
.program .program-item:hover .program-teacher img {
    transform: scale(1.2);
}

.program .program-item:hover .program-text-inner a.h4 {
    color: var(--bs-primary) !important;
}
/*** Programs End ***/


/*** How it works (Events) Start ***/
.events {
    background: linear-gradient(135deg, #fff9fb 0%, #fff0f5 100%);
}

.events .events-item {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    position: relative;
    background: white;
    box-shadow: 0 10px 30px rgba(255, 72, 128, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    border: 1px solid rgba(255, 200, 221, 0.5);
    transform: translateY(0);
}

.events .step-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff4b8a 0%, #ff8eb3 100%);
    color: white;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 16px;
    z-index: 4;
    box-shadow: 0 4px 12px rgba(255, 75, 138, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid white;
}

.events .events-item .events-inner {
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background: white;
    padding: 2.5rem 1.5rem 0;
    transition: all 0.4s ease;
}

.events .events-item .events-text {
    padding: 25px 30px 35px;
    border-radius: 0 0 16px 16px;
    border: 1px solid rgba(255, 200, 221, 0.5);
    border-top: none;
    background: white;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #fff 0%, #fff9fb 100%);
}

.events .events-item .events-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff4b8a 0%, #ff8eb3 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.events .events-item:hover .events-text::before {
    opacity: 1;
}

.events .events-item .events-text a.h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    padding-bottom: 10px;
}

.events .events-item .events-text a.h4 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
    position: relative;
    padding-bottom: 12px;
    transition: all 0.3s ease;
}

.events .events-item .events-text a.h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff4b8a 0%, #ff8eb3 100%);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 3px;
}

.events .events-item:hover .events-text a.h4::after {
    width: 50px;
}

.events .events-item .events-inner .events-rate {
    position: absolute;
    width: 120px; 
    top: -20px; 
    left: 50%; 
    margin-left: -60px; 
    border-radius: 10% / 50%;
}

.events .events-item .events-inner .events-img {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(255, 75, 138, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.events .events-item .events-inner .events-img .event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 75, 138, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}

.events .events-item .events-inner .events-img:hover .event-overlay {
    opacity: 1;
    transform: scale(1);
}

.events .events-item .events-inner .events-img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 75, 138, 0.3);
}

.events .events-item .events-text p {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.events .events-item:hover .events-text p {
    color: #5a5a5a;
}

/* Add a subtle pattern to the section background */
.events {
    position: relative;
    overflow: hidden;
}

.events::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 75, 138, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    pointer-events: none;
}

.events .events-item .events-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: rgba(255, 200, 162, .7);
    border-radius: 10px;
    transition: 0.5s;
}

.events .events-item:hover .events-img::after {
    height: 100%;
    opacity: 1;
}

.events .events-item:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(255, 75, 138, 0.15);
    border-color: rgba(255, 75, 138, 0.2);
}

.events .events-item:hover .events-inner {
    transform: translateY(-5px);
}

/* Animation for step badges */
@keyframes float {
    0% { transform: translate(-50%, -50%) translateY(0px); }
    50% { transform: translate(-50%, -50%) translateY(-5px); }
    100% { transform: translate(-50%, -50%) translateY(0px); }
}

.events .step-badge {
    animation: float 3s ease-in-out infinite;
}

/* Hover effect for the entire card */
.events .events-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.events .events-item:hover::after {
    opacity: 1;
}

.events .events-item .events-text a.h4,
.events .events-item .events-img img {
    transition: 0.5s;
}

.events .events-item:hover .events-text a.h4 {
    color: var(--bs-primary) !important;
}

.events .events-item:hover .events-img img {
    transform: scale(1.3);
}
/*** Events End ***/


/*** Blog Start ***/
.blog .blog-item .blog-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: rgba(255, 200, 162, .7);
    border-radius: 10px 10px 0 0;
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
    opacity: 1;
}

.blog .blog-item .blog-date-comments {
    padding-top: 150px !important; 
    margin-top: -125px;
}

.blog .blog-item .blog-img img,
.blog .blog-item .blog-content img,
.blog .blog-item .blog-text-inner a.h4 {
    transition: 0.5s;
}

.blog .blog-item {
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog .blog-item:hover {
    transform: translateY(-4px);
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.3);
}

.blog .blog-item:hover .blog-content img {
    transform: scale(1.3);
}

.blog .blog-item:hover .blog-text-inner a.h4 {
    color: var(--bs-primary);
}
/*** Blog End ***/



/*** Team Start ***/
.team .team-item {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team .team-item .team-icon {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
}

.team .team-item .team-icon a.share-link {
    opacity: 0;
    transition: 0.5s;
}

.team .team-item:hover .team-icon a.share-link {
    opacity: 1;
}

.team .team-item .team-content,
.team .team-item .team-content h4,
.team .team-item .team-content p {
    transition: 0.5s;
}

.team .team-item:hover {
    transform: translateY(-4px);
}

.team .team-item:hover .team-content {
    background: var(--bs-primary) !important;
    border-radius: 0 0 10px 10px;
}

.team .team-item:hover .team-content h4 {
    color: var(--bs-white) !important;
}

.team .team-item:hover .team-content p {
    color: var(--bs-dark) !important;
}
/*** Team end ***/


/*** testimonial Start ***/
.testimonial .testimonial-carousel {
    position: relative;
    
}

.testimonial .testimonial-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--bs-primary);
    border-radius: 10px;
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-secondary);
}
/*** testimonial End ***/

/* Animated section titles */
.section-title h4.text-primary,
.section-title h1 {
    position: relative;
    overflow: hidden;
}

.section-title h4.text-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(var(--bs-primary-rgb), 0.10);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.20);
    color: var(--bs-primary) !important;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 10px 22px rgba(var(--bs-primary-rgb), 0.10);
}

.section-title h4.text-primary::after {
    content: none;
}

.section-title h1 {
    transform: translateY(12px);
    opacity: 0;
    animation: title-rise 0.7s ease-out forwards;
    animation-delay: 0.25s;
}

@keyframes title-underline {
    0% { width: 0; opacity: 0; }
    50% { width: 80%; opacity: 1; }
    100% { width: 45%; opacity: 1; }
}

@keyframes title-rise {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Soft card glow on hover for key sections */
.service .service-item:hover,
.program .program-item:hover,
.events .events-item:hover,
.blog .blog-item:hover,
.team .team-item:hover {
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18);
}

/* Hero subtle float on image/illustration side when present */
.hero-header .col-lg-5 img,
.hero-header .col-lg-5 .img-border-radius {
    animation: baby-float 5.5s ease-in-out infinite;
}

@keyframes icon-wiggle {
    0%   { transform: translateY(0) rotate(0deg); }
    25%  { transform: translateY(-3px) rotate(-4deg); }
    50%  { transform: translateY(0) rotate(3deg); }
    75%  { transform: translateY(-2px) rotate(-2deg); }
    100% { transform: translateY(0) rotate(0deg); }
}


/*** Footer Start ***/
.footer {
    background: linear-gradient(rgba(255, 249, 244, .95), rgba(255, 249, 244, 1)), url(../img/background.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

.footer .footer-galary-img img {
    width: 100%;
    border-style: dotted; 
    border-color: var(--bs-primary);
    transition: 0.5s;
}

.footer .footer-galary-img img:hover {
    transform: scale(1.2);
}

.footer-item a.text-body:hover {
    color: var(--bs-secondary) !important;
}
/*** Footer End ***/

/* Baby-soft motion */
@keyframes baby-float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes baby-bounce {
    0%,    50% {
        transform: translateY(-4px) scale(1.03);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

/* Extra modern micro-animations */

/* Subtle pulse on program price badge and events step badge */
.program .program-item .program-rate,
.events .events-item .events-rate {
    animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 0 0 rgba(255, 75, 138, 0);
    }
    50% {
        transform: translateY(-2px) scale(1.03);
        box-shadow: 0 8px 18px rgba(255, 75, 138, 0.4);
    }
}

/* Floating pastel bubbles in services background */
.service {
    position: relative;
    overflow: hidden;
}

.service::before,
.service::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    opacity: 0.35;
    filter: blur(10px);
    animation: bubble-rise 14s linear infinite;
}

.service::before {
    width: 160px;
    height: 160px;
    background: rgba(255, 200, 162, 0.9);
    bottom: -120px;
    left: 6%;
}

.service::after {
    width: 130px;
    height: 130px;
    background: rgba(255, 142, 179, 0.35);
    bottom: -100px;
    right: 8%;
    animation-delay: 4s;
}

@keyframes bubble-rise {
    0% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-40px) translateX(10px);
    }
    100% {
        transform: translateY(-80px) translateX(-10px);
    }
}

body[dir='rtl'] .me-1 { margin-right: 0 !important; margin-left: .25rem !important; }
body[dir='rtl'] .me-2 { margin-right: 0 !important; margin-left: .5rem !important; }
body[dir='rtl'] .me-3 { margin-right: 0 !important; margin-left: 1rem !important; }
body[dir='rtl'] .me-4 { margin-right: 0 !important; margin-left: 1.5rem !important; }
body[dir='rtl'] .me-5 { margin-right: 0 !important; margin-left: 3rem !important; }

body[dir='rtl'] .ms-1 { margin-left: 0 !important; margin-right: .25rem !important; }
body[dir='rtl'] .ms-2 { margin-left: 0 !important; margin-right: .5rem !important; }
body[dir='rtl'] .ms-3 { margin-left: 0 !important; margin-right: 1rem !important; }
body[dir='rtl'] .ms-4 { margin-left: 0 !important; margin-right: 1.5rem !important; }
body[dir='rtl'] .ms-5 { margin-left: 0 !important; margin-right: 3rem !important; }

body[dir='rtl'] .pe-1 { padding-right: 0 !important; padding-left: .25rem !important; }
body[dir='rtl'] .pe-2 { padding-right: 0 !important; padding-left: .5rem !important; }
body[dir='rtl'] .pe-3 { padding-right: 0 !important; padding-left: 1rem !important; }
body[dir='rtl'] .pe-4 { padding-right: 0 !important; padding-left: 1.5rem !important; }
body[dir='rtl'] .pe-5 { padding-right: 0 !important; padding-left: 3rem !important; }

body[dir='rtl'] .ps-1 { padding-left: 0 !important; padding-right: .25rem !important; }
body[dir='rtl'] .ps-2 { padding-left: 0 !important; padding-right: .5rem !important; }
body[dir='rtl'] .ps-3 { padding-left: 0 !important; padding-right: 1rem !important; }
body[dir='rtl'] .ps-4 { padding-left: 0 !important; padding-right: 1.5rem !important; }
body[dir='rtl'] .ps-5 { padding-left: 0 !important; padding-right: 3rem !important; }

body[dir='rtl'] .end-0 { right: auto !important; left: 0 !important; }
body[dir='rtl'] .start-0 { left: auto !important; right: 0 !important; }

body[dir='rtl'] .border-end { border-right: 0 !important; border-left: var(--bs-border-width) solid var(--bs-border-color) !important; }
body[dir='rtl'] .border-start { border-left: 0 !important; border-right: var(--bs-border-width) solid var(--bs-border-color) !important; }

body[dir='rtl'] .topbar .top-link a { margin-right: 0; margin-left: 10px; }
body[dir='rtl'] .topbar .top-link a.me-0 { margin-left: 0 !important; }

body[dir='rtl'] a[href^='tel:'],
body[dir='rtl'] a[href^='mailto:'] {
    direction: ltr;
    unicode-bidi: plaintext;
}

body[dir='rtl'] .footer a[href^='tel:'],
body[dir='rtl'] .footer a[href^='mailto:'] {
    display: inline-flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: .5rem;
}

body[dir='rtl'] .footer a[href^='tel:'] i,
body[dir='rtl'] .footer a[href^='mailto:'] i {
    margin: 0 !important;
}

body[dir='rtl'] .footer .footer-newsletter > .form-control {
    padding-left: 7rem !important;
}

body[dir='rtl'] #phone-tada .position-absolute {
    left: auto !important;
    right: 0px !important;
}

body[dir='rtl'] #phone-tada .fa-phone-alt.me-4 {
    margin-left: .75rem !important;
    margin-right: 0 !important;
}

body[dir='rtl'] .public-wow .input-group { flex-direction: row-reverse; }
body[dir='rtl'] .public-wow .input-group > .form-control { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; border-top-right-radius: .375rem !important; border-bottom-right-radius: .375rem !important; }
body[dir='rtl'] .public-wow .input-group > .btn,
body[dir='rtl'] .public-wow .input-group > .btn-border-radius { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; border-top-left-radius: .375rem !important; border-bottom-left-radius: .375rem !important; }
