/*
  GenYanalytica Custom Styles - Light Blue Premium Theme
  Based on Premium Website Theme 6: Light Blue
*/

:root {
    /* Light Blue Theme Colors */
    --lightblue-primary: #4a90d9;
    --lightblue-primary-hover: #357abd;
    --lightblue-primary-light: #d0e7ff;
    --lightblue-secondary: #6b7280;
    --lightblue-secondary-light: #e5e7eb;
    --lightblue-sky: #87ceeb;
    --lightblue-azure: #007fff;
    --lightblue-cerulean: #2a9df4;
    --lightblue-powder: #b0e0e6;
    --lightblue-dark: #1e3a5f;
    --lightblue-darker: #0f2847;
    --lightblue-bg: #f8fafc;
    --lightblue-surface: #ffffff;
    --lightblue-border: #bfdbfe;
    --lightblue-text: #1e40af;
    --lightblue-text-muted: #64748b;
    --lightblue-shadow: rgba(74, 144, 217, 0.15);
    --lightblue-shadow-lg: rgba(74, 144, 217, 0.25);

    /* Legacy variable names for compatibility */
    --bg-main: var(--lightblue-bg);
    --bg-darker: var(--lightblue-surface);
    --bg-card: rgba(255, 255, 255, 0.95);
    --primary-neon: var(--lightblue-primary);
    --primary-neon-hover: var(--lightblue-primary-hover);
    --purple-neon: var(--lightblue-azure);
    --text-main: #0f172a;
    --text-muted: var(--lightblue-text-muted);
    --gradient-glow: linear-gradient(45deg, var(--lightblue-primary), var(--lightblue-sky));
    --card-border: rgba(74, 144, 217, 0.15);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--lightblue-bg);
    color: var(--text-main);
    overflow-x: hidden;
}

/* ========== TEXT UTILITY CLASSES ========== */
.text-main {
    color: var(--text-main) !important;
}

.text-muted-light {
    color: var(--text-muted) !important;
}

.text-primary-neon {
    color: var(--lightblue-primary) !important;
}

.text-purple-neon {
    color: var(--lightblue-azure) !important;
}

.text-lightblue {
    color: var(--lightblue-primary) !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--lightblue-primary) 0%, var(--lightblue-sky) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== BACKGROUND UTILITY CLASSES ========== */
.bg-darker {
    background-color: var(--lightblue-surface) !important;
}

.bg-main {
    background-color: var(--lightblue-bg) !important;
}

.bg-neon {
    background: linear-gradient(135deg, var(--lightblue-primary-light) 0%, #e0f2fe 100%) !important;
    color: var(--lightblue-primary) !important;
    border: 1px solid var(--lightblue-border);
}

.bg-neon-purple {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%) !important;
    color: var(--lightblue-azure) !important;
    border: 1px solid #93c5fd;
}

.bg-sky {
    background: linear-gradient(135deg, var(--lightblue-sky) 0%, #6bb3e0 100%) !important;
}

.bg-azure {
    background: linear-gradient(135deg, var(--lightblue-azure) 0%, #0066cc 100%) !important;
}

.bg-cerulean {
    background: linear-gradient(135deg, var(--lightblue-cerulean) 0%, #1a8cdb 100%) !important;
}

.bg-gradient-dark {
    background: linear-gradient(135deg, var(--lightblue-dark) 0%, var(--lightblue-primary) 50%, var(--lightblue-sky) 100%) !important;
}

.bg-lightblue-gradient {
    background: linear-gradient(135deg, var(--lightblue-primary) 0%, var(--lightblue-sky) 100%) !important;
}

/* ========== NAVBAR ========== */
.navbar-lightblue-custom {
    background: linear-gradient(135deg, var(--lightblue-primary) 0%, var(--lightblue-primary-hover) 50%, var(--lightblue-dark) 100%) !important;
    box-shadow: 0 2px 10px var(--lightblue-shadow);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.navbar-lightblue-custom .navbar-brand,
.navbar-lightblue-custom .nav-link {
    color: #ffffff !important;
}

.navbar-lightblue-custom .nav-link:hover,
.navbar-lightblue-custom .nav-link.active {
    color: var(--lightblue-primary-light) !important;
}

.navbar-lightblue-custom .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-lightblue-custom .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%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Glass navbar fallback (legacy class support) */
.glass-nav {
    background: linear-gradient(135deg, var(--lightblue-primary) 0%, var(--lightblue-primary-hover) 50%, var(--lightblue-dark) 100%) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.glass-nav .navbar-brand,
.glass-nav .nav-link {
    color: #ffffff !important;
}

.glass-nav .nav-link:hover,
.glass-nav .nav-link.active {
    color: var(--lightblue-primary-light) !important;
}

@media (max-width: 991.98px) {
    .navbar-lightblue-custom .navbar-collapse,
    .glass-nav .navbar-collapse {
        background-color: var(--lightblue-dark);
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 0.5rem;
        box-shadow: 0 10px 25px rgba(15, 58, 95, 0.3);
    }
}

/* ========== BUTTONS ========== */
.btn-neon {
    background: transparent;
    color: var(--lightblue-primary);
    border: 1px solid var(--lightblue-primary);
    font-weight: 600;
    box-shadow: 0 0 10px var(--lightblue-shadow);
    transition: all 0.3s ease;
}

.btn-neon:hover {
    background: var(--lightblue-primary);
    color: #ffffff;
    box-shadow: 0 0 20px var(--lightblue-shadow-lg);
}

.btn-lightblue-primary {
    background: linear-gradient(135deg, var(--lightblue-primary) 0%, var(--lightblue-sky) 100%);
    border: none;
    color: #ffffff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-lightblue-primary:hover {
    background: linear-gradient(135deg, var(--lightblue-primary-hover) 0%, #6bb3e0 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px var(--lightblue-shadow);
    color: #ffffff;
}

.btn-outline-lightblue {
    background: transparent;
    border: 2px solid var(--lightblue-primary);
    color: var(--lightblue-primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-lightblue:hover {
    background: linear-gradient(135deg, var(--lightblue-primary) 0%, var(--lightblue-sky) 100%);
    border-color: var(--lightblue-primary);
    color: #ffffff;
    transform: translateY(-1px);
}

/* ========== HERO SECTION ========== */
#heroCarousel {
    height: 100vh;
    min-height: 600px;
}

.carousel-inner,
.carousel-item {
    height: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(30, 58, 95, 0.85) 0%, rgba(74, 144, 217, 0.5) 100%);
    z-index: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* Hero slide backgrounds */
.slide-1 {
    background: url('../assets/images/ai_consulting.png') center/cover;
}

.slide-2 {
    background: url('../assets/images/growth_hacking.png') center/cover;
}

.slide-3 {
    background: url('../assets/images/business_analytics.png') center/cover;
}

.slide-4 {
    background: url('../assets/images/agentic_ai.png') center/cover;
}

.slide-5 {
    background: url('../assets/images/cloud_integration.png') center/cover;
}

.slide-6 {
    background: url('../assets/images/powerbi_reporting.png') center/cover;
}

/* ========== ANIMATIONS ========== */
.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== SERVICE CARDS ========== */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--lightblue-border);
    box-shadow: 0 15px 30px var(--lightblue-shadow);
}

.card-lightblue {
    border: 1px solid var(--lightblue-border);
    border-radius: 12px;
    box-shadow: 0 2px 15px var(--lightblue-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card-lightblue:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--lightblue-shadow-lg);
}

/* ========== ICON WRAPS ========== */
.icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lightblue-primary-light) 0%, #e0f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lightblue-primary);
    border: 1px solid var(--lightblue-border);
    transition: all 0.3s ease;
}

.service-card:hover .icon-wrap {
    background: var(--lightblue-primary);
    color: #ffffff;
    box-shadow: 0 0 20px var(--lightblue-shadow);
}

.icon-wrap-agentic {
    border-color: var(--lightblue-border);
    color: var(--lightblue-primary);
    background: linear-gradient(135deg, var(--lightblue-primary-light) 0%, #e0f2fe 100%);
}

.icon-wrap-cloud {
    border-color: #93c5fd;
    color: var(--lightblue-azure);
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

/* ========== FEATURED CARD ========== */
.card-featured {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(74, 144, 217, 0.05) 100%);
    border-color: var(--lightblue-border);
    position: relative;
    overflow: hidden;
}

.card-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-glow);
}

.featured-icon {
    color: var(--lightblue-azure);
    border-color: #93c5fd;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.card-featured:hover .featured-icon {
    background: var(--lightblue-azure);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 127, 255, 0.3);
}

/* ========== TIMELINE CARDS ========== */
.icon-wrap-timeline {
    background: var(--lightblue-surface);
    z-index: 2;
    border-color: var(--lightblue-border);
}

.icon-wrap-timeline-purple {
    background: var(--lightblue-surface);
    z-index: 2;
    border-color: var(--lightblue-border);
    color: var(--lightblue-azure);
}

.card-timeline {
    background: linear-gradient(135deg, var(--lightblue-dark) 0%, var(--lightblue-primary) 100%) !important;
}

.card-timeline .text-main {
    color: #ffffff !important;
}

.card-timeline .text-muted-light {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* ========== FORMS ========== */
.light-input::placeholder {
    color: rgba(15, 23, 42, 0.5) !important;
    opacity: 1;
}

.light-input {
    background-color: rgba(255, 255, 255, 0.5) !important;
    color: var(--text-main) !important;
    border-color: var(--lightblue-border) !important;
}

.light-input:focus {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: var(--text-main) !important;
    border-color: var(--lightblue-primary) !important;
    box-shadow: 0 0 0 0.25rem var(--lightblue-shadow) !important;
}

.form-control-lightblue {
    border: 2px solid var(--lightblue-border);
    border-radius: 8px;
    padding: 0.625rem 0.75rem;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.5);
}

.form-control-lightblue:focus {
    border-color: var(--lightblue-primary);
    box-shadow: 0 0 0 0.2rem var(--lightblue-shadow);
    background-color: rgba(255, 255, 255, 0.9);
}

.form-select-lightblue {
    border: 2px solid var(--lightblue-border);
    border-radius: 8px;
    padding: 0.625rem 2.25rem 0.625rem 0.75rem;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.5);
}

.form-select-lightblue:focus {
    border-color: var(--lightblue-primary);
    box-shadow: 0 0 0 0.2rem var(--lightblue-shadow);
    background-color: rgba(255, 255, 255, 0.9);
}

select.light-input option {
    color: var(--text-main);
}

/* ========== FOOTER ========== */
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 4px 0;
}

.footer-links a:hover {
    color: var(--lightblue-primary);
    transform: translateX(5px);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(74, 144, 217, 0.1);
    color: var(--lightblue-primary);
    margin-right: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--lightblue-primary);
    color: #ffffff;
    transform: translateY(-3px);
}

/* ========== UTILITY CLASSES ========== */
.icon-link-hover:hover {
    transform: translateX(5px);
}

.icon-wrap-sm-40 {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.icon-wrap-border-purple {
    border: 1px solid var(--lightblue-border);
}

.contact-info-card {
    background: linear-gradient(135deg, var(--lightblue-primary-light) 0%, #e0f2fe 100%);
    border: 1px solid var(--lightblue-border);
}

.contact-icon-size {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
}

.contact-icon-purple-border {
    border: 1px solid var(--lightblue-border);
}

.blog-search-wrap {
    max-width: 300px;
    margin-left: auto;
}

@media (max-width: 767.98px) {
    .blog-search-wrap {
        max-width: 100%;
        margin-left: 0;
        margin-top: 1rem;
    }
}

.blog-card-img-wrap {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blog-card-img {
    height: 200px;
    object-fit: cover;
    opacity: 0.8;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--lightblue-border) !important;
    box-shadow: 0 10px 20px var(--lightblue-shadow-lg) !important;
}

/* ========== PAGINATION ========== */
.custom-pagination {
    --bs-pagination-bg: transparent;
    --bs-pagination-border-color: var(--lightblue-border);
    --bs-pagination-color: var(--lightblue-text-muted);
    --bs-pagination-hover-bg: rgba(74, 144, 217, 0.1);
    --bs-pagination-hover-color: var(--lightblue-primary);
}

.custom-pagination .page-item.active .page-link {
    --bs-pagination-active-bg: var(--lightblue-primary);
    --bs-pagination-active-border-color: var(--lightblue-primary);
    --bs-pagination-active-color: #ffffff;
}

.glow-bg-blur {
    opacity: 0.1;
    filter: blur(100px);
    z-index: 0;
}

.team-img-opacity {
    opacity: 0.85;
}

.timeline-line-dsk {
    z-index: 0;
    transform: translateY(-50%);
}

/* ========== BLUR BACKGROUND ========== */
.blur-bg {
    filter: blur(100px);
}
