/* ==========================================================================
   PREMIUM MODERN THEME 2025 - Ultimate Professional Design
   Created by: Code With Shivu
   ========================================================================== */

/* Modern Color Palette - Premium Gradient Scheme */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-gradient: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.18);
    
    --neon-blue: #00f2fe;
    --neon-purple: #667eea;
    --neon-pink: #f5576c;
    --neon-cyan: #4facfe;
    
    --text-light: #ffffff;
    --text-dark: #1a1a2e;
    --text-gray: #a8a8a8;
    
    --shadow-glow: 0 8px 32px rgba(102, 126, 234, 0.25);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Modern Glass Background */
body {
    background: var(--dark-gradient);
    position: relative;
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
}

/* Animated Gradient Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(245, 87, 108, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(79, 172, 254, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: gradient-shift 15s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes contact-bg-animation {
    0% { background-position: 0 0, 0 0, 0 0; }
    100% { background-position: 100px 100px, 200px 200px, 150px 150px; }
}

/* Glassmorphism Effect Base */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glass);
}

/* Modern Navigation Bar */
.navbar {
    background: rgba(15, 12, 41, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar:hover::after {
    opacity: 1;
}

/* Brand Logo with Glow */
.navbar-brand span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.3));
    transition: all 0.3s ease;
}

.navbar-brand:hover span {
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.6));
}

/* Modern Navigation Links */
.dark_bg_menu .navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    position: relative;
    padding: 8px 20px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark_bg_menu .navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.dark_bg_menu .navbar-nav .nav-link:hover::before {
    width: 80%;
}

.dark_bg_menu .navbar-nav .nav-link:hover {
    color: var(--neon-cyan) !important;
    text-shadow: 0 0 10px var(--neon-cyan);
    transform: translateY(-2px);
}

/* Announcement Ticker - Modern Style */
.announcement-ticker {
    background: linear-gradient(135deg, rgba(15, 12, 41, 0.95) 0%, rgba(48, 43, 99, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(102, 126, 234, 0.3);
    border-bottom: 2px solid var(--neon-cyan);
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.2);
}

.announcement-ticker::before {
    background: linear-gradient(90deg, 
        rgba(79, 172, 254, 0.2) 0%, 
        rgba(0, 242, 254, 0.1) 50%, 
        rgba(79, 172, 254, 0.2) 100%);
    animation: shimmer-modern 3s ease-in-out infinite;
}

@keyframes shimmer-modern {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.announcement-ticker .new-badge {
    background: var(--secondary-gradient);
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
    border-radius: 20px;
    padding: 4px 12px;
}

.announcement-ticker .app-link {
    color: var(--neon-cyan);
    font-weight: 600;
    transition: all 0.3s ease;
}

.announcement-ticker .app-link:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 15px var(--neon-cyan);
}

/* Hero Section - Modern Enhancement */
.banner_content h3 {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(79, 172, 254, 0.4));
}

.banner_content h1 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.5));
    font-size: 56px !important;
    font-weight: 800;
}

.banner_content p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 16px;
    line-height: 1.8;
}

/* Animated Headline Colors */
.cd-headline.clip .cd-words-wrapper b {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(245, 87, 108, 0.4));
}

/* Modern Buttons with 3D Effect */
.btn.btn-secondary,
.btn-secondary.banner_btn,
.btn-common {
    background: var(--primary-gradient);
    border: none;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn.btn-secondary::before,
.btn-common::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn.btn-secondary:hover::before,
.btn-common:hover::before {
    left: 100%;
}

.btn.btn-secondary:hover,
.btn-common:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.btn.btn-secondary:active,
.btn-common:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.5);
}

/* Section Titles - Modern Gradient */
.section-title {
    color: var(--text-light) !important;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 60px;
    position: relative;
}

.section-title span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(79, 172, 254, 0.5));
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
    box-shadow: 0 0 20px var(--neon-cyan);
}

/* Service Cards - Glassmorphism */
.services-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    animation: rotate-gradient 15s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.services-item:hover::before {
    opacity: 1;
}

@keyframes rotate-gradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.services-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
}

.services-item .services-content h3 a {
    color: var(--text-light) !important;
    transition: all 0.3s ease;
}

.services-item:hover .services-content h3 a {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-item .icon img {
    filter: drop-shadow(0 0 15px rgba(102, 126, 234, 0.4));
    transition: all 0.3s ease;
}

.services-item:hover .icon img {
    filter: drop-shadow(0 0 25px rgba(79, 172, 254, 0.6));
    transform: scale(1.1) rotateY(360deg);
}

/* Blog Cards - Modern Glass Design */
.blog-thumb {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-thumb:hover {
    transform: translateY(-10px);
    border-color: rgba(79, 172, 254, 0.5);
    box-shadow: 0 20px 50px rgba(79, 172, 254, 0.3);
}

.blog-thumb .blog-image {
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.blog-thumb .blog-image img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-thumb:hover .blog-image img {
    transform: scale(1.1);
}

.blog-thumb small {
    color: var(--neon-cyan) !important;
    font-weight: 600;
}

.blog-thumb h4 {
    color: var(--text-light) !important;
    transition: all 0.3s ease;
}

.single_blog:hover .blog-thumb h4 {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-info {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-info p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Fun Facts - 3D Card Effect */
.funfact {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.funfact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: all 0.4s ease;
}

.funfact:hover::before {
    left: 0;
    opacity: 0.1;
}

.funfact:hover {
    transform: translateY(-10px) rotateY(5deg);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.4);
}

.funfact h3 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.4));
    font-size: 48px !important;
}

.funfact i {
    color: rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
}

.funfact:hover i {
    color: rgba(102, 126, 234, 0.25);
    transform: scale(1.1);
}

.funfact p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Contact Form - Modern Glass Style */
.form-control {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-light);
    padding: 12px 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.form-control::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.form-control:hover::before {
    left: 100%;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.3);
    color: var(--text-light);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Contact Section Enhancement */
#contact.dark_bg {
    background: linear-gradient(135deg, rgba(15, 12, 41, 0.95) 0%, rgba(48, 43, 99, 0.95) 100%) !important;
    position: relative;
    overflow: hidden;
}

#contact.dark_bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(245, 87, 108, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(79, 172, 254, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.7;
}

#contact.dark_bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 30%);
    background-size: 200px 200px, 300px 300px, 150px 150px;
    background-repeat: repeat;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
    animation: contact-bg-animation 20s linear infinite;
}

#contact .section-title {
    position: relative;
    z-index: 1;
}

/* Contact Section Animation */
@keyframes contact-bg-animation {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Contact Form Area Enhancement */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 40px;
    margin: 30px 0;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
    opacity: 0.5;
    z-index: -1;
}

.contact-form::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    box-shadow: inset 0 0 20px rgba(79, 172, 254, 0.1);
    z-index: -1;
    pointer-events: none;
}

.contact-form:hover {
    border-color: rgba(79, 172, 254, 0.5);
    box-shadow: 0 20px 50px rgba(79, 172, 254, 0.3);
    transform: translateY(-5px);
}

/* Contact Form Glow Effect */
.contact-form.wow.animated {
    animation: contact-glow 2s ease-in-out infinite alternate;
}

@keyframes contact-glow {
    from { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); }
    to { box-shadow: 0 8px 32px rgba(79, 172, 254, 0.4); }
}

/* Textarea Enhancement */
textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Submit Button Enhancement */
.ct_btn {
    background: var(--primary-gradient) !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.ct_btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.ct_btn:hover::before {
    left: 100%;
}

.ct_btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6) !important;
}

.ct_btn:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.5) !important;
}

/* Footer - Modern Design */
.footer-area {
    background: linear-gradient(135deg, rgba(15, 12, 41, 0.95) 0%, rgba(48, 43, 99, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
}

.footer-text p {
    color: rgba(255, 255, 255, 0.8);
}

/* Social Icons - Neon Glow Effect */
.social-icon i {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover i {
    color: var(--neon-cyan) !important;
    text-shadow: 0 0 20px var(--neon-cyan);
    transform: scale(1.2) translateY(-5px);
}

/* Back to Top Button */
a.back-to-top i {
    background: var(--primary-gradient);
    border: none;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.5);
    transition: all 0.3s ease;
}

a.back-to-top:hover i {
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.7);
    transform: scale(1.1);
}

/* Preloader - Modern Animation */
.preloader {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
}

.preloader .loader .loader-outter {
    border: 4px solid transparent;
    border-top: 4px solid var(--neon-cyan);
    border-right: 4px solid var(--neon-purple);
}

.preloader .loader .loader-inner {
    border: 4px solid transparent;
    border-bottom: 4px solid var(--neon-pink);
    border-left: 4px solid var(--neon-cyan);
}

.preloader .loader span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Dropdown Menu - Modern Glass */
.dropdown-menu {
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.dropdown-item {
    color: var(--text-light) !important;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(102, 126, 234, 0.2);
    color: var(--neon-cyan) !important;
}

/* Image Enhancement */
.banner-images img {
    filter: drop-shadow(0 0 40px rgba(102, 126, 234, 0.4));
    transition: all 0.5s ease;
}

.banner-images img:hover {
    filter: drop-shadow(0 0 60px rgba(79, 172, 254, 0.6));
    transform: scale(1.05);
}

/* Particle Enhancement */
#particles-js {
    background: transparent;
    z-index: 0;
}

/* Modern Welcome Message */
.modern-welcome {
    position: fixed;
    top: 120px;
    right: -400px;
    background: var(--primary-gradient);
    color: #fff;
    padding: 20px 30px;
    border-radius: 15px 0 0 15px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.5);
    z-index: 9998;
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modern-welcome:hover {
    right: 0;
}

.modern-welcome h4 {
    margin: 0;
    font-size: 20px;
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.modern-welcome p {
    margin: 5px 0 0 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Scroll Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wow {
    animation-name: fadeInUp;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-welcome {
        display: none;
    }
    
    .banner_content h1 {
        font-size: 36px !important;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .contact-form {
        padding: 20px;
    }
}

/* Text Colors for Dark Background */
.dark_bg h1, .dark_bg h2, .dark_bg h3, 
.dark_bg h4, .dark_bg h5, .dark_bg h6 {
    color: var(--text-light) !important;
}

.dark_bg p {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--neon-purple);
    color: white;
}

::-moz-selection {
    background: var(--neon-purple);
    color: white;
}
