/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #5d4dff; /* Purple from logo */
    --secondary-color: #ff6b00; /* Orange from logo */
    --dark-color: #1a1a2e;
    --light-color: #ffffff;
    --gray-color: #f5f5f5;
    --text-color: #333333;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

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

section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    margin-bottom: 60px;
}

    .section-title h2 {
        font-size: 36px;
        font-weight: 700;
        position: relative;
        display: inline-block;
        margin-bottom: 15px;
        color: var(--primary-color);
    }

        .section-title h2:after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: -10px;
            transform: translateX(-50%);
            width: 50px;
            height: 3px;
            background: var(--secondary-color);
        }

    .section-title p {
        font-size: 18px;
        color: #777;
    }

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

.btn-outline-primary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-outline-primary:hover {
        background-color: var(--secondary-color);
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

/* Glass Effect */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 30px;
    transition: all 0.3s ease;
}

    .glass-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
}

    .navbar.scrolled {
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }

.navbar-brand img {
    max-height: 50px;
}

.logo-img {
    height: 70px; /* Increased logo size */
}

.navbar-toggler {
    border: none;
    color: var(--primary-color);
    font-size: 24px;
    padding: 0;
    margin-right: 0;
}

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

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    margin: 0 10px;
    padding: 8px 15px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

    .nav-link:hover, .nav-link.active {
        color: var(--secondary-color);
        background-color: rgba(255, 107, 0, 0.1);
    }

.login-btn {
    padding: 8px 20px;
    font-weight: 500;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.2);
}

.login-mobile {
    color: var(--secondary-color) !important;
    font-weight: 600;
    border: 107,0,0.2);
}

.login-mobile {
    color: var(--secondary-color) !important;
    font-weight: 600;
    border: 1px solid var(--secondary-color);
    margin-top: 10px;
    text-align: center;
    background-color: rgba(255, 107, 0, 0.1);
}

/* Hero Section */
.hero-section {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, rgba(93, 77, 255, 0.1) 0%, rgba(255, 107, 0, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 54px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
    line-height: 1.2;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.hero-lead {
    font-size: 20px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.typed-container {
    font-size: 22px;
    font-weight: 500;
}

.typed-prefix {
    color: #555;
}

#typed {
    color: var(--primary-color);
    font-weight: 600;
}

.hero-buttons {
    margin-top: 40px;
}

.btn-shine {
    position: relative;
    overflow: hidden;
}

    .btn-shine:after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: rgba(255, 255, 255, 0.2);
        transform: rotate(30deg);
        animation: shine 3s infinite linear;
    }

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(30deg);
    }

    100% {
        transform: translateX(100%) rotate(30deg);
    }
}

.hero-image {
    position: relative;
    z-index: 1;
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

    .hero-particles:before,
    .hero-particles:after {
        content: '';
        position: absolute;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: var(--secondary-color);
        opacity: 0.3;
    }

    .hero-particles:before {
        top: 20%;
        left: 20%;
        animation: particle1 8s infinite linear;
    }

    .hero-particles:after {
        top: 70%;
        left: 60%;
        animation: particle2 10s infinite linear;
    }

@keyframes particle1 {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(100px, 50px);
    }

    50% {
        transform: translate(50px, 100px);
    }

    75% {
        transform: translate(-50px, 50px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes particle2 {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(-70px, -30px);
    }

    50% {
        transform: translate(-30px, -70px);
    }

    75% {
        transform: translate(30px, -30px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.hero-shape {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    z-index: 1;
}

/* About Section */
.about-section {
    background-color: #fff;
    position: relative;
}

.about-img {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.about-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

.about-feature {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

    .about-feature i {
        font-size: 24px;
        color: var(--secondary-color);
        margin-right: 15px;
    }

    .about-feature h5 {
        font-size: 18px;
        margin-bottom: 0;
    }

/* Services Section */
.services-section {
    background-color: #f8f9fa;
    position: relative;
}

.service-card {
    text-align: center;
    margin-bottom: 30px;
    height: 100%;
}

    .service-card .icon {
        width: 80px;
        height: 80px;
        line-height: 80px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        color: white;
        font-size: 32px;
        margin: 0 auto 25px;
        transition: all 0.3s ease;
    }

    .service-card:hover .icon {
        transform: rotateY(360deg);
    }

    .service-card h4 {
        font-size: 22px;
        margin-bottom: 15px;
        color: var(--primary-color);
    }

    .service-card p {
        margin-bottom: 20px;
        color: #666;
    }

.service-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

    .service-list li {
        margin-bottom: 10px;
        display: flex;
        align-items: center;
    }

        .service-list li i {
            color: var(--secondary-color);
            margin-right: 10px;
        }

/* Why Us Section */
.why-us-section {
    background-color: #fff;
}

.why-us-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.why-us-list {
    list-style: none;
    padding: 0;
}

    .why-us-list li {
        display: flex;
        margin-bottom: 25px;
    }

        .why-us-list li i {
            font-size: 24px;
            color: var(--secondary-color);
            margin-right: 20px;
            margin-top: 5px;
        }

        .why-us-list li h5 {
            font-size: 18px;
            margin-bottom: 5px;
            color: var(--primary-color);
        }

        .why-us-list li p {
            margin-bottom: 0;
        }

.testimonials {
    padding: 30px;
}

    .testimonials h4 {
        text-align: center;
        margin-bottom: 30px;
        color: var(--primary-color);
    }

.testimonial-item {
    text-align: center;
    padding: 20px;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary-color);
}

    .testimonial-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.testimonial-item p {
    font-style: italic;
    margin-bottom: 20px;
    color: #666;
}

.testimonial-author h5 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.testimonial-author small {
    color: #999;
}

.carousel-control-prev, .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: -20px;
}

.carousel-control-next {
    right: -20px;
}

    .carousel-control-prev i, .carousel-control-next i {
        color: white;
        font-size: 16px;
    }

/* Contact Section */
.contact-section {
    background-color: #f8f9fa;
}

.contact-info {
    height: 100%;
}

.contact-illustration {
    text-align: center;
    margin-bottom: 30px;
}

    .contact-illustration img {
        max-width: 250px;
    }

.info-items {
    margin-top: 30px;
}

.info-item {
    display: flex;
    margin-bottom: 20px;
}

    .info-item i {
        font-size: 24px;
        color: var(--secondary-color);
        margin-right: 20px;
        margin-top: 5px;
    }

    .info-item h5 {
        font-size: 18px;
        margin-bottom: 5px;
        color: var(--primary-color);
    }

    .info-item p {
        margin-bottom: 0;
        color: #666;
    }

.contact-form {
    padding: 30px;
}

.form-control {
    border-radius: 10px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

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

/* Footer */
.footer-section {
    background-color: #1a1a2e;
    color: #fff;
    padding: 70px 0 0;
}

.footer-about {
    margin-bottom: 30px;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-about p {
    color: #ccc;
    margin-bottom: 5px;
}

.footer-about .tagline {
    color: var(--secondary-color);
    font-weight: 500;
}

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

    .social-links a {
        display: inline-block;
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: #fff;
        margin-right: 10px;
        transition: all 0.3s ease;
    }

        .social-links a:hover {
            background-color: var(--secondary-color);
            color: #fff;
            transform: translateY(-3px);
        }

.footer-links {
    margin-bottom: 30px;
}

    .footer-links h4, .footer-contact h4 {
        font-size: 20px;
        margin-bottom: 25px;
        color: #fff;
        position: relative;
        padding-bottom: 10px;
    }

        .footer-links h4:after, .footer-contact h4:after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 30px;
            height: 2px;
            background: var(--secondary-color);
        }

    .footer-links ul, .footer-contact ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .footer-links ul li, .footer-contact ul li {
            margin-bottom: 15px;
            color: #ccc;
        }

            .footer-links ul li a {
                color: #ccc;
                transition: all 0.3s ease;
            }

                .footer-links ul li a:hover {
                    color: var(--secondary-color);
                    padding-left: 5px;
                }

            .footer-contact ul li i {
                margin-right: 10px;
                color: var(--secondary-color);
            }

            .footer-contact ul li a {
                color: #ccc;
                transition: all 0.3s ease;
            }

                .footer-contact ul li a:hover {
                    color: var(--secondary-color);
                }

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
}

    .footer-bottom p {
        margin-bottom: 0;
        color: #ccc;
    }

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .back-to-top.active {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top:hover {
        background-color: var(--primary-color);
        color: #fff;
        transform: translateY(-5px);
    }

/* Responsive Styles */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.95);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .hero-section {
        padding: 150px 0 80px;
    }

    .hero-title {
        font-size: 40px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .about-img, .contact-info {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 130px 0 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-lead {
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .section-title p {
        font-size: 16px;
    }

    .service-card, .testimonials, .contact-form {
        margin-bottom: 30px;
    }

    .footer-bottom {
        text-align: center;
    }

        .footer-bottom .text-md-end {
            text-align: center !important;
            margin-top: 10px;
        }
}

/* Particle Animation */
.particle {
    position: absolute;
    border-radius: 50%;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-15px) translateX(15px);
    }

    50% {
        transform: translateY(-25px) translateX(5px);
    }

    75% {
        transform: translateY(-15px) translateX(-15px);
    }
}

/* Fix for navbar toggler */
.navbar .container {
    position: relative;
}

.navbar-toggler {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

/* Mobile menu styling */
@media (max-width: 991px) {
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-item {
        margin: 5px 0;
    }
}