/* -------------------------------------------------------------------------------------------

************************ Table of Contents ***************************************************

01 = fonts
02 = variables
03 = override variables for dark theme
04 = base
05 = container
06 = row
07 = section
08 = buttons
09 = forms
10 = fancy border-radius box
11 = theme light dark switcher
12 = animation keyframes
13 = preloader
14 = header
15 = home section
16 = about section
17 = serviecs section
18 = fun fact section (trivia section on our site)
19 =  pricing section
20 = contact section
21 = footer
22 = responsive

---------------------------------------------------------------------------------------------*/

/* 01 = fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


/* 02 = variables */
:root{
    --main-color: hsl(257, 68%, 73%);
    --light-red: hsl(0, 67%, 71%);
    --light-yellow: hsl(51, 64%, 63%);
    --switcher-btn: hsla(257, 69%, 76%, 0.703);
    --light-green: hsl(105, 62%, 57%);
    --light-x-green: hsl(95, 47%, 65%);
    --black-90: hsl(0, 0%, 10%);
    --black-70: hsl( 0, 0%, 30%);
    --white: hsl(0, 0%, 100%);
    --white-alpha-40: hsla(0, 0%, 100%, 0.4);
    --white-alpha-50: hsla(0, 0%, 100%, 0.5);
    --body-bg-color: hsl(42, 63%, 87%);
    --border-olor-1: hsl(42, 45%, 73%);
    --border-color-2: hsla(44, 45%, 73%, 0.4);
    --shadow-color: hsl(42, 45%, 73%);
}


/* 03 = override variables for dark theme */
body.dark{
    --body-bg-color: hsl(258, 14%, 18%);
    --white-alpha-40: hsla(0, 0%, 100%, 0.05);
    --black-90: hsl(0, 0%, 100%);
    --black-70: hsla(0, 0%, 100%, 0.7);
    --border-color-1: hsla(0, 0%, 100%, 0.12);
    --border-color-2: hsla(0, 0%, 100%, 0.05);
    --shadow-color: hsla(0, 0%, 0%, 0.15);
}


/* 04 = base */
html{
    scroll-behavior: smooth;
}
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
::before,
::after{
    box-sizing: border-box;
}
body{
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 16px;
    background-color: var(--body-bg-color);
    color: var(--black-70);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}
h1,h2,h3,h4,h5,h6{
    line-height: 1.2;
    color: var(--black-90);
}
a{
    text-decoration: none;
    color: var(--main-color);
}
h3{
    font-size: 20px;
    font-weight: 500;
}
img{
    max-width: 100%;
    vertical-align: middle;
}
ul{
    list-style-type: none;
}
::selection{
    color: var(--white);
    background-color: var(--main-color);
}
::-webkit-scrollbar{
    width: 6px;
}
::-webkit-scrollbar-track{
    background-color: var(--body-bg-color);
}
::-webkit-scrollbar-thumb{
    background-color: var(--main-color);
    border-radius: 5px;
}
/* 05 = container */
.container{
    max-width: 1170px;
    margin: auto;
    padding: 0 15px;
}


/* 06 = row */
.row{
    --cols: 12;
    display: grid;
    grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
    grid-gap: 30px;
}


/* 07 = section */
.section-padding{
    padding: 60px 0;
}
.section-title{
    text-align: center;
    margin-bottom: 40px;
}
.section-title .title{
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--main-color);
    margin: 0 0 8px;
}
.section-title .sub-title{
    font-size: 40px;
    font-weight: 600;
    color: var(--black-90);
    text-transform: capitalize;
    line-height: 1.2;
}


/* 08 = buttons */
button{
    cursor: pointer;
}

.btn{
    display: inline-block;
    padding: 10px 28px;
    background-color: var(--main-color);
    box-shadow: 0 0 14px var(--shadow-color);
    color: var(--white);
    border-radius: 30px;
    font-weight: 500;
    font-size: 16px;
    text-transform: capitalize;
    line-height: 1.5;
    font-family: inherit;
    border: none;
    vertical-align: middle;
    user-select: none;
    position: relative;
    overflow: hidden;
}
.btn::before,
.btn::after{
    content: '';
    position: absolute;
    background-color: var(--white-alpha-50);
}
.btn::before{
    height: 8px;
    width: 8px;
    left: -8px;
    top: 6px;
    transition: left 0.2s ease;
}
.btn::after{
    height: 10px;
    width: 10px;
    right: -10px;
    bottom: 6px;
    transition: right 0.2s ease;
}
.btn:hover::before{
    left: 14px;
}
.btn:hover::after{
    right: 14px;
}
.btn:hover::before,
.btn:hover::after{
    animation: spin 2s linear infinite;
}


/* 09 = forms */
.input-box{
    margin-bottom: 20px;
}
.input-control::placeholder{
    color: var(--black-70);
}
.input-control{
    display: block;
    width: 100%;
    height: 42px;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--border-olor-1);
    font-size: 16px;
    font-family: inherit;
    color: var(--black-90);
}
.input-control:focus{
    outline: none;
}
textarea.input-control{
    height: 120px;
    resize: none;
}


/* 10 = fancy border-radius box */
.fancy-br-box{
    height: 400px;
    width: 400px;
    margin: auto;
    position: relative;
    z-index: 1;
}.fancy-br-box::before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 65%;    /*this is for the outline of the fancy border*/
    width: 100%;
    border: 2px solid transparent;
    border-radius: 50% 40% / 40% 50%;
    transform: rotate(175deg);
    z-index: -1;
}
.fancy-br-box > img{
    border-radius: 30% 70% 50% 50% / 50%;
}


/* 11 = theme light dark switcher */
.switcher-btn{
    height: 45px;
    width: 45px;
    position: fixed;
    right: 12px;
    bottom: 14px;
    color: var(--black-90);
    z-index: 3;
    border-radius: 50%;
    border: none;
    background-color: var(--switcher-btn);
    box-shadow: 0 0 10px var(--shadow-color);
}
.switcher-btn::before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: var(--switcher-btn);
    box-shadow: 0 0 10px var(--shadow-color);
    z-index: -1;
    border-radius: 50%;
    transition: transform 0.3s ease;
    transform: scale(0);
}
.switcher-btn:hover::before{
    transform: scale(1);
}


/* 12 = animation keyframes */
@keyframes moveX{
    0%, 100%{
        transform: translateX(0);
    }
    50%{
        transform: translateX(20px);
    }
}
@keyframes spin{
    0%{
        transform: rotate(0);
    }
    100%{
        transform: rotate(360deg);
    }
}


@keyframes zoomInOut{
    0%, 100%{
        transform: scale(1);
    }
    50%{
        transform: scale(1.15);
    }
}
/* 13 = preloader */
.preloader{
    position: fixed;
    left: 0;
    top: 0;
    height: 120vh;
    width: 100%;
    background-color: var(--main-color);
    z-index: 10;
    display: flex;
    transform: opacity 0.6s ease;
}
.preloader.fade-out{
    opacity: 0;
}
.preloader img{
    width: 80px;
    margin: auto;
    animation: zoomInOut 1s linear infinite;
}



/* 14 = header */
.header{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 2;
    padding: 8px 0;
    background-color: var(--white-alpha-40);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    /*background-color: var(--body-bg-color); /*Add background color if you want the header to have a background color */
}
.header-main{
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.logo{
    margin-left: 20px;
    margin-top: 1px;
}
.logo a{
   font-size: 18px; /*keep the company name at 28px and shrink it to 15px when you scroll down the webpage*/
   text-transform: capitalize;
   font-weight: 600;
   color: var(--black-90);
}
.logo img{
    width: 65px;
    height: 60px;
    margin-right: 4px;
}
.nav-toggler{
    height: 34px;
    width: 40px;
    border: none;
    background-color: transparent;
}
.nav-toggler span{
    display: block;
    height: 2px;
    width: 24px;
    background-color: var(--black-90);
    margin: auto;
    position: relative;
    transition: background-color 0.3s ease;
}
.nav-toggler.active span{
    background-color: transparent;
}
.nav-toggler span::before,
.nav-toggler span::after{
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black-90);
    transition: top 0.2s ease 0.2s, transform 0.2s ease;
}
.nav-toggler span::before{
    top: -7px;
}
.nav-toggler span::after{
    top: 7px;
}
.nav-toggler.active span::before,
.nav-toggler.active span::after{
    top: 0;
    transition-delay: 0s, 0.2s;
}
.nav-toggler.active span::before{
    transform: rotate(45deg);
}
.nav-toggler.active span::after{
    transform: rotate(-45deg);
}
.nav{
    position: absolute;
    right: 0;
    top:100%;
    margin-top: 12px;
    visibility: hidden;
    transition: visibility 0s ease 0.5s;
}
.nav.active{
    visibility: visible;
    transition-delay: 0s;
}
.nav li{
    background-color: var(--white-alpha-40);
    text-align: center;
    transform: translateY(20px);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: calc(0.05s * var(--item));
}
.nav.active li{
    opacity: 1;
    transform: translateY(0);
}
.nav li:first-child{
    border-radius: 10px 10px 0 0;
}
.nav li:last-child{
    border-radius: 0 0 10px 10px;
}
.nav a{
    display: block;
    padding: 8px 30px;
    font-weight: 500;
    color: var(--black-70);
    text-transform: capitalize;
    position: relative;
}
.nav a::before{
    content: '';
    height: 2px;
    width: 0;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--main-color);
    transition: width 0.3s ease;
}
.nav a:hover::before{
    width: 20px;
}



/* 15 = home section */
.home{
    /* padding: 180px 0 80px;  - Removed as Spline will fill the space */
    position: relative;
    z-index: 1;
    overflow: hidden;
    height: 100vh; /* Make the home section take full viewport height */
    width: 100vw; /* Make the home section take full viewport width */
    display: flex; /* Use flexbox to center content vertically */
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally */
}

/* Remove the pseudo-element if it's not needed for the Spline scene */
.home:before{
    content: ''; /* Keep for now, but might be removed depending on Spline scene */
    position: absolute;
    left: 0;
    top: 0;
    height: 200px;
    width: 200px;
    transform: translate(-50%, -50%);
    background-color: var(--main-color);
    border-radius: 50%;
    z-index: -1;
}

.home-spline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Ensure no scrollbars from Spline */
    z-index: -1; /* Place behind other content */
}

.home-spline spline-viewer {
    width: 100%;
    height: 100%;
    display: block; /* Ensures it takes up full space */
    object-fit: cover; /* Ensures the scene covers the container */
}

.home-overlay-content {
    position: relative; /* Position relative to the .home-spline container */
    z-index: 1; /* Ensure text is above spline scene */
    color: var(--white); /* Adjust text color for better contrast on Spline scene */
    text-align: center; /* Center the text */
    padding-top: 80px; /* Adjust padding to make space for fixed header */
}

.home-overlay-content .home-text {
    grid-column: span 12; /* Make text span full width on small screens */
    color: var(--white); /* Ensure text is visible over the spline scene */
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5); /* Add text shadow for readability */
}

.home-overlay-content .home-text h1{
    font-size: 50px;
    text-transform: capitalize;
    margin: 0 0 25px;
    color: var(--white); /* Set heading color to white */
}
.home-overlay-content .home-text p{
    margin: 0 0 30px;
    color: var(--white); /* Set paragraph color to white */
}
.home-overlay-content .home-text p span{
    color: var(--light-yellow); /* Adjust span color for contrast */
    font: bold;
    font-weight: 500;
    font-size: 18px;
}
/* Remove home-img specific styles as it's replaced by Spline */
/* .home-img .fancy-br-box::before{
    border-color: var(--light-red);
}
.home-img .icon-box{
    position: absolute;
    left: -60px;
    bottom: -30px;
    animation: moveX 4s linear infinite;
}
.home-img .icon-box img{
    width: 100px;
} */


/* 16 = about section */
.about{
    overflow: hidden;
}
.about .container .Space-Between-btn{
    height: 15vh;
}
.ml-auto{
    margin-left: auto;
}
.about-img,
.about-text{
    grid-column: span 6;
}
.about-text p{
    margin-bottom: 30px;
}
.about-img .fancy-br-box::before{
    border-color: var(--light-yellow);
}
.about-img .icon-box{
    position: absolute;
    left: 100px;
    bottom: 0px;
    animation: moveX 4s linear infinite;
}
.about-img .icon-box img{
    width: 100px;
}
.about-text h3{
    margin: 15px 0;
}
.about-text ul li{
    margin-bottom: 6px;
    position: relative;
    padding-left: 30px;
}
.about-text ul i{
    color: var(--main-color);
    position: absolute;
    left: 0;
    top: 5px;
}



/* 17 = serviecs section */
.container .Space-Between-btn{
    height: 5vh;
    width: 100vh;
}
.services-item{
    grid-column: span 6;
    background-color: var(--white-alpha-40);
    padding: 30px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    box-shadow: 0 0 10px var(--shadow-color);
}
.services-item .img-box{
    width: 160px;   /* size of the imgages in the services' section */
    flex-shrink: 0;
    border-radius: 20px;
    border: 1px solid var(--border-olor-1);
    padding: 8px;
}
.services-item .img-box img{
    border-radius: 20px;
}
.services-item .text{
    padding-left: 30px;
}
.services-item h3{
    text-transform: capitalize;
    margin: 0 0 15px;
}



/* 18 = fun fact section (trivia section on our site) */
.fun-fact{
    padding: 40px 0;
}
.fun-fact-item{
    grid-column: span 3;
    margin: 40px 0;
    text-align: center;
}
.fun-fact-item .box{
    height: 160px;
    width: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin: auto;
}
.fun-fact-item .box::before,
.fun-fact-item .box::after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    border-radius: 20%;
}
.fun-fact-item .box::before{
    transform: rotate(22deg);
    opacity: 0.3;
    z-index: -2;
}
.fun-fact-item .box::after{
    transform: rotate(45deg);
    opacity: 0.4;
    z-index: -1;
}
.fun-fact-item:nth-child(1) .box::after,
.fun-fact-item:nth-child(1) .box::before{
    background-color: var(--light-red);
}

.fun-fact-item:nth-child(2) .box::after,
.fun-fact-item:nth-child(2) .box::before{
    background-color: var(--main-color);
}
.fun-fact-item:nth-child(3) .box::after,
.fun-fact-item:nth-child(3) .box::before{
    background-color: var(--light-yellow);
}
.fun-fact-item:nth-child(4) .box::after,
.fun-fact-item:nth-child(4) .box::before{
    background-color: var(--light-green);
}
.fun-fact-item h2{
    font-size: 35px;
}
.fun-fact-item p{
    text-transform: capitalize;
}


/* 19 =  pricing section */
.pricing-item{
    grid-column: span 4;
    background-color: var(--white-alpha-40);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px var(--sh);
}
.pricing-header h3{
    font-size: 24px;
    text-transform: capitalize;
    position: relative;
    overflow: hidden;       /* unhide and see what happens in the pricing section when you hover on a plan */
}
.pricing-header h3::before{
    content: attr(data-text);
    position: absolute;
    left: 0;
    bottom: 100%;
    transition: transform 0.5s ease;
}
.pricing-1 .pricing-body .fa-check-circle,
.pricing-1 .pricing-header .price,
.pricing-1 .pricing-header h3::before{
    color: var(--light-red);
}
.pricing-2 .pricing-body .fa-check-circle,
.pricing-2 .pricing-header .price,
.pricing-2 .pricing-header h3::before{
    color: var(--main-color);
}
.pricing-3 .pricing-body .fa-check-circle,
.pricing-3 .pricing-header .price,
.pricing-3 .pricing-header h3::before{
    color: var(--light-yellow);
}
.pricing-header h3 span{
    display: block;
    transition: transform 0.5s ease;
}
.pricing-item:hover .pricing-header h3 span,
.pricing-item:hover .pricing-header h3::before{
    transform: translateY(100%);
}
.pricing-header .price{
    font-size: 35px;
    display: flex;
    align-items: center;
    font-weight: bold;
    margin-top: 10px;
    border-bottom: 1px solid var(--border-olor-1);
}
.pricing-header .price span{
    font-size: 16px;
    margin-left: 10px;
    font-weight: 300;
}
.pricing-body{
    padding: 15px 0 20px;

}
.pricing-body li{
    margin-bottom: 6px;
    position: relative;
    padding-left: 25px;
}
.pricing-body i{
    position: absolute;
    left: 0;
    top: 5px;
}
.pricing-footer{
    border-top: 1px solid var(--border-olor-1);
    padding-top: 20px;
}
.pricing-1 .pricing-footer .btn{
    background-color: var(--light-red);
}
.pricing-2 .pricing-footer .btn{
    background-color: var(--main-color);
}
.pricing-3 .pricing-footer .btn{
    background-color: var(--light-yellow);
}


/* 20 = contact section */
.contact{
    overflow: hidden;
}
.contact-details,
.contact-form{
    grid-column: span 6;
    position: relative;
}
.contact .section-title{
    text-align: left;
    margin-bottom: 15px;
}
.contact-details .text-1{
    margin-bottom: 40px;
    text-align: justify;
}
.contact-info-item{
    position: relative;
    margin-bottom: 10px;
    padding-left: 30px;
}
.contact-info-item i{
    position: absolute;
    left: 0;
    top: 7px;
    font-size: 14px;
}
.contact-details .social-links{
    margin-top: 25px;
}
.contact-details .social-links a{
    height: 35px;
    width: 35px;
    color: var(--main-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--main-color);
    border-radius: 50%;
    margin-right: 5px;
    transition: color ease 0.3s;
    position: relative;
}
.contact-details .social-links a:hover{
    color: var(--white);
}
.contact-details .social-links a::before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: var(--main-color);
    border-radius: 50%;
    z-index: -1;
    transform: scale(0);
    transition: transform 0.3s ease;
}
.contact-details .social-links a:hover::before{
    transform: scale(1);
}
.contact-details .Space-Between-btn
{
    height: 5vh;
}
.contact-form::before,
.contact-form::after{
    content: '';
    position: absolute;
    transform: rotate(10deg);
}
.contact-form::before{
    right: -4px;
    top: 0px;
    height: 40px;
    width: 40px;
    background-color: var(--light-x-green);
    box-shadow: 0 0 10px var(--shadow-color);
    z-index: -1;
}
.contact-form::after{
    left: -15px;
    bottom: 0;
    height: 20px;
    width: 20px;
    background-color: var(--main-color);
}
.contact-form .icon-box{
    width: 120px;
    animation: moveX 4s linear infinite;
}
.contact-box{
    background-color: var(--white-alpha-40);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 0 10px var(--shadow-color);
}


/* 21 = footer */
.footer{
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.footer::after{
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    height: 170px;
    width: 170px;
    transform: translate(50%, 50%);
    background-color: var(--light-red);
    border-radius: 50%;
    z-index: -1;
}
.footer-top{
    padding: 60px 0;
    border-top: 1px solid var(--border-color-2);
}
.footer-item{
    grid-column: span 4;
}
.footer-item h3{
    text-transform: capitalize;
    margin: 0 0 15px;
}
.footer ul li{
    margin-bottom: 6px;
}
.footer ul a{
    display: inline-block;
    color: var(--black-70);
    text-transform: capitalize;
    transition: color 0.3s ease;
}
.footer ul a:hover{
    color: var(--main-color);
}
.footer-bottom{
    border-top: 1px solid var(--border-color-2);
    padding: 20px 0;
    text-align: center;
}
.footer-bottom .container p{
    font-size: 12px;
    padding-bottom: 8px;
}

/* privacy policy section */
.privacy-policy p{
    margin-bottom: 45px;
}

.nav-toggler-policy{
    display: none;
}


/* 22 = responsive */
@media(max-width: 1199px){
    .container{
        padding: 0 30px;
    }
}
@media(max-width: 991px){
    .fancy-br-box{
        height: 280px;
        width: 280px;
    }
    .home-text h1{
        font-size: 35px;
    }
    .section-title .sub-title{
        font-size: 32px;
    }
    .services-item{
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .services-item .img-box{
        margin-bottom: 20px;
    }
    .services-item .text{
        padding-left: 0;
    }
    .fun-fact-item{
        grid-column: span 6;
    }
    .pricing-item{
        grid-column: span 6;
    }
    .contact-box{
        padding: 30px;
    }
    .footer-item{
        grid-column: span 6;
    }
}
@media(max-width: 767px){
    .container{
        padding: 0 15px;
    }
    .home{
        padding: 0; /* Remove padding for mobile to allow Spline to fill */
        height: 80vh; /* Adjust height for better mobile viewing */
    }
    .home-overlay-content {
        padding-top: 60px; /* Adjust padding for smaller screens */
    }
    .home-text, .home-img{ /* .home-img is no longer in use, but keep rule for safety */
        grid-column: span 12;
    }
    /* .home-img{ Removed as Spline replaces this
        order: -1;
    } */
    .home-text{
        margin-top: 60px;
    }
    .section-title .sub-title{
        font-size: 26px;
    }
    .about-img, .about-text{
        grid-column: span 12;
    }
    .about-text{
        margin-top: 60px;
        margin-bottom: 20px;
    }
    .pricing-item{
        grid-column: span 12;
    }
    .contact-details,
    .contact-form{
        grid-column: span 12;
    }
    .contact-form{
        margin-top: 40px;
    }
}
@media(max-width: 575px){
    .services-item{
        grid-column: span 12;
    }
    .fun-fact-item{
        grid-column: span 12;
    }
    .footer-item{
        grid-column: span 12;
    }
    .row{
        grid-gap: 15px;
    }
    .home-overlay-content .home-text h1 {
        font-size: 35px; /* Adjust font size for smaller screens */
    }
}

/* whatsapp chatbot styling */
.elfsight-app-208ecc38-e3ef-49e7-8dac-49d77bf6a36f{
    height: 10px;
    width: 10px;
}