* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* Body and Global Styles */
body {
    background: #220252;
}

/* Root Variables */
:root {
    --primary: #350480;
    --white: #ffffff;
    --dark: #1c1c1c;
    --secondary: #4704ac;
}

.scroll-to-top {
    position: fixed;
    right: 2.4rem;
    bottom: 2.4rem;
    text-decoration: none;
    width: 2.8rem;
    height: 2.8rem;
    border: 0.15rem solid transparent;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dark);
    color: var(--white);
    border-radius: 3rem;
    font-size: 0.9rem;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.3s
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible
}

.scroll-to-top:hover {
    transform: translate3d(0, -5px, 0);
    background-color: var(--white);
    color: var(--dark);
    border-color: var(--dark)
}

@media(max-width:490px) {
    .scroll-to-top {
        right: 1.1rem;
        bottom: 1.1rem
    }
}



/*| Navbar Starts |*/

.navbar {
    background-color: #ffffff;
    height: 80px;
    padding: 0.5rem;
    z-index: 999;
}

.navbar.scrolled {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 1rem;
    background-color: #ffffff;
    animation: fadeInOpacity 0.2s ease-in;
    padding: 0.5rem 1rem;
}

@keyframes fadeInOpacity {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.navbar .navbar-brand-img {
    filter: invert(100%);
}

.navbar .navbar-brand {
    font-weight: 500;
    color: var(--primary);
    font-size: 24px;
    transition: 0.3s color;
}

.cta-button {
    outline: none;
    border: 0;
    background-color: var(--primary);
    color: #fff;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s background-color;
}

.cta-button.invert {
    background: #ffffff;
    color: var(--primary);
}

.navbar .menu-cta-button {
    display: none;
}

.navbar .cta-button:hover {
    background-color: var(--secondary);
}

.navbar .navbar-toggler {
    border: none;
    font-size: 1.25rem;
}

.navbar .navbar-toggler:focus,
.btn-close:focus {
    box-shadow: none;
    outline: none;
}

.navbar .offcanvas-backdrop.show {
    opacity: 0.75;
}

.navbar .nav-link {
    color: #666777;
    font-weight: 500;
    position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #000;
}

@media (min-width: 992px) {
    .navbar .nav-link::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0.2rem;
        background-color: var(--primary);
        visibility: hidden;
        border-radius: 50rem;
        transition: 0.3s ease-in-out;
    }

    .navbar .nav-link:hover::before,
    .navbar .nav-link.active::before {
        width: 60%;
        visibility: visible;
    }
}

@media (max-width: 430px) {
    .navbar .cta-button {
        display: none;
    }

    .navbar .menu-cta-button {
        display: block;
    }
}

@media (max-width: 320px) {
    .navbar {
        padding: 0 !important;
    }

    .navbar-brand-img {
        scale: .8;
        width: fit-content;
    }
}

/*| Navbar Ends |*/

/*| Section Styles |*/
section {
    width: 100%;
    height: auto;
    z-index: 99;
    /* position: relative; */
}

section[section_category="navlink"]:not(.home) {
    padding: 3.25rem 0;
}

section#footer {
    width: auto;
    height: auto;
}

.section-header h1,
.section-header p,
.section-header hr {
    margin: 0;
}

.section-header h1 {
    width: 100%;
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    padding-bottom: 0.5rem;
}

.section-header p {
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    padding-top: 0.5rem;
}

.section-header hr {
    margin: 0 auto;
    margin-top: 0.25rem;
    width: 75%;
    max-width: 200px;
    height: 0.25rem;
    border-radius: 50rem;
    opacity: 0.7;
}

section[section_category="navlink"]:nth-of-type(odd) {
    background-color: var(--primary) !important;
    color: var(--white) !important;
}

section[section_category="navlink"]:nth-of-type(odd) .section-header h1,
section[section_category="navlink"]:nth-of-type(odd) .section-header p,
section[section_category="navlink"]:nth-of-type(odd) .section-header hr {
    color: var(--white) !important;
}

section[section_category="navlink"]:nth-of-type(odd) .section-header hr {
    background-color: var(--white);
}

section[section_category="navlink"]:nth-of-type(even) {
    background-color: var(--white) !important;
    color: var(--primary) !important;
}

section[section_category="navlink"]:nth-of-type(even) .section-header h1,
section[section_category="navlink"]:nth-of-type(even) .section-header p,
section[section_category="navlink"]:nth-of-type(even) .section-header hr {
    color: var(--primary) !important;
}

section[section_category="navlink"]:nth-of-type(even) .section-header hr {
    background-color: var(--primary);
}

/*| Section Styles Ends |*/

/*| Home Section |*/
.home {
    display: flex;
    position: relative;
    text-align: center;
    color: #fff;
    background: url("/bg.jpg") center no-repeat;
    background-size: cover;
    font-weight: 600;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    overflow: hidden;
    height: calc(100vh - 80px);
}

.home-item {
    width: 50%;
    height: auto;
    margin: 0.5rem;
    padding: .5rem;
}

.home-item-image {
    padding: 1rem .75rem;
}

.home-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 35rem;
}

@media (max-width: 800px) {
    .home {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1.5rem 0;
        height: auto;
    }

    .home-item {
        width: 100%;
        margin: 0.5rem;
    }
}

/*| Home Section Ends|*/

/*| Service Section |*/

.services-section {
    position: relative;
    z-index: 9;
}

.services-section .card {
    display: flex;
    height: 23rem;
    justify-content: center;
    align-items: center;
    word-wrap: break-word;
    position: relative;
    background: #ffffff;
    color: var(--primary);
    border-radius: 1rem;
    max-width: 370px;
    padding: 1rem 0.75rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 0;
    border: 0.15rem solid var(--primary);
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, scale 0.3s ease;
}

.services-section .card * {
    color: var(--primary) !important;
}

.services-section .card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--primary);
    mask-image: url("/card-bg.svg");
    mask-size: 200%;
    mask-position: center;
    opacity: 0.2;
    z-index: -1;
    transition: background-color 0.3s ease;
}

.services-section .card:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: transparent;
    /* border-color: var(--primary); */
    scale: 1.02;
}

.services-section .card:hover>* {
    color: #ffffff !important;
}

.services-section .card:hover::before {
    background-color: #ffffff;
}

.services-section .card i {
    font-size: 3rem;
    margin: 0.5rem;
}

.services-section .card h2 {
    font-size: 2rem;
    font-weight: 600;
}

.services-section .card p {
    font-size: medium;
    color: #e9e9e9;
}

@media (max-width: 1200px) {
    .services-section .card {
        height: 25rem;
    }
}

@media (max-width: 492px) {
    .services-section .card {
        height: auto;
        width: 95%;
    }
}

/*| Service Section Ends |*/

/*| Gemology Section |*/
.gemology-section .card.col {
    justify-items: center !important;
    align-items: center !important;
    height: auto;
    border-radius: 1rem;
}

.gemology-section .card-img {
    padding-top: .75rem;
    height: 23rem;
}

.gemology-section .card img {
    background: linear-gradient(to bottom right, #004D7B, #001F40, #50163A);
    mix-blend-mode: darken;
    border-radius: 1rem;
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.gemology-section .card p {
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.gemology-section a {
    background: var(--primary);
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
    color: var(--white);
    border-radius: 1rem;
    text-decoration: none;
    border: .15rem solid transparent;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.gemology-section a:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--primary);
}

@media (max-width: 492px) {
    .gemology-section .card.col {
        width: 95%;
    }
}

/*| Gemology Section Ends |*/

/*| Testimonial Section |*/
.testimonial-section {
    color: #ffffff;
    position: relative;
    z-index: 9;
    padding: 3rem 0;
}

.testimonial-section .section-header {
    padding: 0.75rem 0;
}

.testimonial-section .icon-area {
    text-align: center;
    padding: .75rem 0;
}

.testimonial-section .icon-area i {
    color: var(--primary);
    font-size: 50px;
}

.testimonial-section .content p {
    color: var(--primary);
    width: 60%;
    margin: auto;
    font-weight: 600;
}

.testimonial-section .person {
    width: 100px;
    height: 100px;
    display: block;
    margin: auto;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--primary);
    margin-top: 2rem;
}

.testimonial-section .person img {
    width: 100%;
}

.testimonial-section .content h5 {
    font-weight: 600;
    margin-top: 15px;
}

.testimonial-section .carousel-indicators {
    position: relative;
    margin: 0 auto;
    margin-top: 1rem;
}

.testimonial-section .carousel-indicators [data-bs-target] {
    width: 2rem;
    height: 0.4rem;
    background-color: var(--primary);
}

@media (min-width: 768px) and (max-width: 991px) {
    .testimonial-section .section-header p {
        width: 85%;
    }

    .testimonial-section .content p {
        width: 95%;
    }
}

@media (max-width: 767px) {
    .testimonial-section {
        padding: 30px 0;
    }

    .testimonial-section .section-header p {
        width: 95%;
    }

    .testimonial-section .content p {
        width: 100%;
    }

    .testimonial-section .icon-area i {
        font-size: 50px;
    }
}


/*| Testimonial Section Ends |*/

/*| Stats Section |*/

.stats-section {
    padding: 3rem 0;
    height: auto;
}

.stats-section .col-6 .circle-icon {
    background: var(--white);
}

.stats-section .col-6 .circle-icon>i {
    color: var(--primary);
}

@media (max-width: 370px) {
    .stats-section .stats-col {
        flex: 0 0 auto;
        width: 100%;
    }
}

/*| Stats Section Ends |*/

.contact-us-section {
    background: var(--primary);
    padding: 3rem 0;
    height: auto;
}

footer {
    background: var(--white);
}