/* Base Styles & Variables */
:root {
    --primary-color: #6b21a8;   /* Deep Purple (Primary) */
    --secondary-color: #4c1d95; /* Darker Purple (Secondary) */
    --accent-color: #9333ea;    /* Vibrant Purple (Accent) */
    --light-bg: #f8fafc;
    --dark-bg: #1e293b;
    --text-muted: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #06b6d4;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: #333;
    overflow-x: hidden;
    background-color: #fff;
    scroll-behavior: smooth;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Hero Section */
.hero-section strong {
    font-weight: 700 !important;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    height: 80px;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: #4F46E5 !important;
}

.navbar .navbar-nav .nav-link {
    color: #232334;
    font-weight: 600;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    position: relative;
    transition: all 0.3s ease;
}

/* Mobile Navigation Styles */
.navbar-collapse {
    background: white !important;
    border-radius: 8px;
    margin-top: 10px;
    padding: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white !important;
        border-radius: 8px;
        margin-top: 15px;
        padding: 20px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
        position: absolute;
        top: 100%;
        left: 1rem;
        right: 1rem;
        z-index: 1050;
    }
    
    .navbar .navbar-nav .nav-link {
        padding: 12px 15px;
        margin: 5px 0;
        border-radius: 6px;
        transition: all 0.3s ease;
    }
    
    .navbar .navbar-nav .nav-link:hover {
        background: rgba(79, 70, 229, 0.1);
        color: var(--primary-color) !important;
    }
    
    .navbar-nav.ms-auto {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #e2e8f0;
    }
    
    .navbar-nav.ms-auto .nav-link {
        text-align: center;
        margin: 8px 0;
    }
    
    .navbar-nav.ms-auto .btn {
        width: 100%;
        margin: 5px 0;
    }
}

/* Navbar Toggler */
.navbar-toggler {
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(79, 70, 229, 0.1);
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
    background: rgba(79, 70, 229, 0.15);
}

.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%2879, 70, 229, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Additional responsive improvements */
@media (min-width: 992px) {
    .navbar-collapse {
        background: transparent !important;
        box-shadow: none !important;
        margin-top: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }
}

/* Smooth transitions for mobile menu */
.navbar-collapse.collapsing {
    transition: height 0.35s ease;
}

.navbar-collapse.show {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo responsiveness */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 95px !important;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 90px !important;
    }
}

/* Mobile navbar alignment fixes */
@media (max-width: 991.98px) {
    .navbar {
        padding: 1rem;
        min-height: 100px;
        display: flex;
        align-items: center;
    }
    
    .navbar .container-fluid {
        padding: 0;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100%;
        height: 100%;
    }
    
    .navbar-brand {
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .navbar-toggler {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 10px !important;
        height: 50px;
        width: 50px;
        border: 2px solid rgba(79, 70, 229, 0.3) !important;
        border-radius: 8px !important;
    }
}

/* Additional mobile centering */
@media (max-width: 576px) {
    .navbar {
        min-height: 110px;
        padding: 1.2rem 1rem;
    }
    
    .navbar-toggler {
        height: 55px !important;
        width: 55px !important;
        padding: 12px !important;
    }
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Hero Stats */
.hero-stats {
    margin-top: 1.5rem !important;
    margin-bottom: -1.5rem !important;
}

.hero-stats .stat-item {
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    height: 100%;
}

.hero-stats .stat-item h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #e0dff5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stats .stat-item p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Hero Heading Styles */
.hero-heading {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
}

.hero-text-primary {
    color: #56C829 !important;
    display: block;
    margin-bottom: 0.5rem;
}

.hero-text-highlight {
    display: block;
    background: linear-gradient(135deg, #fff 0%, #e0dff5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0.5rem;
}

/* Responsive adjustments */
@media (min-width: 320px) {
    .hero-text-highlight {
        display: block;
        font-size: 2.2rem;
    }
}
@media (min-width: 576px) {
    .hero-heading {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .hero-heading {
        font-size: 3.5rem;
    }
    
    .hero-text-primary {
        display: inline;
        margin-bottom: 0;
    }
    
    .hero-text-highlight {
        display: inline;
        margin-top: 0;
    }
}

.hero-text-primary {
    display: block;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
    letter-spacing: 0.5px;
}

.hero-text-primary::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: #fff;
    border-radius: 2px;
}

.hero-text-highlight {
    display: block;
    font-size: 3.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #e0dff5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin: 0.5rem 0;
}

.hero-text-secondary {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 3rem;
    margin-top: 0.5rem;
}

/* Navigation Active State */
.navbar .nav-link.active {
    font-weight: 700;
    position: relative;
}

.navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: #4F46E5;
    border-radius: 3px 3px 0 0;
}

/* Navigation Buttons */
.navbar .btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.navbar .btn-outline-primary:hover {
    background-color: #4c1d95;
    border-color: #4c1d95;
    color: #fff !important;
}

.navbar .btn-primary:hover {
    color: #fff !important;
}

/* Mission Card */
.mission-card {
    position: relative;
    color: white;
    height: 100%;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    z-index: 1;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.mission-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #EC4899 100%);
    z-index: -1;
    opacity: 0.9;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mission-card:hover .mission-card-bg {
    opacity: 1;
    transform: scale(1.03);
}

.mission-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 60%);
    transform: rotate(30deg);
    pointer-events: none;
}

.mission-card h4 {
    position: relative;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.mission-card h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.mission-card:hover h4::after {
    width: 60px;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #EC4899 100%);
    color: white;
    overflow: hidden;
    padding: 120px 0;
    display: flex;
    align-items: center;
    background-size: 200% 200%;
    animation: gradientBG 15s ease infinite;
    overflow-x: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

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

/* Floating Card Styles */
.floating-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    perspective: 1000px;
}

.floating-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    transform: translateY(0);
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotateY(0deg);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    }
    50% {
        transform: translateY(-20px) rotateY(5deg);
        box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
    }
}

.floating-card .card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6B46C1 0%, #434190 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
}

.floating-card h5 {
    color: #232334;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.floating-card p {
    color: #1A1A2B;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

.floating-card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #F0F4FF;
    color: #4F46E5;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.floating-card-shadow {
    position: absolute;
    bottom: -10px;
    left: 5%;
    width: 90%;
    height: 30px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    filter: blur(10px);
    z-index: 1;
    animation: shadowPulse 6s ease-in-out infinite;
}

@keyframes shadowPulse {
    0%, 100% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.5;
    }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .floating-card-wrapper {
        margin: 40px auto 0;
    }
    
    .hero-section {
        text-align: center;
        padding: 120px 0 80px;
    }
}

@media (max-width: 575.98px) {
    .floating-card {
        padding: 25px 20px;
    }
    
    .floating-card h5 {
        font-size: 1.3rem;
    }
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content h1 {
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
    color: #191836;
}

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

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.15) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover .service-icon {
    color: white;
    transform: rotateY(180deg);
}

.service-card:hover .service-icon::after {
    opacity: 1;
}

/* Pricing Cards */
.pricing-card {
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.price {
    margin: 1.5rem 0;
}

/* Demo Section */
.demo-container {
    transition: all 0.3s ease;
}

.demo-container:hover {
    transform: translateY(-5px);
}

.demo-screen {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Feature Items */
.feature-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    background: #f8fafc;
}

.feature-icon i {
    font-size: 1.5rem;
}

.feature-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Process Steps */
.process-step {
    position: relative;
    padding: 2rem 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.process-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.process-icon {
    width: 80px;
    height: 80px;
    background: #f8fafc;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto;
}

.process-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.process-step h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control, .form-select {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

/* Contact Info */
.contact-info {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

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

/* Testimonial Section */
.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 20px 0;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    padding: 0 15px;
}

.testimonial-text:before,
.testimonial-text:after {
    content: '"';
    font-family: Georgia, serif;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    line-height: 1;
}

.testimonial-text:before {
    top: -15px;
    left: -10px;
}

.testimonial-text:after {
    bottom: -30px;
    right: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-rating {
    color: #FFC107;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s ease;
}

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

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

.carousel-control-prev i,
.carousel-control-next i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.carousel-indicators {
    margin-bottom: 0;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #dee2e6;
    margin: 0 5px;
    opacity: 1;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--primary-color);
    width: 30px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 20px;
        margin: 10px 0;
    }
    
    .testimonial-text {
        font-size: 1rem;
        padding: 0 5px;
    }
    
    .testimonial-text:before,
    .testimonial-text:after {
        font-size: 3rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: -15px;
    }
    
    .carousel-control-next {
        right: -15px;
    }
}

.contact-details h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details p {
    margin: 0;
    opacity: 0.9;
}

/* Footer */
footer {
    background: var(--dark-bg) !important;
}

footer h5, footer h6 {
    color: white;
}

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

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Scroll Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in {
    animation: fadeInUp 1s ease-out;
}

.animate-slide-in {
    animation: slideInRight 1s ease-out;
}

.animate-bounce {
    animation: bounceIn 1s ease-out;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin: 0 0 1rem 0;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
    
    .contact-form {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .service-card, .contact-form, .contact-info {
        margin-bottom: 1.5rem;
    }
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.rounded-custom {
    border-radius: 15px;
}

/* Help Section Cards */
.help-card {
    transition: all 0.3s ease-in-out;
    border: 1px solid #e2e8f0 !important;
    background: white;
    position: relative;
    overflow: hidden;
}

.help-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--primary-color) !important;
}

.help-card .icon-wrapper {
    transition: all 0.3s ease;
    display: inline-block;
}

.help-card:hover .icon-wrapper {
    transform: scale(1.1);
}

.help-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.help-card:hover::before {
    transform: scaleX(1);
}

/* Floating CTA Buttons */
.floating-cta {
    position: fixed;
    left: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    outline: none;
    overflow: hidden;
    white-space: nowrap;
}

.cta-button.cta-secondary {
    background: #56C829;
}

.cta-button i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin: 0;
}

.cta-button span {
    display: none;
    margin-left: 5px;
    font-weight: 500;
    font-size: 0.9rem;
}

.cta-button:hover {
    width: 160px;
    border-radius: 25px;
    padding: 0 20px;
}

.cta-button:hover span {
    display: inline-block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 768px) {
    .floating-cta {
        left: 15px;
        bottom: 15px;
    }
    
    .cta-button {
        width: 45px;
        height: 45px;
    }
    
    .cta-button:hover {
        width: 140px;
    }
}
/*
 Force vertical centering on mobile - Override Bootstrap defaults */
@media (max-width: 991.98px) {
    .navbar > .container-fluid {
        flex-wrap: nowrap !important;
        align-items: center !important;
    }
    
    .navbar-brand,
    .navbar-toggler {
        align-self: center !important;
    }
    
    /* Ensure the navbar itself is properly sized */
    .navbar.navbar-expand-lg {
        min-height: 100px;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .navbar.navbar-expand-lg {
        min-height: 110px;
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
    }
}