/* Custom Styles for VectLeap Website */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --accent-color: #0dcaf0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    scroll-behavior: smooth;
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    transform: translateY(-2px);
}

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

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

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Hero Illustration */
.hero-illustration {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gradient-box {
    position: absolute;
    border-radius: 20px;
    animation: float 6s ease-in-out infinite;
}

.gradient-box-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.9;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
}

.gradient-box-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    top: 20%;
    right: 10%;
    animation-delay: -2s;
    opacity: 0.8;
    box-shadow: 0 20px 60px rgba(245, 87, 108, 0.3);
}

.gradient-box-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    bottom: 20%;
    left: 10%;
    animation-delay: -4s;
    opacity: 0.7;
    box-shadow: 0 20px 60px rgba(79, 172, 254, 0.3);
}

/* About Illustration */
.about-illustration {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gradient-circle {
    position: absolute;
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.circle-1 {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.9;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
}

.circle-2 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    top: 10%;
    right: 15%;
    animation-delay: -1.5s;
    opacity: 0.8;
    box-shadow: 0 20px 60px rgba(245, 87, 108, 0.3);
}

.circle-3 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    bottom: 15%;
    left: 15%;
    animation-delay: -3s;
    opacity: 0.7;
    box-shadow: 0 20px 60px rgba(79, 172, 254, 0.3);
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Underline Effect */
.underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    margin-top: 1rem;
    border-radius: 2px;
}

/* Cards */
.hover-card {
    transition: all 0.3s ease;
    border: none;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
}

.service-icon {
    transition: all 0.3s ease;
}

.hover-card:hover .service-icon i {
    transform: scale(1.2);
    color: var(--accent-color) !important;
}

/* Contact Section */
.contact-item {
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 8px;
}

.contact-item:hover {
    background-color: #f8f9fa;
    transform: translateY(-5px);
}

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

.contact-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Language Toggle */
#langToggle {
    transition: all 0.3s ease;
}

#langToggle:hover {
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-illustration,
    .about-illustration {
        height: 300px;
        margin-top: 2rem;
    }
    
    .gradient-box-1,
    .circle-1 {
        width: 200px;
        height: 200px;
    }
    
    .gradient-box-2,
    .circle-2 {
        width: 130px;
        height: 130px;
    }
    
    .gradient-box-3,
    .circle-3 {
        width: 90px;
        height: 90px;
    }
}

/* Smooth Scrolling */
html {
    scroll-padding-top: 70px;
}

/* Loading Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.page-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}
