/********** Template CSS **********/
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Sora:wght@500;600;700;800&display=swap');

:root {
    --primary: #f45d48;
    --secondary: #ffc857;
    --light: #fff7f0;
    --dark: #0f172a;
    --accent: #2a9d8f;
    --glow: rgba(244, 93, 72, 0.16);
}

body {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    background:
        radial-gradient(120% 120% at 18% 18%, rgba(255, 200, 87, 0.14), transparent 40%),
        radial-gradient(140% 140% at 80% 12%, rgba(244, 93, 72, 0.12), transparent 42%),
        var(--light);
    color: var(--dark);
    letter-spacing: 0.01em;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Sora', 'Manrope', system-ui, -apple-system, sans-serif;
    color: var(--dark);
}


/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }
    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }
    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

#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;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}


/*** Button ***/
.btn {
    font-family: 'Sora', 'Manrope', system-ui, -apple-system, sans-serif;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 12px;
    transition: all .3s ease;
}

.btn-primary {
    background-image: linear-gradient(135deg, #f45d48 0%, #ff7b54 48%, #ffb347 100%);
    border: none;
    color: #0f172a;
    box-shadow: 0 10px 30px rgba(244, 93, 72, 0.28);
}

.btn-primary:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 16px 34px rgba(244, 93, 72, 0.33);
    color: #0f172a;
}

.btn-secondary {
    background-image: linear-gradient(135deg, #2a9d8f 0%, #34c3b3 55%, #5ff0d9 100%);
    border: none;
    color: #0f172a;
    box-shadow: 0 10px 28px rgba(42, 157, 143, 0.25);
}

.btn-secondary:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 16px 32px rgba(42, 157, 143, 0.3);
    color: #0f172a;
}

.btn-outline-primary {
    color: var(--dark);
    border: 2px solid var(--primary);
    background: #fff;
    box-shadow: 0 10px 24px var(--glow);
}

.btn-outline-primary:hover {
    color: #0f172a;
    background: linear-gradient(135deg, rgba(244, 93, 72, 0.1), rgba(255, 200, 87, 0.18));
    box-shadow: 0 14px 30px rgba(244, 93, 72, 0.18);
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.btn-dark {
    background: var(--dark);
    border: none;
    color: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.26);
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    font-family: 'Sora', 'Manrope', system-ui, -apple-system, sans-serif;
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.02em;
    outline: none;
    transition: .5s;
}

.navbar-dark {
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark);
}

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

.navbar-dark .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-dark .navbar-toggler {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

/* Better toggler appearance and alignment */
.navbar .navbar-toggler {
    margin-left: auto;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
.navbar .navbar-toggler .fa-bars { font-size: 1.5rem; color: var(--primary); }

/* Brand text sizing (desktop larger, mobile adjusted) */
.navbar-brand span { font-size: 1.125rem; }
@media (min-width: 992px) {
  .navbar-brand span { font-size: 1.5rem; }
}

/* Ensure brand text color updates on sticky (white background) */
.sticky-top.navbar-dark .navbar-brand,
.sticky-top.navbar-dark .navbar-brand span {
    color: var(--primary) !important;
}

/* When mobile menu is expanded, make sure links are dark */
.navbar-dark .navbar-collapse.show .nav-link {
    color: var(--dark) !important;
}

/* Subtle border when navbar switches to white */
.sticky-top.navbar-dark {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.12);
}

/* Round the logo a bit for a softer look */
.navbar-brand img {
    border-radius: 10px;
}

@media (max-width: 991.98px) {
  /* Mobile: navbar always on white background */
  .navbar-dark {
    position: relative;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .navbar-dark .navbar-brand,
  .navbar-dark .navbar-brand span { color: var(--primary) !important; }

  .navbar-dark .navbar-nav .nav-link,
  .navbar-dark .navbar-nav .nav-link.show,
  .sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 10px 0;
    color: var(--dark) !important;
    font-size: 16px;
  }

  .navbar-dark .navbar-collapse { background-color: #FFFFFF; }
  .navbar-dark .navbar-toggler { color: var(--primary) !important; }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
        background: linear-gradient(120deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.78) 50%, rgba(244, 93, 72, 0.2));
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(10px);
        box-shadow: 0 12px 22px rgba(15, 23, 42, 0.12);
    }

    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}

.topbar {
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.82) 50%, rgba(244, 93, 72, 0.4));
    color: #f8fafc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    letter-spacing: 0.01em;
}

.topbar a,
.topbar small {
    color: #f8fafc;
}

.topbar a:hover {
    color: var(--secondary);
}


/*** Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.56));
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1;
}

#header-carousel .carousel-item {
    position: relative;
}

#header-carousel .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 160% at 20% 20%, rgba(244, 93, 72, 0.18), transparent 40%),
                linear-gradient(120deg, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.2));
    z-index: 1;
}

#header-carousel .carousel-item > img {
    filter: brightness(.78) saturate(1.05);
}

/* Reduce hero carousel height on desktop */
@media (min-width: 992px) {
    #header-carousel .carousel-item {
        height: 95vh; /* adjust to taste: 50–65vh */
    }
    #header-carousel .carousel-item > img {
        height: 100%;
        object-fit: cover; /* fill viewport keeping proportion */
    }
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@-webkit-keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@-webkit-keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}


/*** Service ***/
.service-item {
    position: relative;
    min-height: 320px;
    padding: 32px 28px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,247,240,0.94));
    overflow: hidden;
}

.service-item .service-icon {
    margin-bottom: 20px;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f45d48 0%, #ffb347 100%);
    border-radius: 18px;
    transform: none;
    box-shadow: 0 12px 24px rgba(244, 93, 72, 0.22);
}

.service-item .service-icon i {
    transform: none;
    color: #0f172a;
}

.service-item a.btn {
    position: relative;
    width: auto;
    bottom: auto;
    left: auto;
    margin-top: 14px;
    opacity: 1;
    padding-inline: 16px;
}

.service-item:hover a.btn {
    transform: translateY(-2px);
}

.service-item::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(140% 140% at 20% 15%, rgba(244, 93, 72, 0.12) 0%, rgba(244, 93, 72, 0) 45%),
        radial-gradient(120% 120% at 85% 0%, rgba(255, 200, 87, 0.14) 0%, rgba(255, 200, 87, 0) 50%);
    opacity: 0;
    transition: opacity .25s ease;
}

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 48px rgba(15, 23, 42, 0.12);
    border-color: rgba(244, 93, 72, 0.25);
}

.service-item:hover::after {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}


/*** Team ***/
.team-item {
    transition: .5s;
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
}

.team-item:hover {
    box-shadow: 0 0 30px #DDDDDD;
}

.team-item:hover .team-social {
    background: rgba(9, 30, 62, .7);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}

.team-item .team-img img,
.blog-item .blog-img img  {
    transition: .5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}


/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.bg-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

.footer-gradient {
    background:
        radial-gradient(140% 140% at 15% 20%, rgba(244, 93, 72, 0.14) 0%, rgba(244, 93, 72, 0) 42%),
        radial-gradient(120% 120% at 85% 0%, rgba(255, 200, 87, 0.12) 0%, rgba(255, 200, 87, 0) 45%),
        #0b1222;
    color: #f8fafc;
}

.footer-gradient a {
    color: #f8fafc;
}

.footer-gradient a:hover {
    color: var(--secondary);
}

@media (min-width: 767.98px) {
  .footer-about {
      margin-bottom: -75px;
  }
}
/* Welcome hero (intro band) */
.welcome-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 240, 0.96));
  border: 1px solid rgba(244, 93, 72, 0.08);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}
.welcome-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(244,93,72,0.12) 0%, rgba(244,93,72,0) 50%),
    radial-gradient(120% 120% at 100% 0%, rgba(255,200,87,0.12) 0%, rgba(255,200,87,0) 50%);
  pointer-events: none;
}
.welcome-hero > * { position: relative; z-index: 1; }
/* WhatsApp CTA card */
.cta-whatsapp {

  transition: transform .2s ease, box-shadow .2s ease;
  background-color: #fff;
  border-radius: .75rem;
  border: 1px solid rgba(15,23,42,0.05);
  box-shadow: 0 16px 32px rgba(15,23,42,0.08);
}
.cta-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.12) !important;
  background-color: #f7fffa;
}
.cta-whatsapp .whatsapp-icon { background-color:var(--secondary); }
.cta-whatsapp .whatsapp-title { color: var(--primary); font-weight: 700;}

/* Mobile refinements */
@media (max-width: 576px) {
  .cta-whatsapp .card-body { padding: .875rem 1rem; }
  .cta-whatsapp .whatsapp-icon { width: 48px !important; height: 48px !important; }
  .cta-whatsapp .whatsapp-title { font-size: 1rem; }
  .cta-whatsapp p { font-size: .875rem; opacity: .85; }
  .cta-whatsapp:hover { transform: none; }
}

/* Elegant textured card for event CTA */
.event-cta {
  /* keep structure from HTML (rounded, p-5, etc.) */
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(244, 93, 72, 0.22);
  box-shadow: 0 .75rem 1.5rem rgba(15,23,42,.16);
  transition: transform .2s ease, box-shadow .2s ease;
}

.event-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  /* layered backgrounds: subtle gold glow + fine diagonal texture + deep gradient */
  background:
    radial-gradient(130% 130% at 15% 15%, rgba(255, 200, 87, 0.22) 0%, rgba(255, 200, 87, 0) 50%),
    radial-gradient(120% 120% at 90% 0%, rgba(244, 93, 72, 0.24) 0%, rgba(244, 93, 72, 0) 48%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 2px, rgba(0,0,0,0) 2px 8px),
    linear-gradient(135deg, #0f172a 0%, #182543 55%, #1f304f 100%);
}

.event-cta > * {
  position: relative;
  z-index: 1;
}

.event-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 1rem 2rem rgba(15,23,42,.2);
}

/* Optional: Birthday/confetti variant. Add class `event-cta--birthday` alongside `event-cta` to use. */
.event-cta.event-cta--birthday::before {
  background:
    /* colorful confetti dots */
    radial-gradient(circle at 12% 18%, rgba(255, 205, 86, .55) 0 3px, transparent 4px) 0 0/28px 28px,
    radial-gradient(circle at 78% 22%, rgba(255, 99, 132, .55) 0 3px, transparent 4px) 10px 12px/28px 28px,
    radial-gradient(circle at 32% 72%, rgba(75, 192, 192, .55) 0 3px, transparent 4px) 20px 6px/28px 28px,
    radial-gradient(circle at 60% 48%, rgba(54, 162, 235, .55) 0 3px, transparent 4px) 4px 18px/28px 28px,
    radial-gradient(circle at 90% 80%, rgba(153, 102, 255, .55) 0 3px, transparent 4px) 16px 2px/28px 28px,
    linear-gradient(135deg, #0e1b3a 0%, #0b2e57 60%, #0b3f7a 100%);
}

@media (max-width: 576px) {
  .event-cta { box-shadow: 0 .5rem 1rem rgba(0,0,0,.18); }
}
