/* ============================================
   ULTIMATE AI ERA WEBSITE CSS v2.0
   With Particle Background | Fully Responsive
   ============================================ */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,100..900;1,100..900&family=Space+Grotesk:wght@300..700&display=swap');

/* CSS Variables */
:root {
    --primary-cyan: #00f3ff;
    --primary-purple: #b300ff;
    --primary-pink: #ff00d4;
    --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%);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* ============================================
   PARTICLE BACKGROUND (Better than stars)
   ============================================ */

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Animated Gradient Background */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(125deg, #0f0c29, #302b63, #24243e);
    background-size: 200% 200%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating Orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
    animation: floatOrb 20s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #00f3ff, transparent);
    top: 10%;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #b300ff, transparent);
    bottom: 10%;
    right: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #ff00d4, transparent);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(100px, -100px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

/* Main Content Wrapper */
.main-wrapper {
    position: relative;
    z-index: 2;
}

/* ============================================
   NAVBAR - Mobile Responsive Fix
   ============================================ */

.navbar {
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(15, 12, 41, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand img {
    transition: all 0.3s ease;
    height: 40px;
}

.navbar-brand:hover img {
    filter: drop-shadow(0 0 15px rgba(0, 243, 255, 0.7));
    transform: scale(1.05);
}

/* Navbar Toggle Button (Hamburger) */
.navbar-toggler {
    border: 2px solid #00f3ff;
    background: transparent;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: rgba(0, 243, 255, 0.2);
    transform: scale(1.05);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 243, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navbar Links */
.navbar-nav {
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    padding: 10px 18px !important;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.nav-link:hover,
.nav-link.active {
    color: #00f3ff !important;
    background: rgba(0, 243, 255, 0.1);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

/* Mobile Responsive Navbar */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(15, 12, 41, 0.98);
        backdrop-filter: blur(15px);
        border-radius: 20px;
        margin-top: 15px;
        padding: 15px;
        border: 1px solid rgba(0, 243, 255, 0.2);
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .nav-link {
        display: inline-block;
        margin: 5px 0;
    }
    
    .navbar-toggler {
        margin-right: 10px;
    }
}

/* ============================================
   HERO SECTION - Enhanced
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 0 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ffffff, #00f3ff, #b300ff, #ff00d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 5s ease infinite;
    background-size: 300% 300%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero .lead {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Typing Animation */
.typed-text {
    font-size: 1.5rem;
    color: #00f3ff;
    margin-bottom: 20px;
    font-weight: 600;
}

/* ============================================
   BUTTON STYLES - Premium
   ============================================ */

.btn {
    position: relative;
    padding: 14px 35px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    z-index: 1;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #00f3ff, #0066ff);
    border: none;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 35px rgba(0, 243, 255, 0.7);
    background: linear-gradient(135deg, #00ffff, #0088ff);
}

.btn-outline-primary {
    border: 2px solid #00f3ff;
    background: transparent;
    color: #00f3ff;
}

.btn-outline-primary:hover {
    background: rgba(0, 243, 255, 0.15);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.5);
    transform: translateY(-5px);
    color: #00f3ff;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

/* ============================================
   GLASS CARDS - Premium Effect
   ============================================ */

.service-card,
.team-card,
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.service-card:hover,
.team-card:hover,
.card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(0, 243, 255, 0.5);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 243, 255, 0.2);
}

/* Service Card Icon */
.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.2), rgba(179, 0, 255, 0.2));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 2rem;
    color: #00f3ff;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.4), rgba(179, 0, 255, 0.4));
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.8);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ============================================
   TEAM CARDS
   ============================================ */

.team-card {
    text-align: center;
    padding: 30px 20px;
}

.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #00f3ff;
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.3);
    transition: all 0.4s ease;
}

.team-card:hover img {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(0, 243, 255, 0.6);
    border-color: #ff00d4;
}

.team-card h5 {
    margin-top: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    background: linear-gradient(135deg, #ffffff, #00f3ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.team-card p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

/* ============================================
   SECTION STYLES
   ============================================ */

section {
    position: relative;
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff, #00f3ff, #b300ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.section-title .section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* Divider */
.divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #00f3ff, #b300ff, #ff00d4);
    margin: 20px auto 0;
    border-radius: 3px;
}

/* ============================================
   FORM STYLES
   ============================================ */

.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 14px 18px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #00f3ff;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    color: #ffffff;
    outline: none;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-label {
    font-weight: 500;
    margin-bottom: 10px;
    color: #00f3ff;
    font-size: 0.95rem;
}

/* ============================================
   FOOTER - Premium
   ============================================ */

footer {
    background: rgba(10, 8, 30, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 243, 255, 0.2);
    padding: 60px 0 30px;
    position: relative;
    z-index: 2;
}

footer h5 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #00f3ff;
}

footer ul li {
    margin-bottom: 12px;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #00f3ff !important;
    transform: translateX(5px);
    display: inline-block;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #00f3ff;
    transform: translateY(-5px);
}

.social-links a:hover i {
    color: #0f0c29 !important;
}

/* ============================================
   SCROLLBAR - Custom
   ============================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 12, 41, 0.5);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00f3ff, #b300ff);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff00d4, #00f3ff);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-card,
.team-card,
.card {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

/* ============================================
   LOADER
   ============================================ */

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f0c29;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(0, 243, 255, 0.2);
    border-top-color: #00f3ff;
    border-right-color: #b300ff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loader-text {
    margin-top: 20px;
    color: #00f3ff;
    font-weight: 500;
    letter-spacing: 2px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   RESPONSIVE DESIGN - Complete
   ============================================ */

/* Tablet */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero .lead {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .service-card,
    .team-card {
        margin-bottom: 25px;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    .hero {
        text-align: center;
        padding: 80px 0 50px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .lead {
        font-size: 1rem;
    }
    
    .typed-text {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .service-icon {
        width: 55px;
        height: 55px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    footer {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 20px;
    }
    
    .orb-1, .orb-2, .orb-3 {
        display: none;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .navbar-brand img {
        height: 32px;
    }
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00f3ff, #b300ff);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.7);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.1), rgba(179, 0, 255, 0.1));
    backdrop-filter: blur(10px);
    border-radius: 30px;
    margin: 20px;
    border: 1px solid rgba(0, 243, 255, 0.3);
    padding: 60px 40px;
    text-align: center;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 40px 20px;
        margin: 15px;
    }
}

/* ============================================
   HOVER GLOW EFFECTS
   ============================================ */

.glow-on-hover {
    transition: all 0.3s ease;
}

.glow-on-hover:hover {
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.4);
    transform: scale(1.02);
}



