/********** Template CSS **********/
:root {
    --primary: #6A0DAD;
    --secondary: #FF5A5F;
    --tertiary: #1E1E1E;
    --light: #FFFFFF;
    --dark: #011A41;
    --primary-color: #6A0DAD;
    --secondary-color: #FF5A5F;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --pink:#FF5A5F;
}

/* Custom Input Styling */
.custom-input {
    border: none;
    border-bottom: 2px solid var(--text-color);
    border-radius: 0;
    padding: 12px 0;
    background: transparent;
    box-shadow: none;
}

.custom-input:focus {
    border-bottom: 2px solid var(--primary-color);
    outline: none;
    box-shadow: none;
}

/* Custom Multi-Select Styling */
.custom-multi-select {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-option {
    border: 1px solid var(--text-color);
    border-radius: 20px;
    padding: 8px 16px;
    background-color: transparent;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-option:hover {
    background-color: var(--primary-color);
    color: var(--light);
}

.service-option.selected {
    background-color: var(--primary-color);
    color: var(--light);
    border-color: var(--primary-color);
}
/* Custom Multi-Select Styling for Referral Source */
.custom-multi-select {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.referral-option {
    border: 1px solid var(--text-color);
    border-radius: 20px;
    padding: 8px 16px;
    background-color: transparent;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.referral-option:hover {
    background-color: var(--primary-color);
    color: var(--light);
}

.referral-option.selected {
    background-color: var(--primary-color);
    color: var(--light);
    border-color: var(--primary-color);
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Jost', sans-serif;
    font-weight: 700;
}

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

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}
.oval-line {
  width: 50%;
              /* Length of the oval */
  height: 4px;            /* Thickness of the oval */
  background: linear-gradient(45deg, #ff5a5f, #ff5a5fd1);  /* Oval color */
  border-radius: 50%;    /* Makes it oval */
  margin: 10px auto 10px;    /* Top space and center align */
  blur: 50px;
}
h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

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


/*** Navbar ***/
.navbar {
    flex-wrap: nowrap;
    background: var(--primary);
    position: relative;
    z-index: 1000;
}

.navbar-collapse {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bs-primary);
    padding: 2rem;
    transition: all 0.3s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.navbar-collapse.show {
    right: 0;
}

/* Close button for mobile menu */
.navbar-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.navbar-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.navbar-close:focus {
    outline: none;
}

.navbar-nav {
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
}

.nav-item {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease-in-out;
}

.navbar-collapse.show .nav-item {
    opacity: 1;
    transform: translateX(0);
}

.nav-item:nth-child(1) { transition-delay: 0.1s; }
.nav-item:nth-child(2) { transition-delay: 0.2s; }
.nav-item:nth-child(3) { transition-delay: 0.3s; }
.nav-item:nth-child(4) { transition-delay: 0.4s; }
.nav-item:nth-child(5) { transition-delay: 0.5s; }

.nav-link {
    font-size: 1.1rem;
    color: #fff;
    padding: 0.5rem 0;
    position: relative;
    display: block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Overlay when menu is open */
.navbar-collapse::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.navbar-collapse.show::before {
    opacity: 1;
    visibility: visible;
}

/* Responsive adjustments */
@media (min-width: 992px) {
    .navbar-collapse {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        box-shadow: none;
        background: transparent;
        overflow-y: visible;
    }

    .navbar-nav {
        flex-direction: row;
        margin-top: 0;
        gap: 0;
    }

    .nav-item {
        opacity: 1;
        transform: none;
    }

    .nav-link {
        padding: 0.5rem 1rem;
        color: #ffffffc4;
    }

    .nav-link:hover {
        color: #fff;
    }

    .navbar-collapse::before {
        display: none;
    }

    .navbar-close {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 1.5rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.75rem 0;
    }
}

@media (max-width: 575.98px) {
    .navbar-collapse {
        width: 280px;
    }

    .nav-link {
        font-size: 0.95rem;
    }
}

.navbar img {
    width: 35%;
    max-width: 150px;
}

.navbar-light .navbar-toggler {
    border-color: transparent;
    padding: 0.5rem;
    background: transparent;
}

.navbar-light .navbar-toggler:focus {
    box-shadow: none;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(53, 94, 252, .07);
}

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

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: #ffffffc4;
    font-weight: 500;
    outline: none;
}

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

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

.carousel-control-prev-icon {
    border-radius: 0 3rem 3rem 0;
}

.carousel-control-next-icon {
    border-radius: 3rem 0 0 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/header.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}
.page-header .breadcrumb-item ol li{
    color:#fff;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #f1eaea;
}


/*** Facts ***/
.facts {
    background: linear-gradient(#eb4f68, #ff5a5f), url(../img/bg.png);
}


/*** Callback ***/
.callback {
    position: relative;
}

.callback::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    background: linear-gradient(#781db9be, #781db9be), url(../img/bg.png);
    z-index: -1;
}


/*** Feature ***/
.feature .feature-box,
.feature .feature-box * {
    transition: .5s;
}

.feature .feature-box:hover {
    background: var(--primary);
    border-color: var(--primary) !important;
}

.feature .feature-box:hover * {
    color: #FFFFFF !important;
}


/*** Service ***/
.service .nav .nav-link {
    transition: .5s;
}

.service .nav .nav-link.active {
    border-color: var(--primary) !important;
    background: var(--primary);
}

.service .nav .nav-link.active h5 {
    color: #FFFFFF !important;
}

.service .nav .nav-link.active h5 i {
    color: #FFFFFF !important;
}


/*** Project ***/
.project-item,
.project-item .project-img {
    position: relative;
}

.project-item .project-img a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    opacity: 0;
    transition: .5s;
}

.project-item:hover .project-img a {
    opacity: 1;
}

.project-item .project-title {
    position: absolute;
    top: 3rem;
    right: 0;
    bottom: 0;
    left: 3rem;
    border: 1px solid var(--light);
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    z-index: -1;
    transition: .5s;
}

.project-item:hover .project-title {
    background: var(--primary);
    border-color: var(--primary);
}

.project-item .project-title h4 {
    transition: .5s;
}

.project-item:hover .project-title h4 {
    color: #FFFFFF;
}

.project-carousel .owl-nav {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    margin-bottom: 30px;
}

.team-img {
    position: relative;
    overflow: hidden;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    padding: 20px;
}

.team-item:hover .team-overlay {
    opacity: 1;
}

.team-text {
    text-align: center;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.team-item:hover .team-text {
    transform: translateY(0);
}

.team-text h4 {
    font-size: 24px;
    margin-bottom: 15px;
}

.team-text p {
    font-size: 16px;
    line-height: 1.6;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item:hover .team-social .btn {
    background: #FFFFFF;
}

.team-item:hover .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Testimonial ***/
.testimonial-item {
    position: relative;
    text-align: center;
    padding-top: 30px;
}

.testimonial-item .testimonial-text {
    position: relative;
    text-align: center;
}

.testimonial-item .testimonial-text .btn-square {
    position: absolute;
    width: 60px;
    height: 60px;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-item .testimonial-text::before {
    position: absolute;
    content: "";
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: var(--light) transparent transparent transparent;
}

.testimonial-item .testimonial-text::after {
    position: absolute;
    content: "";
    bottom: -59px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: var(--primary) transparent transparent transparent;
}

.testimonial-carousel .owl-item img {
    margin: 0 auto;
    width: 100px;
    height: 100px;
}

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

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 30px;
    height: 30px;
    border: 1px solid;
    border-radius: 30px;
    transition: .5s;
}

.testimonial-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    top: 6px;
    left: 6px;
    border-radius: 16px;
    background: black;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    border-color: var(--pink);
}

.testimonial-carousel .owl-dot.active::after {
    background: var(--pink);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--secondary);
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #000B1C;
}

.copyright a {
    color: var(--light);
}

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

/* Team Card Styles */
.team-card {
    perspective: 1000px;
    height: 400px;
    margin-bottom: 30px;
}

.team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.team-card:hover .team-card-inner {
    transform: rotateY(180deg);
}

.team-card-front,
.team-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
}

.team-card-front {
    background-color: #fff;
}

.team-card-back {
    background-color: var(--primary);
    color: #fff;
    transform: rotateY(180deg);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgb(242 235 235 / 70%);
    color: #fff;
    text-align: center;
}

.team-content {
    max-height: 100%;
    overflow-y: auto;
}

.team-content h4 {
    color: #fff;
    margin-bottom: 15px;
}

.team-content p {
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
}

/* Mobile and Tablet Styles */
@media (max-width: 991.98px) {
    .team-card {
        height: auto;
        perspective: none;
    }

    .team-card-inner {
        transform-style: flat;
    }

    .team-card:hover .team-card-inner {
        transform: none;
    }

    .team-card-front,
    .team-card-back {
        position: relative;
        backface-visibility: visible;
    }

    .team-card-back {
        transform: none;
        margin-top: 20px;
    }

    .team-content {
        max-height: none;
    }
}

.bg-light-purple{
    background:#6A0DAD;
}
.bg-primary{
    background: #6A0DAD;
}

/* Blog Styles */
.blog-item {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-item:hover {
    transform: translateY(-5px);
}

.blog-img {
    position: relative;
    overflow: hidden;
   
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

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

.blog-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    min-width: 80px;
}

.blog-date .day {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.blog-date .month {
    display: block;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

.blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-content h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
    line-height: 1.4;
    height: 62px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.blog-line {
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.blog-content p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.blog-content p.content  {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5; /* Show only 5 lines */
    overflow: hidden;
    text-overflow: ellipsis;
  
    /* Optional fallback for older browsers (no effect in modern ones) */
    max-height: 7.5em; /* 5 lines × 1.5 line height (adjust as needed) */
    line-height: 1.5;
  
}

.blog-content .btn {
    font-size: 14px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 5px;
    align-self: flex-start;
}

/* Mobile and Tablet Styles for Blog */
@media (max-width: 991.98px) {
    .blog-img {
        /* height: 200px; */
    }
    
    .blog-content h4 {
        font-size: 20px;
        height: 56px;
    }
}

@media (max-width: 767.98px) {
    .blog-item {
        margin-bottom: 20px;
    }
    
    .blog-img {
        /* height: 180px; */
    }
}

/* Blog Detail Styles */
.blog-detail {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    padding: 30px;
    margin-bottom: 30px;
}

.blog-detail .blog-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 30px;
}

.blog-detail .blog-img img {
    width: 60%; /* Default size for larger screens */
    height: auto;
    transition: 0.5s;
}

@media screen and (max-width: 768px) {
    .blog-detail .blog-img img {
        width: 100%; /* Full width for smaller screens */
    }
}

.blog-detail .blog-img:hover img {
    transform: scale(1.05);
}

.blog-detail .blog-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    min-width: 80px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.blog-detail .blog-date .day {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.blog-detail .blog-date .month {
    display: block;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

.blog-detail .blog-meta {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.blog-detail .blog-meta span {
    font-size: 14px;
    color: #666;
}

.blog-detail h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
    line-height: 1.4;
}

.blog-detail .blog-tags {
    margin-bottom: 30px;
}

.blog-detail .blog-tags .btn {
    font-size: 12px;
    padding: 5px 15px;
    margin-right: 5px;
    margin-bottom: 5px;
    border-radius: 20px;
    transition: .3s;
}

.blog-detail .blog-tags .btn:hover {
    background: var(--primary);
    color: #fff;
}

.blog-detail p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.blog-detail h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 30px 0 15px;
    color: var(--dark);
}

.blog-detail ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.blog-detail ul li {
    color: #666;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

/*
.blog-detail ul li:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 3px;
}
*/

.blog-detail .blog-quote {
    background: #f8f9fa;
    border-left: 5px solid var(--primary);
    padding: 30px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.blog-detail .blog-quote i {
    color: var(--primary);
    margin-bottom: 15px;
}

.blog-detail .blog-quote p {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 10px;
}

.blog-detail .blog-quote footer {
    font-size: 14px;
    color: #666;
}

.blog-detail .blog-share {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.blog-detail .blog-share span {
    font-weight: 600;
    color: var(--dark);
}

.blog-detail .blog-share .btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.blog-detail .blog-share .btn:hover {
    transform: translateY(-3px);
}

/* Comments Styles */
.comments {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    padding: 30px;
    margin-bottom: 30px;
}

.comments h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--dark);
}

.comment-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.comment-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.comment-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.comment-item h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
}

.comment-item span {
    font-size: 14px;
    color: #666;
}

.comment-item p {
    font-size: 15px;
    color: #666;
    margin: 10px 0;
    line-height: 1.6;
}

.comment-item .btn {
    font-size: 12px;
    padding: 5px 15px;
    border-radius: 20px;
}

/* Comment Form Styles */
.comment-form {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    padding: 30px;
}

.comment-form h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--dark);
}

.comment-form .form-floating {
    margin-bottom: 20px;
}

.comment-form .form-control {
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 15px;
    height: auto;
}

.comment-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: none;
}

.comment-form .btn {
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 5px;
}

/* Sidebar Styles */
.sidebar .input-group {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, .05);
}

.sidebar .form-control {
    border: 1px solid #eee;
    padding: 15px;
}

.sidebar .btn {
    padding: 0 20px;
}

.sidebar h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark);
    position: relative;
    padding-bottom: 10px;
}

.sidebar h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.sidebar .d-flex.flex-column a {
    color: #666;
    font-size: 16px;
    margin-bottom: 15px;
    transition: .3s;
    text-decoration: none;
}

.sidebar .d-flex.flex-column a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.sidebar .d-flex.flex-column a i {
    margin-right: 10px;
    color: var(--primary);
}

.sidebar .d-flex.mb-3 {
    margin-bottom: 20px !important;
}

.sidebar .d-flex.mb-3 img {
    border-radius: 5px;
    transition: .3s;
}

.sidebar .d-flex.mb-3:hover img {
    transform: scale(1.05);
}

.sidebar .d-flex.mb-3 a {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
    text-decoration: none;
    transition: .3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar .d-flex.mb-3 a:hover {
    color: var(--primary);
}

.sidebar .d-flex.mb-3 span {
    font-size: 12px;
    color: #666;
}

.sidebar .d-flex.flex-wrap a {
    font-size: 14px;
    padding: 5px 15px;
    margin: 5px;
    background: #f8f9fa;
    color: #666;
    border-radius: 20px;
    transition: .3s;
    text-decoration: none;
}

.sidebar .d-flex.flex-wrap a:hover {
    background: var(--primary);
    color: #fff;
}

.sidebar p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Responsive Styles for Blog Detail */
@media (max-width: 991.98px) {
    .blog-detail {
        padding: 20px;
    }
    
    .blog-detail h1 {
        font-size: 28px;
    }
    
    .blog-detail h2 {
        font-size: 22px;
    }
    
    .blog-detail .blog-quote p {
        font-size: 16px;
    }
    
    .comments, .comment-form {
        padding: 20px;
    }
}

@media (max-width: 767.98px) {
    .blog-detail .blog-meta {
        flex-wrap: wrap;
    }
    
    .blog-detail .blog-meta > div {
        margin-bottom: 10px;
        margin-right: 15px;
    }
    
    .blog-detail h1 {
        font-size: 24px;
    }
    
    .blog-detail h2 {
        font-size: 20px;
    }
    
    .blog-detail .blog-quote {
        padding: 20px;
    }
    
    .blog-detail .blog-quote p {
        font-size: 15px;
    }
    
    .comment-item img {
        width: 50px;
        height: 50px;
    }
}


/* About Us */
.diagonal-cards-container {
    position: relative;
    height: 500px;
    margin: 2rem 0;
}

.diagonal-card {
    position: absolute;
    width: 100%;
    max-width: 400px;
    transition: all 0.3s ease;
}

.mission-card {
    top: 0;
    right: 0;
    /* transform: rotate(-5deg); */
    z-index: 2;
}

.vision-card {
    bottom: 0;
    left: 0;
    /* transform: rotate(5deg); */
    z-index: 1;
}

/* Add hover effects */
.diagonal-card:hover {
    z-index: 10;
    transform: scale(1.05) rotate(0deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.mission-card:hover {
    transform: scale(1.05) rotate(0deg);
}

.vision-card:hover {
    transform: scale(1.05) rotate(0deg);
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4e73df, #224abe);
    color: white;
    font-size: 1.2rem;
}

.title-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.headline {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .diagonal-cards-container {
        height: auto;
        margin: 3rem 0;
    }
    
    .diagonal-card {
        position: relative;
        max-width: 100%;
        margin-bottom: 2rem;
        transform: none !important;
    }
    
    .mission-card {
        top: auto;
        right: auto;
    }
    
    .vision-card {
        bottom: auto;
        left: auto;
    }
}

@media (max-width: 767.98px) {
    .diagonal-cards-container {
        margin: 2rem 0;
    }
    
    .glass-card {
        padding: 1.5rem !important;
    }
}

/* Services */

.service-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    height: 100%;
    margin-bottom: 2rem;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-img {
    position: relative;
    width: 45%;
    min-height: 300px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.service-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #4e73df, #224abe);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.service-content {
    padding: 1.5rem;
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-description {
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #495057;
    font-size: 0.95rem;
}

.service-features li i {
    color: #4e73df;
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.btn-secondary {
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    align-self: flex-start;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 115, 223, 0.3);
}

.btn-pink {
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    background-color: var(--pink);
    border: var(--pink);
    align-self: flex-start;
    font-size: 0.9rem;
}

.btn-pink:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 115, 223, 0.3);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .service-card {
        flex-direction: column;
    }
    
    .service-img {
        width: 100%;
        min-height: 250px;
    }
    
    .service-content {
        width: 100%;
        padding: 1.25rem;
    }
    
    .service-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 767.98px) {
    .service-img {
        min-height: 200px;
    }
    
    .service-content {
        padding: 1rem;
    }
    
    .service-content h3 {
        font-size: 1.2rem;
    }
    
    .service-features li {
        font-size: 0.9rem;
    }
    
    .service-tag {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* Brands */
.brand-carousel-container {
    position: relative;
    padding: 2rem 0;
    overflow: hidden;
    width: 100%;
}

.brand-carousel {
    display: flex;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.brand-carousel:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.brand-item {
    flex: 0 0 200px;
    padding: 0 1rem;
}

.brand-card {
    /* background: #fff; */
    /* border-radius: 15px; */
    /* padding: 1.5rem; */
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); */
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-card:hover {
    /* transform: translateY(-5px); */
    /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); */
}

.brand-img {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.brand-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: grayscale(100%);
}

.brand-card:hover .brand-img img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .brand-item {
        flex: 0 0 180px;
    }
    
    .brand-img {
        height: 80px;
    }
}

@media (max-width: 767.98px) {
    .brand-item {
        flex: 0 0 150px;
    }
    
    .brand-card {
        padding: 1rem;
    }
    
    .brand-img {
        height: 60px;
    }
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    background-color: var(--primary);
    color: var(--light);
    text-align: left;
    padding: 50px 20px;
    overflow: hidden;
}

.oval-img-container {
    position: absolute;
    top: -25%;
    left: 47px;
    transform: rotate(65deg);
    width: 9%;
    height: 80%;
    background: var(--secondary);
    border-radius: 50%;
    z-index: -1;
    /* opacity: 0.8; */
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo img {
    width: 150px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2;
    position: relative;
    margin-bottom: 20px;
}

.hero-title .oval-container-first {
    position: absolute;
    top: 33px;
    left: -40px;
    width: 100px;
    height: 100px;
    background: var(--secondary);
    border-radius: 50%;
    animation: pulse 2s infinite;
    z-index: -2;
}

.hero-title::after {
    content: '';
    position: absolute;
    right: 22%;
    width: 50px;
    height: 50px;
    background: var(--pink);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
    bottom: 40%;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin: 50px 0px 50px 0px;
    justify-content: right;
}

.hero-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-btn-primary {
    background: #000;
    color: var(--white);
}

.hero-btn-primary:hover {
    background: var(--pink);
    color: var(--light);
}

.hero-btn-icon {
    background: var(--secondary);
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 50px;
    border-radius: 50px;
}

.hero-btn-icon i {
    font-size: 1.2rem;
}

.hero-btn-icon:hover {
    background: var(--light);
    color: var(--secondary);
}

/* Keyframes for animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .oval-img-container {
        width: 194px;
        height: 69px;
        transform: rotate(329deg);
        left: -17px;
        top: -3%;
    }

    .hero-btn {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    .hero-btn-icon {
        width: 40px;
        height: 40px;
    }
}

@media (orientation: landscape) {
    .hero-section {
        padding: 50px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (orientation: portrait) {
    .hero-section {
        padding: 40px 15px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
}
/* Navbar Styles */
.main-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgb(106 13 173);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.navbar-logo img {
    height: 40px;
    width: auto;
}

.navbar-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-links a {
    color: var(--bs-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Mobile Navigation Styles */
.navbar-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
}

.navbar-hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.navbar-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: var(--primary);
    z-index: 1001;
    transition: left 0.3s ease-in-out;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.navbar-overlay.show {
    left: 0;
}

.navbar-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1002;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.navbar-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.navbar-links-mobile {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    width: 100%;
}

.navbar-links-mobile li {
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

.navbar-overlay.show .navbar-links-mobile li {
    opacity: 1;
    transform: translateX(0);
}

.navbar-links-mobile li:nth-child(1) { transition-delay: 0.1s; }
.navbar-links-mobile li:nth-child(2) { transition-delay: 0.2s; }
.navbar-links-mobile li:nth-child(3) { transition-delay: 0.3s; }
.navbar-links-mobile li:nth-child(4) { transition-delay: 0.4s; }
.navbar-links-mobile li:nth-child(5) { transition-delay: 0.5s; }

.navbar-links-mobile a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-links-mobile a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Responsive Styles */
@media (max-width: 900px) {
    .navbar-hamburger {
        display: block;
    }

    .navbar-links {
        display: none;
    }

    .navbar-container {
        padding: 1rem 5%;
    }
}

@media (max-width: 576px) {
    .navbar-container {
        padding: 1rem 4%;
    }

    .navbar-logo img {
        height: 35px;
    }

    .navbar-links-mobile a {
        font-size: 1.1rem;
    }

    .navbar-overlay {
        width: 85%;
    }
}

/* Backdrop when menu is open */
.navbar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.navbar-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.service-item {
    /* box-shadow: 0 0 30px rgba(0, 0, 0, 0.1); */
    /* transition: all 0.3s ease; */
    /* overflow: hidden; */
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 35px rgba(0, 0, 0, 0.15);
}

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 450px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
}

.flip-card-front {
    background-color: #fff;
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flip-card-back {
    background: linear-gradient(135deg, #6f42c1, #4a2b8f);
    transform: rotateY(180deg);
    padding: 30px;
}

.service-content-back {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-content-back h4 {
    /* font-size: 1.8rem; */
    /* font-weight: 600; */
    /* margin-bottom: 20px; */
    /* color: #fff; */
}

.service-content-back p {
    /* font-size: 1.1rem; */
    /* line-height: 1.6; */
    /* color: rgba(255, 255, 255, 0.9); */
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
}

.service-features li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    color: #fff;
}

.service-features i {
    color: #fff;
    margin-right: 10px;
    font-size: 1.2rem;
}

.btn-light {
    background: #fff;
    color: #6f42c1;
    border: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 12px 30px;
}

.btn-light:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .flip-card {
        height: 450px;
    }
    
    .service-content-back h4 {
        font-size: 1.5rem;
    }
    
    .service-content-back p {
        font-size: 1rem;
    }
}


.team-card {
    /* background: #fff; */
    /* border-radius: 15px; */
    overflow: hidden;
    /* box-shadow: 0 0 30px rgba(0, 0, 0, 0.1); */
    transition: all 0.3s ease;
    padding: 6px; 
    height: 100%;
}

.team-card:hover {
    /* transform: translateY(-5px); */
    /* box-shadow: 0 5px 35px rgba(0, 0, 0, 0.15); */
}

.team-img {
    width: 200px;
    height: 200px;
    margin: 0 auto 25px;
    position: relative;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 5px solid #ff5a5f;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}


.team-content {
    padding: 0 20px;
    text-align: left;
}

.team-content h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
    text-align: center;
}

.team-content .text-muted {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #6f42c1;
}

.team-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    text-align: left;
}

.team-social {
    margin-top: 20px;
}

.team-social .btn-square {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #6f42c1;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.team-social .btn-square:hover {
    background: #6f42c1;
    color: #fff;
}

@media (max-width: 768px) {
    .team-img {
        width: 150px;
        height: 150px;
        margin-bottom: 20px;
    }
    
    .team-content {
        padding: 0 10px;
    }
    
    .team-content h4 {
        font-size: 1.3rem;
    }
}


.success-animation {
    animation: scaleIn 0.5s ease-out;
}

.checkmark-circle {
    animation: bounceIn 0.5s ease-out;
}

.confirmation-message {
    animation: fadeIn 0.5s ease-out;
}

.next-steps {
    animation: slideUp 0.5s ease-out;
}

.step-item {
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content {
    border-radius: 15px;
}

.step-item {
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.btn {
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.text-pink {
    color: var(--pink);
}

/*Detail page*/
   /* Service Layout */
.service-layout {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Service List Section */
.service-list-section {
       flex: 1 1 250px;
    max-width: 300px;
    background: var(--primary);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.service-list-section h3 {
    color: #fff;
    text-align:ceter;
    margin-bottom: 1.5rem;
    text-align:center;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card-list {
    background-color: #fff;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Jost', sans-serif;
}

.service-card-list:hover,
.service-card-list.active {
    border-color: var(--pink);
    background-color: #fff;
}

/* Service Details Section */
.service-details-info {
    flex: 2;
    min-width: 300px;
}

.service-detail {
    display: none; /* Default behavior for desktop */
    animation: fadeIn 0.5s ease-in-out;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

 .service-card-list.active {
        font-weight: bold;
    }

.service-detail.active {
    display: block;
}

.service-detail img {
    width: 60%;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.service-detail h2 {
    color: var(--pink);
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.5rem;
}
.details-list {
    list-style: none;
    margin: 0;
}

.details-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: #000;
    font-size: 1rem;
    line-height: 1.6;
}

.details-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0.2rem;
    color: var(--pink);
    font-size: 1.2rem;
    font-weight: bold;
}

.ideal{
    padding: 1rem;
    border: 1px solid transparent;
    background: var(--primary);
    opacity: .8;
    color: #000;
    border-radius: 25px;
    margin: 30px 0;
    color: white;
}

/* Keyframes for fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .service-layout {
        flex-direction: column;
        justify-content: center;
        align-items: anchor-center;
    }

    .service-list-section {
        display: block; /* Hide the service list on mobile */
        width: 100%;
    }

    .service-detail {
        display: block; /* Show all service details on mobile */
    }

    .service-details-info {
        /* padding: 1.5rem; */
    }

    .service-details-info h2 {
        /* font-size: 1.8rem; */
    }

    .service-details-info p {
        font-size: 1rem;
    }

    .service-details-info .service-image {
        margin: 1rem 0;
    }
    .service-detail img{
        width:100%;
    }
}

.align-self-anchor-center{
    align-self: anchor-center;
}

/* privacy policy */
/* Privacy Policy Section */
#privacy-policy {
    padding: 3rem 0;
}

#privacy-policy h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4A90E2;
}

#privacy-policy h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
}

#privacy-policy p {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.8;
}

#privacy-policy ul {
    padding-left: 1.5rem;
}

#privacy-policy ul li {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

#privacy-policy ul li i {
    font-size: 1.2rem;
    color: #4A90E2;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    #privacy-policy h1 {
        font-size: 2rem;
    }

    #privacy-policy h2 {
        font-size: 1.5rem;
    }

    #privacy-policy p,
    #privacy-policy ul li {
        font-size: 0.95rem;
    }
}