/********** Template CSS **********/

/*** ============================================================
    COLOUR PALETTE OVERRIDE
    Primary Brand   : #FF69B4  (hot pink)
    Trust Anchor    : #0f172a  (deep navy)
    Clean Background: #f8fafc  (soft off-white)
    Secondary Calm  : #e0f2fe  (light sky blue)
    Support Accent  : #FF69B4  (hot pink)
    Soft Neutral    : #64748b  (slate gray)
    Light Border    : #e2e8f0
    ============================================================ ***/
:root {
    /* Bootstrap primary → hot pink */
    --bs-primary:            #FF69B4;
    --bs-primary-rgb:        255, 105, 180;

    /* Bootstrap dark → deep navy */
    --bs-dark:               #0f172a;
    --bs-dark-rgb:           15, 23, 42;

    /* Bootstrap light → clean off-white */
    --bs-light:              #f8fafc;
    --bs-light-rgb:          248, 250, 252;

    /* Bootstrap secondary → hot pink */
    --bs-secondary:          #FF69B4;
    --bs-secondary-rgb:      255, 105, 180;

    /* Bootstrap success → primary hot pink */
    --bs-success:            #FF69B4;
    --bs-success-rgb:        255, 105, 180;

    /* Body text → slate gray */
    --bs-body-color:         #64748b;
    --bs-body-bg:            #f8fafc;

    /* Custom palette tokens */
    --clr-primary:   #FF69B4;
    --clr-anchor:    #0f172a;
    --clr-bg:        #f8fafc;
    --clr-calm:      #e0f2fe;
    --clr-accent:    #FF69B4;
    --clr-neutral:   #64748b;
    --clr-border:    #e2e8f0;
}

/* ---- Global typography ---- */
body {
    color: #64748b;
    background-color: #f8fafc;
}

h1, h2, h3, h4, h5, h6 {
    color: #0f172a;
}

/* ---- Explicit button overrides (Bootstrap 5 compiled buttons) ---- */
.btn-primary {
    color: #fff !important;
    background-color: #FF69B4 !important;
    border-color: #FF69B4 !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    color: #fff !important;
    background-color: #D94E9C !important;
    border-color: #D94E9C !important;
}

.btn-outline-primary {
    color: #FF69B4 !important;
    border-color: #FF69B4 !important;
}
.btn-outline-primary:hover {
    background-color: #FF69B4 !important;
    color: #fff !important;
}

/* ---- Text / background / border utilities ---- */
.text-primary  { color: #FF69B4 !important; }
.bg-primary    { background-color: #FF69B4 !important; }
.border-primary{ border-color: #FF69B4 !important; }

.text-success  { color: #FF69B4 !important; }
.bg-success    { background-color: #FF69B4 !important; }

.text-dark     { color: #0f172a !important; }
.bg-dark       { background-color: #0f172a !important; }

.bg-light      { background-color: #f8fafc !important; }

/* Calm section background utility */
.bg-calm       { background-color: #e0f2fe !important; }

/* ---- Heading colour inside dark/primary backgrounds ---- */
.bg-primary h1, .bg-primary h2, .bg-primary h3,
.bg-primary h4, .bg-primary h5, .bg-primary h6,
.bg-primary p,  .bg-primary span, .bg-primary i {
    color: #fff;
}
.bg-dark h1, .bg-dark h2, .bg-dark h3,
.bg-dark h4, .bg-dark h5, .bg-dark h6 {
    color: #f8fafc;
}

/* ---- Footer background ---- */
.footer {
    background-color: #0f172a !important;
}

/* ---- Borders ---- */
.border, hr, .card, .accordion-item {
    border-color: #e2e8f0 !important;
}

/* ---- Page-header hero breadcrumb ---- */
.page-header {
    background-color: #e0f2fe;
}
.page-header h1,
.page-header .breadcrumb-item.active {
    color: #0f172a;
}

/* ---- Dropdown ---- */
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    background: #FF69B4;
    color: #fff;
}

/* ---- Navbar active link ---- */
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #FF69B4;
}

/* ---- Testimonial centre card ---- */
.testimonial-carousel .owl-item.center .bg-light {
    background: #FF69B4 !important;
}
.testimonial-carousel .owl-item.center .bg-light * {
    color: #fff !important;
}

/* ---- Check / badge icons ---- */
.text-green,
.fa-check-circle.text-success,
.fa-check.text-success {
    color: #FF69B4 !important;
}

/* ---- ab-section theme sync ---- */
.ab12 { border-color: #e2e8f0; }
.ab16 { background-color: #FF69B4 !important; border-color: #FF69B4 !important; }
.ab16:hover { background-color: #D94E9C !important; border-color: #D94E9C !important; }



.navbar-brand .brand-text {
    display: none;
}
@media (min-width: 992px) {
    .navbar-brand .brand-text {
        display: inline;
    }
}
.navbar-brand .brand-logo {
    height: 45px;
    width: auto;
}
@media (min-width: 992px) {
    .navbar-brand .brand-logo {
        height: 50px;
    }
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed !important;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Fonts ***/
.font-work-sans {
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.font-playfair-display {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.font-dancing-script {
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}


/*** Button ***/
.btn {
    position: relative;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-dark,
.btn-primary {
    margin: 10px;
}

.btn-primary::before,
.btn-primary::after {
    position: absolute;
    content: "";
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    top: -5px;
    left: -5px;
}

.btn-primary::before {
    top: -10px;
    height: calc(100% + 20px);
    border-left: 2px solid var(--bs-primary);
    border-right: 2px solid var(--bs-primary);
}

.btn-primary::after {
    left: -10px;
    width: calc(100% + 20px);
    border-top: 2px solid var(--bs-primary);
    border-bottom: 2px solid var(--bs-primary);
}

.btn-dark::before,
.btn-dark::after {
    position: absolute;
    content: "";
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    top: -5px;
    left: -5px;
}

.btn-dark::before {
    top: -10px;
    height: calc(100% + 20px);
    border-left: 2px solid var(--bs-dark);
    border-right: 2px solid var(--bs-dark);
}

.btn-dark::after {
    left: -10px;
    width: calc(100% + 20px);
    border-top: 2px solid var(--bs-dark);
    border-bottom: 2px solid var(--bs-dark);
}


/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin: 0 12px;
    padding: 0;
    outline: none;
    font-family: "Playfair Display", serif;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--bs-dark);
}

.navbar .navbar-nav .nav-link:hover,
.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: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar .btn-primary {
    border-width: 2px;
    background: var(--bs-light);
}

.navbar .btn-primary:hover {
    background: var(--bs-primary);
}


/*** Hero Header ***/
.hero-header {
    background: url(../img/hero-bg.jpg) top left no-repeat;
    background-size: cover;
}

/* Shrink entire hero section on smaller/shorter laptop screens */
@media (max-height: 800px), (max-width: 1300px) {
    .hero-header .hero-header-text .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    .hero-header h1.display-4 {
        font-size: 1.6rem !important;
        margin-bottom: 0.75rem !important;
    }
    .hero-header h1.font-dancing-script {
        font-size: 1.4rem !important;
    }
    .hero-header p.mb-4 {
        font-size: 0.9rem !important;
        margin-bottom: 0.75rem !important;
    }
    .hero-header .row.g-4 {
        --bs-gutter-y: 0.75rem !important;
    }
}

@media (max-height: 650px) {
    .hero-header .hero-header-text .py-5 {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }
}

@media (min-width: 992px) {
    .hero-header .container {
        max-width: 100% !important;
    }

    .hero-header .hero-header-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .hero-header .hero-header-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .hero-header .hero-header-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

.header-carousel .owl-nav {
    position: absolute;
    right: 0;
    bottom: 0;
    text-align: center;
    display: flex;
    justify-content: center;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next{
    position: relative;
    margin-left: 2px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-dark);
    background: var(--bs-primary);
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    color: var(--bs-white);
}

.page-header {
    background: url(../img/page-header.jpg) center top no-repeat;
    background-size: 100% auto;
    width: 100%;
    display: flex;
    align-items: center;
}


/*** Service ***/
.service .service-item {
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .06);
    transition: border-color .3s, box-shadow .3s;
}

.service .service-item:hover {
    border-color: var(--bs-primary) !important;
    box-shadow: 0 6px 25px rgba(255, 105, 180, .18);
}

@media (min-width: 992px) {
    .service .service-item.border-lg-end {
        border-right: 2px solid #e2e8f0;
    }

    .service .service-item.border-lg-end-0 {
        border-right: 2px solid #e2e8f0 !important;
    }

    .service .service-item.border-lg-bottom-0 {
        border-bottom: 2px solid #e2e8f0 !important;
    }
}

.service .service-item .btn-primary {
    border-width: 2px;
    background: var(--bs-white);
}

.service .service-item .btn-primary:hover {
    background: var(--bs-primary);
}

.service .service-item img {
    width: 70px;
    margin-bottom: 20px;
}


/*** Team ***/
.team {
    position: relative;
}

.team::before {
    position: absolute;
    content: "";
    width: 200%;
    height: 200px;
    top: 50%;
    left: -50%;
    transform: translateY(-50%);
    margin-top: 1rem;
    background: var(--bs-primary);
}

.team-item img {
    transition: .5s;
}
  
.team-item:hover img {
    transform: scale(1.2);
}
  
.team-overlay {
    position: absolute;
    padding: 30px;
    right: 30px;
    bottom: 30px;
    left: 30px;
    text-align: center;
    background: rgba(255, 255, 255, .5);
    transition: .5s;
    z-index: 1;
}

.team-item:hover .team-overlay {
    background: rgba(255, 255, 255, .9);
}

.team-overlay p {
    letter-spacing: 1px;
}

.team-overlay .btn-dark {
    border-width: 2px;
    color: var(--bs-dark);
    background: transparent;
}

.team-overlay .btn-dark:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}


/*** Testimonial ***/
.testimonial-carousel .owl-item {
    position: relative;
}

.testimonial-carousel .owl-item::before {
    position: absolute;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: .1;
}

.testimonial-carousel .owl-item img {
    position: relative;
    width: 100px;
    height: 100px;
    z-index: 1;
}

.testimonial-carousel .owl-item,
.testimonial-carousel .owl-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item span {
    letter-spacing: 2px;
}

.testimonial-carousel .owl-item.center .bg-light {
    background: var(--bs-primary) !important;
}

.testimonial-carousel .owl-item.center .bg-light * {
    color: var(--bs-dark) !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--bs-dark);
    background: var(--bs-primary);
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}


/*** Footer ***/
@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 1px;
        height: 100%;
        top: 0;
        left: 50%;
        background: var(--bs-secondary);
    }
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255, 255, 255, .5);
    margin-right: 10px;
}