:root {
    --primary: #6c63ff;
    --primary-dark: #564fd8;
    --secondary: #6c757d;
    --light: #f8f9fa;
    --dark: #212529;
    --body-font: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    color: #4a4a4a;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: #333;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    position: relative;
    width: 100px;
    height: 100px;
}

.loader-outter {
    position: absolute;
    border: 4px solid var(--primary);
    border-left-color: transparent;
    border-bottom: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: loader-outter 1s cubic-bezier(.42, .61, .58, .41) infinite;
}

.loader-inner {
    position: absolute;
    border: 4px solid var(--primary);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    left: calc(50% - 30px);
    top: calc(50% - 30px);
    border-right: 0;
    border-top-color: transparent;
    animation: loader-inner 1s cubic-bezier(.42, .61, .58, .41) infinite;
}

@keyframes loader-outter {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes loader-inner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 10px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.btn-main {
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
}

.btn-main:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.btn-main-2 {
    background: transparent;
    color:#000 !important;
    border: 2px solid #000 !important;
}

.btn-main-2:hover {
    background: var(--primary);
    color: #FFF;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.btn-link {
    color: var(--primary);
    font-weight: 500;
}

.btn-link:hover {
    color: var(--primary-dark);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 1px 0;
}

.navbar-brand img {
    height: 55px !important;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 10px 15px;
    position: relative;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: calc(100% - 30px);
}

.navbar-toggler {
    border: none;
    font-size: 24px;
    color: var(--primary);
    padding: 0;
}

/* Hero Section */
.hero-section {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}
/* Hero Section */
.pages-hero-section {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.hero-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.hero-search .form-group {
    position: relative;
}

.hero-search .form-control {
    height: 60px;
    border-radius: 50px;
    padding-left: 25px;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.hero-search .btn {
    position: absolute;
    top: 5px;
    right: 5px;
    height: 50px;
    padding: 0 25px;
}

.hero-img {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Section Styling */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary);
}

.section-subtitle {
    color: #666;
    font-size: 18px;
}

/* Categories */
.category-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.category-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 50px;
    height: 50px;
    line-height: 50px;
    /* background: rgba(108, 99, 255, 0.1); */
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.category-icon  img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.category-item:hover .category-icon {
    /* background: var(--primary); */
    color: #fff;
}

.category-item h3 {
    font-size: 15px;
    padding-top: 10px;
    margin-bottom: 10px;
}

.category-item p {
    color: #666;
    margin-bottom: 15px;
}

/* About Section */
.about-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-content {
    padding-left: 30px;
}

.about-list {
    list-style: none;
    margin: 25px 0;
}

.about-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.about-list li i {
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 5px;
}

/* Features */
.feature-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: var(--primary);
    color: #fff;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-item p {
    color: #666;
}

/* Testimonials */
.testimonial-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-item::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    color: rgba(108, 99, 255, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    padding: 0 0 20px 40px;
    font-style: italic;
    color: #666;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.author-info span {
    color: #666;
    font-size: 14px;
}

.rating {
    color: #ffc107;
    margin-top: 5px;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    color: #fff;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Contact Section */
.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    text-align: center;
    border-radius: 50%;
    font-size: 20px;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-form .form-control {
    height: 50px;
    border-radius: 5px;
    border: 1px solid #eee;
    box-shadow: none;
    padding-left: 20px;
    margin-bottom: 20px;
}

.contact-form textarea.form-control {
    height: auto;
    padding-top: 15px;
}

/* Footer */
.footer {
    background: #2a2a2a;
    color: #fff;
    padding: 80px 0 0;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-widget h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer p {
    color: #bbb;
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #bbb;
    transition: all 0.3s ease;
}

.footer ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.newsletter-form .form-control {
    height: 50px;
    border-radius: 5px;
    border: none;
    margin-bottom: 15px;
}

.newsletter-form .btn {
    width: 100%;
}

.footer-bottom {
    background: #222;
    padding: 20px 0;
    margin-top: 40px;
}

.copyright-text {
    color: #bbb;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
  .category-icon {
    width: 50px;
    height: 50px;
    line-height: 50px;
    /* background: rgba(108, 99, 255, 0.1); */
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--primary);
    transition: all 0.3s ease;
}
small{
    font-size: 13px;
}
.header{
    background-color: #FFF !important;
}
}
