/* ========== COMPREHENSIVE ANIMATION SYSTEM ========== */
/* This file contains the complete animation system to be added to all HTML pages */

/* ========== MODERN FONT SYSTEM ========== */
/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* Base Typography */
* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #212529;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Headings - Using Poppins for stylish headings */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #1f2937;
}

h1, .h1, .display-1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2, .h2, .display-2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h3, .h3, .display-3 {
    font-size: 2rem;
    font-weight: 700;
}

h4, .h4, .display-4 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5, .h5, .display-5 {
    font-size: 1.25rem;
    font-weight: 600;
}

h6, .h6, .display-6 {
    font-size: 1rem;
    font-weight: 600;
}

/* Paragraphs and Text */
p, .lead {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.8;
    color: #6b7280;
}

/* Navigation */
.navbar, .nav-link, .navbar-brand {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.nav-link {
    font-size: 1rem;
    font-weight: 600;
}

/* Buttons */
.btn {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    font-size: 0.95rem;
}

.btn-lg {
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-sm {
    font-size: 0.875rem;
    font-weight: 600;
}

/* Cards */
.card, .feature-card, .pricing-card, .registration-card {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.card-title, .feature-title, .pricing-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.card-text {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: #4b5563;
}

/* Forms */
.form-control, .form-label, .form-select {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
}

.form-label {
    font-weight: 600;
    color: #374151;
    letter-spacing: -0.01em;
}

.form-control:focus {
    font-weight: 400;
}

/* Lists */
.list-group-item, ul li, ol li {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #374151;
}

/* Dropdowns */
.dropdown-menu, .dropdown-item, .dropdown-header {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.dropdown-header {
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.dropdown-item {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Footer */
.footer, .footer-link, .footer-column-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.footer-column-title {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.footer-link {
    font-weight: 400;
    font-size: 0.9rem;
}

/* Special Text Elements */
.text-muted {
    color: #6b7280 !important;
    font-weight: 400;
}

.text-secondary {
    color: #4b5563 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-semibold {
    font-weight: 600 !important;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-normal {
    font-weight: 400 !important;
}

.fw-light {
    font-weight: 300 !important;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1, .h1, .display-1 {
        font-size: 2rem;
    }
    
    h2, .h2, .display-2 {
        font-size: 1.75rem;
    }
    
    h3, .h3, .display-3 {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    body {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    h1, .h1, .display-1 {
        font-size: 1.75rem;
    }
    
    h2, .h2, .display-2 {
        font-size: 1.5rem;
    }
    
    body {
        font-size: 14px;
    }
}

/* Enhanced Keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar Enhanced Animations */
.navbar {
    animation: slideInDown 0.6s ease-out;
}

.navbar-brand {
    animation: fadeInLeft 0.8s ease-out;
}

.nav-item {
    animation: fadeInDown 0.8s ease-out;
    animation-fill-mode: both;
}

.nav-item:nth-child(1) { animation-delay: 0.1s; }
.nav-item:nth-child(2) { animation-delay: 0.2s; }
.nav-item:nth-child(3) { animation-delay: 0.3s; }
.nav-item:nth-child(4) { animation-delay: 0.4s; }
.nav-item:nth-child(5) { animation-delay: 0.5s; }

/* Section Animations */
section:first-of-type {
    animation: fadeInUp 1s ease-out;
}

.display-5, h2.display-5 {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.lead {
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Feature Cards Enhanced */
.feature-card {
    animation: fadeInUp 0.8s ease-out both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.feature-card i {
    transition: transform 0.3s ease;
}

.feature-card:hover i {
    transform: rotate(10deg) scale(1.1);
}

/* Benefit Items */
.benefit-item {
    animation: fadeInLeft 0.6s ease-out both;
    transition: transform 0.3s ease, padding-left 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:nth-child(1) { animation-delay: 0.1s; }
.benefit-item:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(3) { animation-delay: 0.3s; }
.benefit-item:nth-child(4) { animation-delay: 0.4s; }

.benefit-item:hover {
    transform: translateX(10px);
    padding-left: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Scroll-triggered Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-slide-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-slide-right.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Smooth Page Transitions */
body {
    animation: fadeIn 0.5s ease-out;
}

/* Image Hover Effects */
img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Card Hover Effects */
.card, .feature-card {
    position: relative;
    overflow: hidden;
}

.card::before, .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.card:hover::before, .feature-card:hover::before {
    left: 100%;
}

/* Button Animations */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Service Items Animation */
.service-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-item.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Step Cards Animation */
.step-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.step-card.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stat Cards Animation */
.stat-card {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-card.animated {
    opacity: 1;
    transform: scale(1);
}

/* Feature Box Animation */
.feature-box {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-box.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Business List Items Animation */
.business-list-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.business-list-item.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Enhanced hover effects for cards */
.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

/* Smooth transitions for all animated elements */
.animate-on-scroll,
.animate-slide-left,
.animate-slide-right,
.service-item,
.step-card,
.stat-card,
.feature-box,
.business-list-item {
    will-change: transform, opacity;
}

/* Footer animations */
.footer .col-lg-2,
.footer .col-lg-3 {
    opacity: 1;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.footer .col-lg-2.animated,
.footer .col-lg-3.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Form input animations */
.form-control {
    transition: all 0.3s ease;
}

.form-control:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.2) !important;
}

/* Number counter animation for stats */
.stat-number {
    animation: countUp 1.5s ease-out;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Button Styles */
.contact-btn .contact-number {
    display: none;
    margin-left: 8px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}
.contact-btn .contact-number.show {
    display: inline-block;
}

@media (max-width: 768px) {
    .animate-on-scroll,
    .animate-slide-left,
    .animate-slide-right {
        transform: none;
        opacity: 1;
    }
    
    .service-item,
    .step-card,
    .stat-card,
    .feature-box,
    .business-list-item {
        opacity: 1;
        transform: none;
    }
}

/* ========== NAVBAR STYLES (Same as index.html) ========== */
/* Enhanced Navbar Styles */
.navbar {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
    padding-top: 0.4rem !important;
    padding-bottom: 0.2rem !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1030 !important;
    width: 100% !important;
}

/* Body padding removed - navbar only exists on index.html now */

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12) !important;
}

.navbar-brand {
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand > div {
    transition: all 0.3s ease;
    border: none !important;
    box-shadow: none;
}

.navbar-brand:hover > div {
    box-shadow: none;
    transform: translateY(-2px);
}

.nav-link {
    color: #212529 !important;
    font-weight: 600;
    font-size: 1.15rem;
    padding: 0.65rem 1.2rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6600, #28a745);
    transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-link.show::before {
    width: 80%;
}

.nav-link:hover {
    color: #ff6600 !important;
    background: rgba(255, 102, 0, 0.05);
    transform: translateY(-2px);
}

.nav-link i {
    font-size: 1.2rem;
}

.nav-link.dropdown-toggle::after {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.nav-link.show.dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Enhanced Dropdown Menu */
.dropdown-menu {
    border: none !important;
    border-radius: 12px !important;
    padding: 0.75rem 0 !important;
    margin-top: 0.5rem !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    background: #ffffff !important;
    min-width: 280px;
    animation: dropdownFadeIn 0.3s ease;
    overflow: hidden;
}

/* MCA Dropdown - Two Column Layout */
.mca-dropdown-menu {
    min-width: 550px !important;
    max-width: 90vw;
    padding: 0.5rem 0.75rem !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
    pointer-events: auto !important;
    z-index: 1050 !important;
}

.mca-dropdown-menu.show {
    display: flex !important;
}

.mca-dropdown-menu > li {
    width: 50%;
    flex: 0 0 50%;
    box-sizing: border-box;
}

.mca-dropdown-menu .dropdown-header {
    width: 100%;
    flex: 0 0 100%;
    display: block;
    padding: 0.5rem 0.75rem !important;
    margin-bottom: 0.25rem;
}

.mca-dropdown-menu .dropdown-item {
    margin: 2px 6px 2px 0 !important;
    padding: 0.5rem 0.75rem !important;
    border-left: 3px solid transparent;
    white-space: nowrap;
    overflow: visible;
    pointer-events: auto !important;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1.3;
}

/* Add right border to items in left column (odd items after header) */
.mca-dropdown-menu > li:nth-child(odd):not(:first-child) .dropdown-item {
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    padding-right: 0.75rem !important;
}

.mca-dropdown-menu .dropdown-item i {
    font-size: 0.9rem;
    margin-right: 0.5rem;
    width: 16px;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 0.75rem 1.25rem !important;
    color: #495057 !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    border-left: 3px solid transparent;
}

.dropdown-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    color: #6c757d;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(255, 102, 0, 0.08) 0%, rgba(40, 167, 69, 0.08) 100%) !important;
    color: #212529 !important;
    border-left-color: #ff6600;
    padding-left: 1.5rem !important;
    transform: translateX(5px);
}

.dropdown-item:hover i {
    color: #ff6600;
    transform: scale(1.2);
}

.dropdown-item:active {
    background: linear-gradient(90deg, rgba(255, 102, 0, 0.15) 0%, rgba(40, 167, 69, 0.15) 100%) !important;
}

/* Dropdown Header */
.dropdown-header {
    padding: 0.75rem 1.25rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    background: linear-gradient(90deg, rgba(255, 102, 0, 0.1) 0%, rgba(40, 167, 69, 0.1) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Navbar Toggler */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 102, 0, 0.25);
}

.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%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Contact Button Styles */
.contact-btn {
    position: relative;
    overflow: hidden;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.4) !important;
}

.contact-btn .contact-number {
    display: inline-block;
    margin-left: 8px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

/* Responsive Navbar Styles */
@media (max-width: 991px) {
    .contact-btn {
        padding: 8px 16px !important;
        font-size: 0.9rem !important;
    }
    
    .contact-btn .contact-number {
        display: none;
    }
    
    .dropdown-menu {
        margin-top: 0.25rem !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        font-size: 1rem !important;
    }
    
    .mca-dropdown-menu {
        min-width: 100% !important;
        max-width: calc(100vw - 2rem) !important;
        grid-template-columns: 1fr !important;
        padding: 0.75rem 1rem !important;
    }
    
    .mca-dropdown-menu > li:nth-child(odd):not(:first-child) .dropdown-item {
        border-right: none;
    }
}

