/* 
    Web Craft Nepal - Custom Styles
    Premium IT Company Theme
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --primary: #fa4e17; /* Royal Blue from logo */
    --primary-dark: #fa4e17;
    --secondary: #f8fafc; 
    --accent: #f59e0b; /* Orange/Yellow from logo */
    --text-main: #0f172a;
    --text-muted: #475569;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.05);
    --glass-dark: rgba(255, 255, 255, 0.9);
}

h2.text-4xl.md\:text-5xl.font-bold.mb-8.leading-tight.text-slate-900 {
    font-size: clamp(1.875rem, 5vw, 3rem); /* Fluid font size */
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: var(--text-main);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    word-break: break-word; /* Prevent long words from breaking layout on small screens */
}

/* Glassmorphism Classes */
.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.glass-dark {
    background: var(--glass-dark);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, #006fe6 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero-container {

    backdrop-filter: blur(10px);
    border: 1px solid #f1f5f9;
/*    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.05);*/
}
img.main_logo {
    width: 41%;
}
.hero-mesh {
    background: 
        radial-gradient(at 0% 0%, hsla(210,100%,98%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(210,100%,94%,1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(20,100%,96%,1) 0, transparent 50%);
}

.hero-gradient {
    background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.05), transparent),
                radial-gradient(circle at bottom left, rgba(56, 189, 248, 0.05), transparent);
}

/* Navbar Sticky Transition */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    box-shadow: 0 15px 40px -20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(15px);
}

nav {
    transition: all 0.4s ease;
}

.nav-link {
    position: relative;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

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

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Card Hover Effects */
.service-card, .product-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover, .product-card:hover {
    transform: translateY(-10px);
    background: #ffffff;
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 20px 40px -15px rgba(124, 58, 237, 0.15);
}

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

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

::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7c3aed;
}

/* Swiper Adjustments */
.swiper-pagination-bullet {
    background: #7c3aed !important;
}

/* WhatsApp Floating Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* Scroll to Top */
#scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

#scroll-top.show {
    opacity: 1;
    visibility: visible;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-container {
        padding: 3rem 1.5rem !important;
    }
    
    h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }

    .section-padding {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .md\:hidden-flex {
        display: flex !important;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem !important;
    }
    
    .hero-container {
        padding: 2rem 1rem !important;
        border-radius: 2rem !important;
    }

    .container {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
}
