/* General Styles */
:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --dark-color: #1e1b4b;
    --light-color: #faf5ff;
    --text-color: #64748b;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --border-radius: 16px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.navbar {
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-abc {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-biz {
    color: var(--dark-color);
    margin: 0 0.25rem;
}

.logo-fast {
    color: var(--accent-color);
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
}

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

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

.nav-cta {
    background: var(--gradient-1);
    color: white !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding-top: 100px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-50px, -50px) rotate(360deg); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-badge i {
    color: #fbbf24;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* Hero Features */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.feature-content h5 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

/* Hero Buttons */
.hero-buttons .btn {
    padding: 0.85rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-gradient {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: var(--dark-color) !important;
    border: none;
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.5);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    animation: float-image 6s ease-in-out infinite;
}

@keyframes float-image {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-image {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float-card 4s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
}

.floating-card span {
    font-weight: 600;
    color: var(--dark-color);
}

.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.card-1 i {
    color: #10b981;
}

.card-2 {
    top: 40%;
    right: -10%;
    animation-delay: 1s;
}

.card-2 i {
    color: var(--primary-color);
}

.card-3 {
    bottom: 10%;
    left: -5%;
    animation-delay: 2s;
}

.card-3 i {
    color: var(--accent-color);
}

@keyframes float-card {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-waves svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    margin-bottom: 2rem;
}

/* About Section */
.feature-box {
    padding: 1rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    height: 100%;
}

.feature-box i {
    font-size: 2rem;
    display: block;
}

/* Service Cards */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.08);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-1);
    opacity: 0;
    transition: var(--transition);
    transform: rotate(45deg);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-icon i {
    font-size: 1.75rem;
    color: white;
}

.service-card h4 {
    margin-bottom: 1rem;
    color: var(--dark-color);
    position: relative;
    z-index: 1;
}

.service-card ul li i {
    color: var(--primary-color);
}

/* Industry Cards */
.industry-card {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.08);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(139, 92, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.industry-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-2);
    transform: scaleX(0);
    transition: var(--transition);
}

.industry-card:hover::after {
    transform: scaleX(1);
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.15);
}

.industry-card img {
    transition: var(--transition);
    border-radius: 12px;
}

.industry-card:hover img {
    transform: scale(1.05);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-2);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.05) 10px,
        rgba(255, 255, 255, 0.05) 20px
    );
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

.cta-section h2 {
    position: relative;
    z-index: 1;
}

.cta-section p {
    position: relative;
    z-index: 1;
}

.cta-section .btn-light {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.cta-section .btn-light:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Contact Section */
.contact-card {
    background: linear-gradient(145deg, #ffffff, #f8f9ff);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.1);
    transition: var(--transition);
    border: 1px solid rgba(99, 102, 241, 0.08);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.15);
    background: white;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

.contact-card:hover .contact-icon {
    transform: rotate(10deg) scale(1.1);
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-form-wrapper {
    background: linear-gradient(145deg, #ffffff, #faf5ff);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.08);
}

.form-control, .form-select {
    padding: 0.85rem 1.25rem;
    border: 2px solid #e8e2ff;
    border-radius: 12px;
    transition: var(--transition);
    background: white;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    background: white;
}

.form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-color), #312e81) !important;
    padding: 2rem 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-1);
}

.social-links a {
    font-size: 1.25rem;
    transition: var(--transition);
    display: inline-block;
}

.social-links a:hover {
    color: var(--accent-color) !important;
    transform: translateY(-5px) rotate(10deg);
}

/* Button Styles */
.btn-primary {
    background: var(--gradient-1);
    border: none;
    padding: 0.85rem 2.25rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.85rem 2.25rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    transition: var(--transition);
    z-index: -1;
}

.btn-outline-primary:hover::before {
    left: 0;
}

.btn-outline-primary:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    border-color: transparent;
}

/* Responsive Design */
@media (max-width: 991px) {
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .nav-cta {
        margin-top: 1rem;
        display: inline-block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn-lg {
        margin-right: 0 !important;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}