/* Ultra-Premium Homepage Polish & Visual Enhancements (Lightweight Version) */
:root {
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #0ea5e9, #2563eb);
    --gradient-accent: linear-gradient(135deg, #f59e0b, #ea580c);
    --gradient-success: linear-gradient(135deg, #10b981, #059669);
    --gradient-dark: linear-gradient(135deg, #1e293b, #0f172a);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body.pattern-bg {
    background-color: #f8fafc;
}

/* Enhanced Glass Card (Optimized Frosted Effect) */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    border-radius: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    background: rgba(255, 255, 255, 1);
}

/* Service Cards (Smart Digital Services) */
.service-card {
    text-align: center;
    padding: 30px 20px !important;
    background: linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.9));
}

.service-card div:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 50%;
    margin-bottom: 15px !important;
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.1);
    transition: transform 0.2s;
}

.service-card:hover div:first-child {
    transform: scale(1.1);
}

/* Hero Section Parallax & Polish */
.hero-slider {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-slider .slide {
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease-in-out;
}

/* Replaced heavy backdrop filters with simple solid/semi-transparent overlay */
.hero-overlay {
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    letter-spacing: -1px;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 25px;
}

/* Animated Buttons */
.btn-gov {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.2s;
    background: var(--gradient-primary);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    color: white;
    box-shadow: 0 4px 6px rgba(14, 165, 233, 0.2);
    text-decoration: none;
    display: inline-block;
}

.btn-gov:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(14, 165, 233, 0.3);
}

/* Removed infinite float animation */
.floating-icon {
    transform: none;
}

/* Section Titles (Premium Gradient Text) */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--gradient-dark);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    width: 100%;
    font-family: 'Poppins', sans-serif;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Smooth Marquee (Pill Design) */
.marquee-container {
    transform: translateY(-50%);
    max-width: 1200px;
    margin: 0 auto;
}

.marquee-container .glass-card {
    padding: 8px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

/* Removed heavy pulse infinite animation */
.news-label {
    background: var(--gradient-accent);
    color: white;
    padding: 6px 20px;
    border-radius: 40px;
    font-weight: 700;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 0.9rem;
    z-index: 2;
}

marquee {
    font-weight: 500;
    font-size: 1rem;
    color: #334155;
    padding: 0 15px;
}

/* Scroll to Top Button */
#scrollTopBtn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1000;
}

#scrollTopBtn.visible {
    opacity: 1;
    transform: translateY(0);
}

#scrollTopBtn:hover {
    transform: translateY(-4px);
}

/* Media Queries */
@media (max-width: 900px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-slider {
        height: 60vh;
        min-height: 400px;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }
}