/* Scroll to Top Button */
.scroll-to-top {
    background: linear-gradient(135deg, #4facfe 0%, var(--bs-blue) 100%) !important;
    color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 1000;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
}
.scroll-to-top:hover {
    box-shadow: var(--shadow-xl);
    filter: brightness(1.1);
}
/* Accent gradient variable */
:root {
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, var(--bs-blue) 100%);
}
/* Custom style for Enquire button */
.enquire-btn {
    background: #0d6efd !important;
    border: none;
    color: #fff;
}
/* Custom style for Get Started button in hero */
.hero-section .btn-outline-primary {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid #fff;
    box-shadow: 0 4px 24px 0 rgba(38, 99, 235, 0.10);
    font-weight: 600;
    transition: all 0.3s;
}
.hero-section .btn-outline-primary:hover {
    background: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 32px 0 rgba(38, 99, 235, 0.18);
}
/* Custom font size for display-5 */
.display-5 {
    font-size: 2.7rem;
}
/* Force color for .fw-bold.text-primary */
.fw-bold.text-primary {
    color: #86b7fe !important;
}
/* Custom CSS for QloudNext Website */

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
        --gradient-primary: linear-gradient(135deg, #6a71d80d 0%, #6f42c14d 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #374151;
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: #f8e1ff;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #a259f7, #f5576c);
    border-radius: 6px;
    border: 2px solid #f8e1ff;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2, #f093fb);
    border: 2px solid #f3c4fb;
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg, #f093fb, #764ba2);
}

/* Firefox Scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: #3b82f6 #f1f5f9;
}

/* Custom Bootstrap Theme */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-primary);
    filter: brightness(1.1);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

/* Navigation */
.navbar {
    /* padding: 1rem 0; */
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: cursive;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    transform: translateY(-1px);
}

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



.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
}

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

.hero-buttons {
    margin-top: 2rem;
}

.hero-stats {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Hero Image */
.hero-image {
    position: relative;
    height: 500px;
    z-index: 2;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    color: var(--dark-color);
    text-align: center;
    animation: float 6s ease-in-out infinite;
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 100 !important;
}

.floating-card:nth-child(1) {
    top: 50px;
    left: 20px;
    width: 240px;
    z-index: 4;
}

.floating-card:nth-child(2) {
    top: 240px;
    right: 80px;
    width: 240px;
    animation-delay: -3s;
    z-index: 1;
    opacity: 0.9;
}

.floating-card:nth-child(3) {
    bottom: 50px;
    left: 50px;
    width: 240px;
    animation-delay: -4s;
    z-index: 2;
}

.floating-card:nth-child(4) {
    top: 200px;
    right: 50px;
    width: 240px;
    animation-delay: -2s;
    z-index: 3;
}

.floating-card h4 {
    margin: 1rem 0 0.5rem;
    font-weight: 600;
}

.floating-card p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

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

/* Service Cards */
.service-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

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

.service-icon {
    height: 80px;
    width: 80px;
    background: linear-gradient(135deg, #4facfe 0%, var(--bs-blue) 100%);
    border-radius: 50%;
    display: flex;
    border-radius: 50%;
    display: flex;
    font-family: cursive;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--dark-color);
}

.service-card p {
    margin-bottom: 1.5rem;
    color: #6b7280;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
    color: #6b7280;
    font-size: 0.9rem;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: "✓";
    color: var(--success-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.product-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.product-header i {
    font-size: 2rem;
    margin-right: 1rem;
    color: var(--primary-color);
}

.product-header h4 {
    margin: 0;
    font-weight: 600;
    color: var(--dark-color);
}

.product-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.product-features {
    margin-top: 1rem;
}

.product-features .badge {
    margin-bottom: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
}

/* About Section */
.about-feature {
    text-align: center;
    padding: 1rem;
}

.about-feature h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.about-feature p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

.tech-stack {
    background: #f3f4f6;
/* Custom background for Submit Enquire button */
.btn-enquire, #submitBtn, .btn-primary.btn-lg#submitBtn {
    background: #0d6efd !important;
    border: none;
    color: #fff;
}
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e5e7eb;
}

.tech-stack h5 {
    font-weight: 600;
    color: var(--dark-color);
    text-align: center;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-item {
    background: #0d6efd;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Contact Section */
.contact-form {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e5e7eb;
}

.form-control, .form-select {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

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

.contact-info {
    text-align: center;
    padding: 1.5rem;
}

.contact-info h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.contact-info p {
    color: #6b7280;
    margin: 0;
}

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

.footer-brand {
    font-weight: 700;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: cursive;
}

.social-links a {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
        padding-top: 120px;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .floating-card {
        position: static;
        margin: 1rem auto;
        max-width: 280px;
        animation: none;
    }
    
    .hero-image {
        height: auto;
        margin-top: 3rem;
    }
    
    .service-card,
    .product-card {
        margin-bottom: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .tech-items {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-lg {
        width: 100%;
    }
    
    .floating-card {
        padding: 1.5rem;
    }
    
    .service-card,
    .product-card,
    .contact-form {
        padding: 1.5rem;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

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

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

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

/* 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: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Utility Classes */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bg-gradient {
    background: var(--gradient-primary);
}

.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                var(--gradient-primary) border-box;
}

.hover-scale {
    transition: transform 0.3s ease;
}

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

/* Print Styles */
@media print {
    .navbar,
    .hero-section,
    .contact-form,
    footer {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .service-card,
    .product-card {
        box-shadow: none;
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
}

/* Loading Animation for Form */
.spin {
    animation: spin 1s linear infinite;
}

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