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

:root {
    --bg-main: #06090f;
    /* Slightly deeper, more contrast */
    --bg-card: rgba(16, 22, 34, 0.7);
    --primary: #00f2ff;
    --secondary: #7000ff;
    --accent: #ff007a;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.08);
    --neon-shadow: 0 0 15px rgba(0, 242, 255, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated Background Blobs */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.1) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(100px);
    animation: move 20s infinite alternate;
}

.blob:nth-child(2) {
    background: radial-gradient(circle, rgba(0, 242, 255, 0.1) 0%, transparent 60%);
    width: 600px;
    height: 600px;
    right: -100px;
    top: -100px;
    animation-delay: -5s;
}

@keyframes move {
    from {
        transform: translate(-10%, -10%);
    }

    to {
        transform: translate(10%, 10%);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

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

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

h1,
h2,
h3,
.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Glassmorphism Utility */
.glass-effect {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

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

/* Header & Navbar */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(8, 12, 20, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
}

.navbar-brand {
    background: rgb(255, 255, 255);
    padding: 8px 15px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.navbar-brand img {
    filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.6)) brightness(1.2);
    transition: var(--transition);
}

.navbar-brand:hover {
    background: rgb(255, 255, 255);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.navbar-brand img:hover {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8)) brightness(1.3);
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: var(--primary) !important;
}

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

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

.lets_talk {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white !important;
    padding: 10px 25px !important;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--neon-shadow);
    border: none;
    transition: var(--transition) !important;
}

.lets_talk:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.5);
    filter: brightness(1.1);
}

/* Hero Section */
.banner_outer {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    perspective: 2000px;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.2) 0%, transparent 70%);
    z-index: -1;
}

.banner_content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner_content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-image-stack {
    position: relative;
    padding-bottom: 50px;
}

.hero-image-stack img {
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 242, 255, 0.1);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.hero-image-stack .secondary-img {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(2px) grayscale(0.5);
    transform: scale(0.95);
}

.hero-image-stack .tertiary-img {
    position: absolute;
    top: 60px;
    left: 60px;
    z-index: -2;
    opacity: 0.25;
    filter: blur(4px) grayscale(1);
    transform: scale(0.9);
}

.hero-image-stack:hover img {
    transform: translateY(-10px) rotateY(-5deg);
}

.hero-image-stack:hover .secondary-img {
    transform: translate(-10px, -10px) scale(0.96);
}

.hero-image-stack:hover .tertiary-img {
    transform: translate(-20px, -20px) scale(0.92);
}

.about-section img,
#stats img {
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 242, 255, 0.1);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* Service Cards */
.service-box {
    padding: 40px;
    height: 100%;
    transition: var(--transition);
    cursor: default;
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
}

.service-box:hover {
    transform: translateY(-15px) rotateX(10deg) rotateY(10deg);
    border-color: var(--primary);
    background: rgba(0, 242, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 242, 255, 0.2);
}

.service-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -100%;
    width: 50%;
    height: 300%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translate(-50%, -50%) rotate(45deg);
    transition: 0.8s;
}

.service-box:hover::after {
    left: 150%;
}

.service-box figure {
    width: 80px;
    height: 80px;
    background: rgba(0, 242, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.service-box:hover figure {
    transform: scale(1.1) translateZ(30px);
    background: rgba(0, 242, 255, 0.2);
    box-shadow: var(--neon-shadow);
}

.service-box h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-box p {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* About Section */
.about-section {
    position: relative;
    overflow: hidden;
}

.about_content h5 {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.about_content h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
}

/* Testimonials */
.testimonial-section {
    background: rgba(0, 0, 0, 0.2);
}

.testimonial_content {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
}

.testimonial_content p {
    font-style: italic;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 30px;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary);
    margin-bottom: 15px;
}

/* Footer */
.footer-section {
    padding-top: 100px;
    border-top: 1px solid var(--glass-border);
}

.footer-logo {
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icons li a {
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-icons li a:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-5px);
}

.footer-section h4 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #fff;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-section ul li {
    margin-bottom: 12px;
}

/* Contact Form */
#fixed-form-container {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    margin-top: 50px;
}

.form-control,
.form_style {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #fff !important;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.form-control:focus,
.form_style:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.1);
}

.submit_now {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.submit_now:hover {
    transform: scale(1.02);
    box-shadow: var(--neon-shadow);
}

.copyright {
    padding: 30px 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 80px;
    text-align: center;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 991px) {
    .banner_content h1 {
        font-size: 3rem;
    }

    .about_content {
        margin-top: 50px;
    }

    .about_content h2 {
        font-size: 2.5rem;
    }

    .hero-image-wrapper {
        margin-top: 50px;
    }
}