/* Premium Design System for Ronik Infotech */
:root {
    --bg-dark: #020617;
    --bg-navy: #0f172a;
    --primary: #22d3ee;
    /* Neon Cyan */
    --primary-glow: rgba(34, 211, 238, 0.5);
    --secondary: #3b82f6;
    /* Electric Blue */
    --accent: #fb7185;
    /* Soft Red/Pink */
    --accent-glow: rgba(251, 113, 133, 0.4);
    --text-white: #ffffff;
    --text-gray: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--primary-glow);
}

/* Sticky Navbar */
#navbar {
    transition: all 0.4s ease;
}

#navbar.scrolled {
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    border-bottom: 1px solid var(--glass-border);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.4) 0%, rgba(2, 6, 23, 0.5) 50%, #020617 100%);
}

.slide-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Premium Buttons */
.btn-premium {
    position: relative;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: white;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.5), 0 0 20px var(--primary-glow);
}

.btn-accent {
    background: linear-gradient(135deg, #f43f5e 0%, var(--accent) 100%);
    color: white;
    box-shadow: 0 10px 20px rgba(251, 113, 133, 0.3);
}

.btn-accent:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(251, 113, 133, 0.5), 0 0 20px var(--accent-glow);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* About Section Styles */
.about-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.about-circle-img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid var(--glass-border);
    padding: 15px;
    background: var(--glass-bg);
    transition: all 0.5s ease;
}

.about-image-container:hover .about-circle-img {
    border-color: var(--primary);
    transform: rotate(5deg) scale(1.02);
}

.about-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: var(--bg-dark);
    padding: 20px;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    box-shadow: 0 10px 20px var(--primary-glow);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 var(--primary-glow);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(34, 211, 238, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 211, 238, 0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

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

/* Floating Particles */
.particles-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(2px);
    animation: floatParticle 10s infinite linear;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.3;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* Testimonials Section */
.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 40px;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    border-color: var(--primary);
    transform: scale(1.02);
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
    margin-bottom: -20px;
}

/* FAQ Section */
.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--primary);
    background: rgba(34, 211, 238, 0.05);
}

.faq-question {
    width: 100%;
    padding: 24px 32px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: white;
    font-weight: 700;
    cursor: pointer;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 32px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 24px;
}

.faq-icon {
    transition: transform 0.4s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary);
}

/* Mobile Responsiveness Improvements */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .glass-card,
    .testimonial-card {
        padding: 24px;
    }
}

/* Mobile Menu Active State */
#mobileMenu.active {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: scale(1) !important;
}

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

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

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