/**
 * HanuPay - Mobile Recharge & Bill Payment
 * Advanced UI Main Stylesheet
 */

:root {
    /* Light Theme Colors */
    --light-bg: #f8f9fa;
    --light-text: #212529;
    --light-primary: #0d6efd;
    --light-secondary: #6c757d;
    --light-accent: #fd7e14;
    --light-card-bg: #ffffff;
    --light-border: #dee2e6;
    
    /* Dark Theme Colors - Enhanced */
    --dark-bg: #0f1219;
    --dark-text: #f8f9fa;
    --dark-primary: #4a7bff;
    --dark-secondary: #8d99ae;
    --dark-accent: #ff9e00;
    --dark-card-bg: #1a1f2b;
    --dark-border: #2a3042;
    
    /* Glass Morphism */
    --glass-bg: rgba(30, 39, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    
    /* Neumorphism */
    --neu-shadow-dark: 5px 5px 10px rgba(0, 0, 0, 0.5), -5px -5px 10px rgba(40, 50, 70, 0.1);
    --neu-shadow-light: 5px 5px 10px rgba(0, 0, 0, 0.05), -5px -5px 10px rgba(255, 255, 255, 0.8);
    
    /* Animation */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Base Styles */
body {
    font-family: 'Poppins', sans-serif;
    transition: background-color var(--transition-normal), color var(--transition-normal);
    overflow-x: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-accent);
}

/* Dark Mode Toggle */
.form-check-input[type="checkbox"] {
    height: 1.25rem;
    width: 2.5rem;
    border-radius: 1rem;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.form-check-input[type="checkbox"]:checked {
    background-color: var(--dark-primary);
    border-color: var(--dark-primary);
}

.form-check-input[type="checkbox"]:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--dark-primary-rgb), 0.25);
}

.form-check-input[type="checkbox"]::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(1.25rem - 6px);
    height: calc(1.25rem - 6px);
    border-radius: 50%;
    background-color: #fff;
    transition: all var(--transition-normal);
    transform: translateX(0);
}

.form-check-input[type="checkbox"]:checked::before {
    transform: translateX(1.25rem);
    background-color: #fff;
}

.form-check-label .fas {
    transition: all var(--transition-normal);
}

.form-check-input[type="checkbox"]:checked + .form-check-label .fas {
    color: var(--dark-primary);
}

/* Footer Styling */
.footer {
    background: linear-gradient(180deg, rgba(15, 18, 25, 0.9), rgba(21, 30, 51, 0.95));
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--dark-primary), transparent);
}

.footer-title {
    color: var(--dark-text);
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--dark-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--dark-text-muted);
    transition: all var(--transition-normal);
    text-decoration: none;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--dark-primary);
    opacity: 0;
    transition: all var(--transition-normal);
}

.footer-links a:hover {
    color: var(--dark-text);
    padding-left: 20px;
}

.footer-links a:hover::before {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--neu-bg-dark);
    color: var(--dark-text);
    transition: all var(--transition-normal);
    box-shadow: var(--neu-shadow-dark);
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--dark-primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.copyright {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--dark-text-muted);
    font-size: 0.9rem;
}

/* Dark Theme */
body.dark-theme {
    background-color: var(--dark-bg);
    color: var(--dark-text);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(74, 123, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 158, 0, 0.05) 0%, transparent 20%);
    background-attachment: fixed;
}

/* Glass Morphism Cards */
.dark-theme .card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.dark-theme .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Animated Icons */
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    background: var(--dark-card-bg);
    box-shadow: var(--neu-shadow-dark);
    transition: all var(--transition-normal);
}

.dark-theme .feature-icon {
    background: linear-gradient(145deg, #1e2739, #171e2f);
}

.feature-icon:hover {
    transform: rotate(10deg);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--dark-primary);
    transition: all var(--transition-normal);
}

.feature-icon:hover svg {
    transform: scale(1.2);
    color: var(--dark-accent);
}

.dark-theme .bg-light {
    background-color: var(--dark-card-bg) !important;
}

.dark-theme .text-dark {
    color: var(--dark-text) !important;
}

.dark-theme .border {
    border-color: var(--dark-border) !important;
}

/* Header Styles - Glass Morphism */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-dark {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: transform var(--transition-normal);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    transition: color var(--transition-normal);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--dark-primary);
    transition: width var(--transition-normal), left var(--transition-normal);
    box-shadow: 0 0 8px var(--dark-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    left: 0;
}

/* Hero Section - Modern Design */
.hero {
    background: linear-gradient(135deg, rgba(15, 18, 25, 0.9), rgba(26, 31, 43, 0.8)), url('../images/hero-bg.jpg') center/cover no-repeat;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(74, 123, 255, 0.3) 0%, transparent 50%);
    z-index: 0;
    animation: pulse 15s infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 158, 0, 0.2) 0%, transparent 50%);
    z-index: 0;
    animation: pulse 15s infinite alternate-reverse;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

/* Modern Button Styles */
.btn {
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width var(--transition-normal);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

/* Primary Button - Neumorphic */
.dark-theme .btn-primary {
    background: linear-gradient(145deg, var(--dark-primary), #3d6ad9);
    border: none;
    box-shadow: var(--neu-shadow-dark);
}

.dark-theme .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.dark-theme .btn-primary:active {
    transform: translateY(1px);
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.3), inset -2px -2px 5px rgba(255, 255, 255, 0.05);
}

/* Outline Button - Glass Morphism */
.dark-theme .btn-outline-light {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--dark-text);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.dark-theme .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

/* Form Controls - Modern Style */
.dark-theme .form-control,
.dark-theme .form-select {
    background: rgba(30, 39, 59, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--dark-text);
    padding: 0.8rem 1rem;
    transition: all var(--transition-normal);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.dark-theme .form-control:focus,
.dark-theme .form-select:focus {
    background: rgba(30, 39, 59, 0.7);
    border-color: var(--dark-primary);
    box-shadow: 0 0 0 0.25rem rgba(74, 123, 255, 0.25);
}

.dark-theme .form-label {
    color: var(--dark-text);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Card Hover Effects */
.card {
    transition: all var(--transition-normal);
    border-radius: 12px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
}

.card-img-top {
    transition: all var(--transition-normal);
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Animation Classes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
}

/* Hero Content Animation */
.hero-content.animated h1 {
    animation: slideInLeft 0.8s ease forwards;
}

.hero-content.animated p {
    animation: slideInLeft 1s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-content.animated .btn {
    animation: fadeIn 1.2s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-image.animated {
    animation: slideInRight 1s ease forwards;
}

/* Service Cards - Interactive */
.service-card {
    position: relative;
    z-index: 1;
    transition: all var(--transition-normal);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--dark-primary-rgb), 0.2), rgba(var(--dark-accent-rgb), 0.2));
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
    border-radius: 12px;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card .icon {
    transition: all var(--transition-normal);
}

.service-card:hover .icon {
    transform: scale(1.15) rotate(10deg);
}

/* Section Styles */
.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--dark-primary);
    border-radius: 3px;
}

.dark-theme .section-title::after {
    background: linear-gradient(90deg, var(--dark-primary), var(--dark-accent));
    box-shadow: 0 0 10px rgba(var(--dark-primary-rgb), 0.5);
}
    color: white;
    position: relative;
}

.dark-theme .hero {
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.9), rgba(58, 134, 255, 0.7)), url('../images/hero-bg.jpg') center/cover no-repeat;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-form {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Services Section */
.service-card {
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-primary);
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Features Section */
.feature-item {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: rgba(58, 134, 255, 0.1);
    color: var(--dark-primary);
    font-size: 2rem;
}

/* App Download Section */
.app-download {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    border-radius: 10px;
    overflow: hidden;
}

.app-download-content {
    padding: 50px 30px;
}

.app-download-img img {
    max-height: 400px;
    object-fit: contain;
}

.app-badge {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: transform 0.3s;
}

.app-badge:hover {
    transform: scale(1.05);
}

/* Testimonials */
.testimonial-card {
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
}

.testimonial-card .card-body {
    position: relative;
    padding-top: 60px;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid white;
}

.dark-theme .testimonial-avatar {
    border-color: var(--dark-card-bg);
}

.testimonial-quote {
    font-size: 4rem;
    position: absolute;
    top: 10px;
    right: 20px;
    opacity: 0.1;
}

/* Contact Form */
.contact-form {
    border-radius: 10px;
    overflow: hidden;
}

.contact-info-item {
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(58, 134, 255, 0.1);
    color: var(--dark-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 15px;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
}

.footer h5 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--dark-primary);
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    text-decoration: none;
    transition: padding-left 0.3s;
}

.footer ul li a:hover {
    padding-left: 5px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: background-color 0.3s, transform 0.3s;
}

.social-links a:hover {
    background-color: var(--dark-primary);
    transform: translateY(-3px);
}

/* Buttons */
.btn {
    border-radius: 5px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--dark-primary);
    border-color: var(--dark-primary);
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Cards */
.card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-form {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .app-download-img {
        display: none;
    }
    
    .app-download-content {
        text-align: center;
    }
}

/* Policy Pages */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-content p {
    margin-bottom: 1.5rem;
}

/* Advanced Team Section Styles */
.team-section {
    position: relative;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.02) 0%, rgba(253, 126, 20, 0.02) 100%);
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(74, 123, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 158, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.gradient-text {
    background: linear-gradient(135deg, var(--light-primary), var(--light-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--light-secondary);
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.8;
}

/* Team Card Design */
.team-card {
    height: 100%;
    perspective: 1000px;
    transition: transform var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card-inner {
    position: relative;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 1px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.team-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--light-primary), var(--light-accent));
    border-radius: 20px 20px 0 0;
}

.team-card:hover .team-card-inner {
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateZ(20px);
}

/* Team Image Styling */
.team-image-wrapper {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.team-image-container {
    position: relative;
    display: inline-block;
    width: 140px;
    height: 140px;
    margin: 0 auto;
}

.team-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid transparent;
    background: linear-gradient(45deg, var(--light-primary), var(--light-accent)) padding-box,
                linear-gradient(45deg, var(--light-primary), var(--light-accent)) border-box;
    transition: all var(--transition-normal);
    position: relative;
    z-index: 2;
}

.team-image-container::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(45deg, var(--light-primary), var(--light-accent));
    border-radius: 50%;
    opacity: 0;
    transition: all var(--transition-normal);
    z-index: 1;
    animation: pulse 2s infinite;
}

.team-card:hover .team-image-container::before {
    opacity: 0.3;
}

.team-card:hover .team-image {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Image Overlay and Social Icons */
.team-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-normal);
    z-index: 3;
}

.team-card:hover .team-image-overlay {
    opacity: 1;
}

.team-social-icons {
    display: flex;
    gap: 10px;
    transform: translateY(20px);
    transition: transform var(--transition-normal);
}

.team-card:hover .team-social-icons {
    transform: translateY(0);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
    position: relative;
}

.social-icon:hover {
    background: var(--light-primary);
    border-color: var(--light-primary);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-icon[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10;
}

/* Team Content */
.team-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.team-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 0.5rem;
    transition: color var(--transition-normal);
}

.team-position {
    font-size: 1rem;
    font-weight: 500;
    color: var(--light-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-bio {
    font-size: 0.9rem;
    color: var(--light-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Card Glow Effect */
.team-card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(74, 123, 255, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
    z-index: 1;
}

.team-card:hover .team-card-glow {
    opacity: 1;
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.1;
    }
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

/* Dark Theme Adjustments */
.dark-theme .team-section {
    background: linear-gradient(135deg, rgba(74, 123, 255, 0.05) 0%, rgba(255, 158, 0, 0.05) 100%);
}

.dark-theme .gradient-text {
    background: linear-gradient(135deg, var(--dark-primary), var(--dark-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-theme .section-subtitle {
    color: var(--dark-secondary);
}

.dark-theme .team-card-inner {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.dark-theme .team-card:hover .team-card-inner {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.dark-theme .team-name {
    color: var(--dark-text);
}

.dark-theme .team-position {
    color: var(--dark-primary);
}

.dark-theme .team-bio {
    color: var(--dark-secondary);
}

.dark-theme .team-card-glow {
    background: radial-gradient(circle, rgba(74, 123, 255, 0.2) 0%, transparent 70%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .gradient-text {
        font-size: 2rem;
    }
    
    .team-card-inner {
        padding: 1.5rem;
    }
    
    .team-image,
    .team-image-container {
        width: 120px;
        height: 120px;
    }
    
    .team-social-icons {
        gap: 8px;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
    }
}

/* Community Page */
.community-card {
    height: 100%;
}

.community-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Complaint Form */
.complaint-form {
    max-width: 800px;
    margin: 0 auto;
}

/* Services Page */
.service-filter {
    margin-bottom: 30px;
}

.filter-btn {
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 30px;
    padding: 8px 20px;
    transition: all 0.3s;
}

.filter-btn.active {
    background-color: var(--dark-primary);
    color: white;
}

/* Advanced Journey Section Styles */
.journey-section {
    position: relative;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.03) 0%, rgba(253, 126, 20, 0.03) 100%);
    overflow: hidden;
}

.journey-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(74, 123, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 158, 0, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.journey-title {
    background: linear-gradient(135deg, var(--light-primary), var(--light-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.journey-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--light-primary), var(--light-accent));
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(74, 123, 255, 0.4);
}

/* Advanced Timeline Design */
.advanced-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.advanced-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, 
        var(--light-primary) 0%, 
        var(--light-accent) 50%, 
        var(--light-primary) 100%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(74, 123, 255, 0.3);
    z-index: 1;
}

/* Timeline Item */
.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* Timeline Content */
.timeline-content {
    position: relative;
    width: 45%;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--light-primary), var(--light-accent));
    border-radius: 20px 20px 0 0;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-10px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Timeline Year Badge */
.timeline-year {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--light-primary), var(--light-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 0 0 8px rgba(255, 255, 255, 1),
        0 0 0 12px rgba(74, 123, 255, 0.2);
    z-index: 2;
    transition: all var(--transition-normal);
    animation: pulse 2s infinite;
}

.timeline-item:hover .timeline-year {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        0 0 0 8px rgba(255, 255, 255, 1),
        0 0 0 16px rgba(74, 123, 255, 0.3);
}

/* Timeline Content Text */
.timeline-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--light-primary), var(--light-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-description {
    color: var(--light-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Timeline Arrow */
.timeline-content::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::after {
    right: -30px;
    border-left-color: rgba(255, 255, 255, 0.95);
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -30px;
    border-right-color: rgba(255, 255, 255, 0.95);
}

/* Progress Indicator */
.timeline-progress {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, 
        rgba(74, 123, 255, 0.8) 0%, 
        rgba(255, 158, 0, 0.8) 100%);
    border-radius: 2px;
    transition: height 1s ease;
    z-index: 2;
}

/* Dark Theme Support */
.dark-theme .timeline-content {
    background: rgba(26, 31, 43, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-theme .timeline-title {
    color: var(--dark-text);
}

.dark-theme .timeline-description {
    color: var(--dark-secondary);
}

.dark-theme .timeline-year {
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 0 8px var(--dark-card-bg),
        0 0 0 12px rgba(74, 123, 255, 0.2);
}

.dark-theme .timeline-item:nth-child(odd) .timeline-content::after {
    border-left-color: rgba(26, 31, 43, 0.95);
}

.dark-theme .timeline-item:nth-child(even) .timeline-content::after {
    border-right-color: rgba(26, 31, 43, 0.95);
}

/* Responsive Design */
@media (max-width: 768px) {
    .journey-title {
        font-size: 2.2rem;
    }
    
    .advanced-timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        margin-bottom: 3rem;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
        padding: 1.5rem;
    }
    
    .timeline-year {
        left: 30px;
        width: 60px;
        height: 60px;
        font-size: 0.9rem;
    }
    
    .timeline-content::after {
        display: none;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 80px;
    }
}

@media (max-width: 480px) {
    .timeline-content {
        padding: 1.2rem;
    }
    
    .timeline-title {
        font-size: 1.3rem;
    }
    
    .timeline-year {
        width: 50px;
        height: 50px;
        font-size: 0.8rem;
    }
}

/* Utility Classes */
.section-padding {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100px;
    height: 3px;
    background-color: var(--dark-primary);
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}