/* Global Styles */
:root {
    --primary-color: #0056b3;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: var(--dark-color);
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.brand-subtitle {
    font-size: 0.8rem;
    opacity: 0.8;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-icon {
    margin-right: 0.5rem;
}

/* Hero Slider */
.hero-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.slide-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.carousel-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 10;
}

.progress-bar {
    height: 100%;
    background: var(--primary-color);
    width: 0;
    transition: width 5s linear;
}

/* Impact Cards */
.impact-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

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

.impact-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--dark-color);
}

.impact-label {
    color: var(--secondary-color);
    margin: 0.5rem 0;
}

.impact-growth {
    color: var(--success-color);
    font-size: 0.9rem;
}

/* Story Cards */
.story-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.story-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.story-badge.citizen {
    background: var(--info-color);
    color: white;
}

.story-badge.government {
    background: var(--success-color);
    color: white;
}

.story-badge.corporate {
    background: var(--warning-color);
    color: white;
}

.story-metrics {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.metric {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

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

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.icon-wrapper i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Module Cards */
.module-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

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

.module-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.module-card ul li {
    padding: 0.5rem 0;
    color: var(--secondary-color);
}

/* Contact Section */
.contact-info {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
}

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

.footer-brand h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

.social-link:hover {
    background: var(--primary-color);
    color: white;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .navbar-nav {
        background: rgba(0, 0, 0, 0.9);
        padding: 1rem;
        border-radius: 8px;
    }
    
    .nav-buttons {
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .impact-card,
    .story-card,
    .feature-card,
    .module-card {
        margin-bottom: 1rem;
    }
    
    .footer-brand,
    .footer h5 {
        margin-bottom: 1.5rem;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 991px) {
    /* Navigation */
    .navbar {
        padding: 0.5rem 0;
    }

    .brand-container {
        gap: 0.5rem;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    .brand-title {
        font-size: 1.2rem;
    }

    .brand-subtitle {
        font-size: 0.7rem;
    }

    .nav-buttons {
        margin-top: 1rem;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    /* Hero Section */
    .hero-slide {
        height: auto;
        min-height: 100vh;
        padding: 6rem 0 3rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }

    .slide-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .slide-buttons .btn {
        width: 100%;
    }

    /* Impact Stats */
    .impact-stats {
        margin-top: 2rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-card h3 {
        font-size: 1.5rem;
    }

    .stat-card p {
        font-size: 0.9rem;
    }

    /* Feature Highlights */
    .feature-highlights {
        margin-top: 2rem;
    }

    .feature-highlights span {
        font-size: 0.9rem;
    }
}

@media (max-width: 767px) {
    /* Story Cards */
    .story-card {
        padding: 1.5rem;
    }

    .story-metrics {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Feature Cards */
    .feature-card {
        padding: 1.5rem;
    }

    /* Impact Cards */
    .impact-card {
        padding: 1.5rem;
    }

    .impact-icon {
        font-size: 2rem;
    }

    .impact-number {
        font-size: 1.5rem;
    }

    /* Stats Section */
    .stat-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 575px) {
    /* Navigation */
    .navbar-brand {
        max-width: 200px;
    }

    /* Hero Section */
    .display-4 {
        font-size: 1.75rem;
    }

    /* Impact Stats */
    .impact-stats {
        grid-template-columns: 1fr;
    }

    /* General Spacing */
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .mb-5 {
        margin-bottom: 3rem !important;
    }
}

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

[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

:root {
    --primary-color: #2C3E50;
    --secondary-color: #3498DB;
    --accent-color: #2ECC71;
    --text-color: #2C3E50;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-light {
    background: rgba(255, 255, 255, 0.9);
    border-color: transparent;
}

.btn-light:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* Navigation Styles */
.navbar {
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    background: rgba(44, 62, 80, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    padding: 0.3rem 0;
    background: rgba(44, 62, 80, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Brand Styles */
.brand-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.logo-icon i {
    font-size: 1.5rem;
    color: white;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: white;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Navigation Links */
.navbar-nav {
    gap: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: white !important;
    background: rgba(255, 255, 255, 0.15);
}

.nav-icon {
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* Dropdown Styles */
.dropdown-menu {
    background: rgba(44, 62, 80, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.dropdown-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* Action Buttons */
.nav-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-buttons .btn {
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-buttons .btn i {
    font-size: 0.875rem;
}

.register-btn {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.register-btn:hover {
    background: #27ae60;
    border-color: #27ae60;
    transform: translateY(-2px);
}

/* Notification Bar */
.notification-bar {
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    padding: 0.5rem 0;
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: white;
    font-size: 0.875rem;
}

.notification-text {
    font-weight: 500;
}

.notification-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.notification-link:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Hero Slider Styles */
#heroSlider {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.carousel-item {
    transition: transform 0.6s ease-in-out;
}

.hero-slide {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    opacity: 0;
    transition: all 0.3s ease;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-size: 100%;
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.5));
}

.carousel-indicators {
    margin-bottom: 2rem;
    gap: 8px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.carousel-item .container {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.slide-category {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-left: 4px solid #38ef7d;
    border-radius: 0 4px 4px 0;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-item h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.carousel-item .lead {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    max-width: 90%;
}

.slide-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.slide-buttons .btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.slide-buttons .btn-primary {
    background: linear-gradient(45deg, #38ef7d, #11998e);
    border: none;
    box-shadow: 0 4px 15px rgba(56, 239, 125, 0.3);
}

.slide-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 239, 125, 0.4);
}

.slide-buttons .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.slide-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.floating-stats,
.feature-cards,
.impact-stats,
.engagement-metrics,
.tech-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem;
    margin-top: 1rem;
}

.stat-card,
.feature-card,
.impact-card,
.metric-card,
.tech-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stat-card:hover,
.feature-card:hover,
.impact-card:hover,
.metric-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.stat-card h3,
.impact-card h3,
.metric-card h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #2ecc71, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-card p,
.impact-card p,
.metric-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card i,
.tech-card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2ecc71;
    filter: drop-shadow(0 2px 8px rgba(46, 204, 113, 0.4));
}

.feature-card h4,
.tech-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.carousel-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.carousel-progress-bar .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #2ecc71, #3498db);
    width: 0;
    transition: width 0.6s linear;
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.5);
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    opacity: 0;
    transition: all 0.3s ease;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: var(--secondary-color);
    background-size: 1.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.carousel-indicators {
    margin-bottom: 3rem;
    gap: 1rem;
}

.carousel-indicators [data-bs-target] {
    width: 3.5rem;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 2px;
    transition: all 0.3s ease;
    margin: 0;
}

.carousel-indicators .active {
    background: linear-gradient(90deg, #2ecc71, #3498db);
    transform: scaleX(1.5);
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.5);
}

.carousel-indicators {
    bottom: 2rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: #38ef7d;
    border-color: #38ef7d;
    transform: scale(1.2);
}

.carousel-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #38ef7d, #11998e);
    width: 0;
    transition: width 0.1s linear;
}

.display-4 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
}

.feature-card i,
.metric-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #38ef7d, #11998e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.floating-stats,
.feature-cards,
.impact-stats,
.corporate-metrics,
.impact-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card,
.feature-card,
.impact-card,
.metric-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stat-card:hover,
.feature-card:hover,
.impact-card:hover,
.metric-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.stat-card h3,
.impact-card h3,
.metric-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-card p,
.impact-card p,
.metric-card p {
    color: rgba(255, 255, 255, 1);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

.feature-highlights {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.feature-highlights:hover {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-highlights .fas.fa-check-circle {
    color: #2ECC71;
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.3);
    filter: drop-shadow(0 0 5px rgba(46, 204, 113, 0.4));
}

.feature-highlights span {
    color: rgba(255, 255, 255, 1);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Carousel Controls and Indicators */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--secondary-color);
    background-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.carousel-indicators {
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    border: 2px solid white;
    opacity: 0.5;
    transition: all 0.3s ease;
    margin: 0 4px;
}

.carousel-indicators .active {
    opacity: 1;
    transform: scale(1.2);
    background-color: var(--accent-color);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .carousel-item h1 {
        font-size: 3rem;
    }
    
    .carousel-item .lead {
        font-size: 1.15rem;
    }
}

@media (max-width: 991px) {
    .carousel-item h1 {
        font-size: 2.5rem;
    }
    
    .floating-stats,
    .feature-cards,
    .impact-stats,
    .engagement-metrics,
    .tech-features {
        margin-top: 2rem;
        gap: 1rem;
    }
    
    .stat-card h3,
    .impact-card h3,
    .metric-card h3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .carousel-item h1 {
        font-size: 2rem;
    }
    
    .carousel-item .lead {
        font-size: 1rem;
    }
    
    .slide-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .slide-buttons .btn {
        width: 100%;
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .stat-card h3,
    .impact-card h3 {
        font-size: 2rem;
    }
    
    .floating-stats,
    .feature-cards,
    .impact-stats {
        grid-template-columns: 1fr;
    }
}

/* Process Cards */
.process-card {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

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

.process-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border-radius: 50%;
}

.process-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.process-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Impact Cards */
.impact-card {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

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

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

.impact-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.impact-label {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.impact-growth {
    color: var(--accent-color);
    font-weight: 500;
}

/* Story Cards */
.story-card {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
}

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

.story-badge {
    position: absolute;
    top: -10px;
    left: 20px;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
}

.story-badge.citizen {
    background: var(--secondary-color);
}

.story-badge.government {
    background: var(--accent-color);
}

.story-badge.corporate {
    background: var(--primary-color);
}

.story-metrics {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
}

.metric {
    display: flex;
    align-items: center;
    color: var(--dark-gray);
}

.metric i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

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

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar {
    animation: slideDown 0.5s ease;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .carousel-caption p {
        font-size: 1.1rem;
    }
    
    .process-card, .impact-card, .story-card {
        margin-bottom: 2rem;
    }
    
    .navbar-collapse {
        background: rgba(44, 62, 80, 0.98);
        margin: 1rem -1rem -0.5rem;
        padding: 1rem;
        border-radius: 12px;
    }

    .nav-buttons {
        margin-top: 1rem;
        justify-content: center;
    }

    .brand-subtitle {
        display: none;
    }

    .notification-bar {
        position: relative;
        bottom: 0;
    }
}

@media (max-width: 767.98px) {
    .carousel-caption {
        bottom: 20%;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
    }
    
    .impact-number {
        font-size: 2rem;
    }
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-heading {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: white;
    text-decoration: none;
}

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

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

/* Background Styles */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.animated-bg {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: shapeFloat 20s infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    left: -50px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    top: 50%;
    right: -100px;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 50%;
    animation-delay: -10s;
}

/* Slide-specific colors */
.slide-1 .shape-1 { background: #4A90E2; }
.slide-1 .shape-2 { background: #357ABD; }
.slide-1 .shape-3 { background: #2C3E50; }

.slide-2 .shape-1 { background: #27AE60; }
.slide-2 .shape-2 { background: #2ECC71; }
.slide-2 .shape-3 { background: #218C53; }

.slide-3 .shape-1 { background: #8E44AD; }
.slide-3 .shape-2 { background: #9B59B6; }
.slide-3 .shape-3 { background: #6C3483; }

.slide-4 .shape-1 { background: #E74C3C; }
.slide-4 .shape-2 { background: #C0392B; }
.slide-4 .shape-3 { background: #922B21; }

@keyframes shapeFloat {
    from { transform: translate(0, 0) rotate(0deg); }
    to { transform: translate(0, 0) rotate(360deg); }
}

.slide-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

/* Content Wrapper */
.slide-content-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 5%;
    z-index: 3;
}

.slide-content {
    flex: 1;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideContent 0.8s forwards;
}

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

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-badge i {
    margin-right: 8px;
    font-size: 1.1em;
}

/* Slide Title */
.slide-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
}

.text-highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary-color);
    opacity: 0.3;
    transform: skewX(-15deg);
}

.title-decoration {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin-top: 1rem;
    position: relative;
}

.title-decoration::after {
    content: '';
    position: absolute;
    right: 0;
    top: 8px;
    width: 40px;
    height: 4px;
    background: var(--primary-color);
    opacity: 0.5;
}

/* Slide Description */
.slide-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn i {
    margin-right: 8px;
    font-size: 1.1em;
}

.btn-glow {
    animation: buttonGlow 2s infinite;
}

@keyframes buttonGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.4); }
    50% { box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.6); }
}

.btn-hover-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.btn-hover-slide:hover::before {
    left: 0;
}

/* Features List */
.slide-features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.feature i {
    color: var(--primary-color);
}

/* Slide Image */
.slide-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.image-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.float-item {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s infinite;
}

.float-item i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.item-1 { top: 20%; left: 20%; animation-delay: 0s; }
.item-2 { top: 50%; right: 20%; animation-delay: -2s; }
.item-3 { bottom: 20%; left: 40%; animation-delay: -4s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-10px, -10px); }
    50% { transform: translate(10px, -5px); }
    75% { transform: translate(-5px, 10px); }
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: all 0.3s ease;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 0.8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    background-size: 50%;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.carousel-indicators {
    margin-bottom: 2rem;
    gap: 1rem;
}

.carousel-indicators [data-bs-target] {
    width: auto;
    height: auto;
    padding: 8px 16px;
    margin: 0;
    text-indent: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    opacity: 0.7;
    transition: all 0.3s ease;
    position: relative;
}

.carousel-indicators .active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.indicator-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #fff;
}

/* Feature highlights styles */
.feature-highlights {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-highlights .fas.fa-check-circle {
    color: #2ECC71;
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.3);
    filter: drop-shadow(0 0 5px rgba(46, 204, 113, 0.4));
}

.feature-highlights span {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

/* Update stat card icons */
.stat-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #3498db, #2c3e50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-3 .stat-card {
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.slide-3 .stat-card:hover {
    border-color: rgba(52, 152, 219, 0.4);
    background: rgba(52, 152, 219, 0.1);
}

/* Common feature highlights styles */
.feature-highlights {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1.5rem;
}

.feature-highlights .fas.fa-check-circle {
    color: #2ecc71;
    font-size: 1.2rem;
    margin-right: 0.75rem;
}

.feature-highlights span {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Enhanced stat card styles */
.stat-card {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.stat-card i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-card p {
    color: rgba(255, 255, 255, 1);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

.feature-highlights {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.feature-highlights:hover {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-highlights .fas.fa-check-circle {
    color: #2ECC71;
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.3);
    filter: drop-shadow(0 0 5px rgba(46, 204, 113, 0.4));
}

.feature-highlights span {
    color: rgba(255, 255, 255, 1);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Professional button styles */
.btn-primary {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 30px;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Enhanced text visibility */
.slide-content h2 {
    color: #FFFFFF;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.slide-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.slide-category {
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-left: 1rem;
    color: rgba(255, 255, 255, 0.95);
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Apply animations to elements */
.carousel-item.active .slide-category {
    animation: fadeInUp 0.6s ease-out forwards;
}

.carousel-item.active .slide-content h2 {
    animation: fadeInUp 0.6s ease-out 0.2s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

.carousel-item.active .slide-content p {
    animation: fadeInUp 0.6s ease-out 0.4s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

.carousel-item.active .stat-card {
    animation: scaleIn 0.6s ease-out 0.6s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

.carousel-item.active .feature-highlights {
    animation: slideInRight 0.6s ease-out 0.8s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

.carousel-item.active .btn-primary,
.carousel-item.active .btn-outline-light {
    animation: fadeInUp 0.6s ease-out 1s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Enhanced gradient animations */
.slide-1, .slide-2, .slide-3, .slide-4, .slide-5 {
    background-size: 200% 200%;
    animation: gradientFlow 15s ease infinite;
}

/* Smooth hover transitions */
.stat-card {
    transition-property: background-color, border-color, box-shadow, transform, opacity;
    transition-duration: 0.4s;
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.feature-highlights {
    transition-property: background-color, border-color, box-shadow, transform, opacity;
    transition-duration: 0.4s;
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-highlights:hover {
    transform: translateY(-3px);
}

/* Button animations */
.btn-primary, .btn-outline-light {
    transition-property: background-color, border-color, box-shadow, transform, opacity;
    transition-duration: 0.4s;
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary:after, .btn-outline-light:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-primary:hover:after, .btn-outline-light:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Icon animations */
.stat-card i {
    transition-property: transform, opacity;
    transition-duration: 0.4s;
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

.stat-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

.feature-highlights .fas.fa-check-circle {
    transition-property: transform, opacity;
    transition-duration: 0.4s;
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-highlights:hover .fas.fa-check-circle {
    transform: scale(1.1);
}

/* Smooth carousel transitions */
.carousel-item {
    transition-property: transform;
    transition-duration: 0.8s;
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Loading animation for statistics */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card h3 {
    animation: countUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* Enhanced focus states */
.btn-primary:focus, .btn-outline-light:focus {
    animation: pulse 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Smooth transition for all interactive elements */
* {
    transition-property: background-color, border-color, box-shadow, transform, opacity;
    transition-duration: 0.4s;
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Enhanced Icon Visibility */
.stat-card i {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

/* Slide-specific icon colors */
.slide-1 .stat-card i {
    background: linear-gradient(45deg, #4FB4FF, #2196F3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(79, 180, 255, 0.5));
}

.slide-2 .stat-card i {
    background: linear-gradient(45deg, #4CAF50, #2C5F2D);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(76, 175, 80, 0.5));
}

.slide-3 .stat-card i {
    background: linear-gradient(45deg, #5C7A99, #34495E);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(92, 122, 153, 0.5));
}

.slide-4 .stat-card i {
    background: linear-gradient(45deg, #FF5252, #FF8A80);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(255, 82, 82, 0.5));
}

.slide-5 .stat-card i {
    background: linear-gradient(45deg, #FFA726, #FFD54F);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(255, 167, 38, 0.5));
}

/* Feature highlights icons */
.feature-highlights .fas.fa-check-circle {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #4CAF50;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.6);
    filter: drop-shadow(0 0 5px rgba(76, 175, 80, 0.4));
}

/* Hover Effects */
.stat-card:hover i {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.7));
}

.feature-highlights:hover .fas.fa-check-circle {
    transform: scale(1.1);
    color: #69F0AE;
    text-shadow: 0 0 15px rgba(76, 175, 80, 0.8);
}

/* Icon backgrounds */
.stat-card i {
    padding: 1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 0 15px rgba(255, 255, 255, 0.1);
}

.stat-card:hover i {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Feature highlight icon backgrounds */
.feature-highlights .fas.fa-check-circle {
    display: inline-block;
    padding: 0.8rem;
    border-radius: 50%;
    background: rgba(76, 175, 80, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 
        0 4px 15px rgba(76, 175, 80, 0.1),
        inset 0 0 15px rgba(76, 175, 80, 0.1);
}

.feature-highlights:hover .fas.fa-check-circle {
    background: rgba(76, 175, 80, 0.15);
    box-shadow: 
        0 8px 25px rgba(76, 175, 80, 0.15),
        inset 0 0 20px rgba(76, 175, 80, 0.2);
}

/* Professional Icon Styles */
.stat-card i {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    padding: 1.2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

/* Content-specific icon colors */
/* Users & Community */
.stat-card i.fa-users {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    box-shadow: 
        0 4px 20px rgba(33, 150, 243, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Analytics & Growth */
.stat-card i.fa-chart-line {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    box-shadow: 
        0 4px 20px rgba(76, 175, 80, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Security & Protection */
.stat-card i.fa-shield-alt {
    background: linear-gradient(135deg, #5C6BC0 0%, #3949AB 100%);
    box-shadow: 
        0 4px 20px rgba(92, 107, 192, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Global Network */
.stat-card i.fa-globe {
    background: linear-gradient(135deg, #26A69A 0%, #00897B 100%);
    box-shadow: 
        0 4px 20px rgba(38, 166, 154, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Innovation & Technology */
.stat-card i.fa-lightbulb {
    background: linear-gradient(135deg, #FF7043 0%, #F4511E 100%);
    box-shadow: 
        0 4px 20px rgba(255, 112, 67, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Feature highlight icons - Professional style */
.feature-highlights .fas.fa-check-circle {
    font-size: 1.2rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    background: linear-gradient(135deg, #66BB6A 0%, #43A047 100%);
    color: #fff;
    border-radius: 8px;
    box-shadow: 
        0 4px 12px rgba(102, 187, 106, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Hover Effects */
.stat-card:hover i {
    transform: translateY(-3px);
    box-shadow: 
        0 6px 25px rgba(0, 0, 0, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.feature-highlights:hover .fas.fa-check-circle {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 15px rgba(102, 187, 106, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Icon Layout */
.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

.feature-highlights {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-highlights:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* Ensure crisp icons */
.fas {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Mobile Hero Slider Styles */
.mobile-hero-slide {
    position: relative;
    height: 85vh;
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.mobile-slide-content {
    padding: 2rem 1rem;
    color: white;
    max-width: 100%;
    z-index: 2;
}

.mobile-slide-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.mobile-slide-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.mobile-slide-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.mobile-slide-actions .btn {
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
}

#mobileHeroSlider .carousel-indicators {
    margin-bottom: 1rem;
    gap: 8px;
}

#mobileHeroSlider .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 4px;
    transition: all 0.3s ease;
}

#mobileHeroSlider .carousel-indicators button.active {
    background-color: white;
    transform: scale(1.2);
}

#mobileHeroSlider .carousel-control-prev,
#mobileHeroSlider .carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 1rem;
    opacity: 1;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#mobileHeroSlider .carousel-control-prev-icon,
#mobileHeroSlider .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Mobile Slide Backgrounds */
#mobileHeroSlider .carousel-item:nth-child(1) .mobile-hero-slide {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
}

#mobileHeroSlider .carousel-item:nth-child(2) .mobile-hero-slide {
    background: linear-gradient(135deg, #004d40 0%, #00695c 100%);
}

#mobileHeroSlider .carousel-item:nth-child(3) .mobile-hero-slide {
    background: linear-gradient(135deg, #0277bd 0%, #039be5 100%);
}

/* Mobile Slide Animations */
#mobileHeroSlider .carousel-item {
    transition: transform 0.5s ease-in-out;
}

#mobileHeroSlider .mobile-slide-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out 0.2s;
}

#mobileHeroSlider .carousel-item.active .mobile-slide-content {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 576px) {
    .mobile-hero-slide {
        height: 75vh;
    }

    .mobile-slide-content h2 {
        font-size: 1.5rem;
    }

    .mobile-slide-content p {
        font-size: 0.9rem;
    }

    .mobile-slide-actions .btn {
        padding: 0.4rem 1rem;
        font-size: 0.875rem;
    }
}

/* Mobile Hero Slider Enhancements */
#mobileHeroSlider {
    position: relative;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

#mobileHeroSlider .mobile-hero-slide {
    position: relative;
    min-height: 100vh;
    padding: 4rem 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

#mobileHeroSlider .mobile-hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

#mobileHeroSlider .slide-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#mobileHeroSlider .mobile-slide-content {
    position: relative;
    padding: 1.5rem;
    color: white;
    max-width: 100%;
    z-index: 2;
}

#mobileHeroSlider .mobile-slide-content::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

#mobileHeroSlider .mobile-slide-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to right, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

#mobileHeroSlider .mobile-slide-content p {
    font-size: 1.1rem;
    margin-bottom: 1.75rem;
    opacity: 0.95;
    line-height: 1.5;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

#mobileHeroSlider .mobile-slide-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

#mobileHeroSlider .mobile-slide-actions .btn {
    padding: 0.6rem 1.25rem;
    font-weight: 500;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

#mobileHeroSlider .impact-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

#mobileHeroSlider .stat-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: blur(5px);
}

#mobileHeroSlider .stat-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#mobileHeroSlider .stat-card p {
    font-size: 0.875rem;
    margin: 0;
    opacity: 0.9;
}

#mobileHeroSlider .feature-highlights {
    margin-top: 1.5rem;
}

#mobileHeroSlider .highlight-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

#mobileHeroSlider .highlight-item i {
    color: #2ECC71;
    font-size: 1rem;
}

#mobileHeroSlider .highlight-item span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile Slide Background Colors */
#mobileHeroSlider .slide-1 {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%),
                radial-gradient(circle at top right, rgba(255,255,255,0.1) 0%, transparent 60%);
}

#mobileHeroSlider .slide-2 {
    background: linear-gradient(135deg, #004d40 0%, #00695c 100%),
                radial-gradient(circle at top left, rgba(255,255,255,0.1) 0%, transparent 60%);
}

#mobileHeroSlider .slide-3 {
    background: linear-gradient(135deg, #0277bd 0%, #039be5 100%),
                radial-gradient(circle at bottom right, rgba(255,255,255,0.1) 0%, transparent 60%);
}

#mobileHeroSlider .slide-4 {
    background: linear-gradient(135deg, #ef6c00 0%, #f57c00 100%),
                radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 60%);
}

#mobileHeroSlider .slide-5 {
    background: linear-gradient(135deg, #c2185b 0%, #e91e63 100%),
                radial-gradient(circle at bottom left, rgba(255,255,255,0.1) 0%, transparent 60%);
}

/* Enhanced Carousel Controls */
#mobileHeroSlider .carousel-indicators {
    margin-bottom: 2rem;
    gap: 10px;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
}

#mobileHeroSlider .carousel-indicators button {
    width: 25px;
    height: 3px;
    border-radius: 1.5px;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    opacity: 1;
    margin: 0;
    padding: 0;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

#mobileHeroSlider .carousel-indicators button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    transform: translateX(-100%);
    transition: transform 5s linear;
}

#mobileHeroSlider .carousel-indicators button.active {
    background-color: rgba(255, 255, 255, 0.6);
    width: 35px;
}

#mobileHeroSlider .carousel-indicators button.active::after {
    transform: translateX(0);
    animation: mobileIndicatorProgress 5s linear;
}

#mobileHeroSlider .carousel-indicators button:not(.active) {
    cursor: pointer;
}

#mobileHeroSlider .carousel-indicators button:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.5);
    width: 30px;
}

/* Progress animation for active mobile indicator */
@keyframes mobileIndicatorProgress {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Add glow effect on active mobile indicator */
#mobileHeroSlider .carousel-indicators button.active {
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Additional mobile-specific adjustments */
@media (max-width: 576px) {
    #mobileHeroSlider .carousel-indicators {
        margin-bottom: 1.5rem;
        gap: 8px;
    }

    #mobileHeroSlider .carousel-indicators button {
        width: 20px;
        height: 2.5px;
    }

    #mobileHeroSlider .carousel-indicators button.active {
        width: 30px;
    }

    #mobileHeroSlider .carousel-indicators button:hover:not(.active) {
        width: 25px;
    }
}

/* Mobile Hero Slider Navigation Controls */
#mobileHeroSlider .carousel-control-prev,
#mobileHeroSlider .carousel-control-next {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 0.5rem;
    opacity: 1;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#mobileHeroSlider .carousel-control-prev:hover,
#mobileHeroSlider .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-50%) scale(1.1);
}

#mobileHeroSlider .carousel-control-prev-icon,
#mobileHeroSlider .carousel-control-next-icon {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

#mobileHeroSlider .carousel-control-prev {
    left: 5px;
}

#mobileHeroSlider .carousel-control-next {
    right: 5px;
}

/* Professional Slide Colors */
.slide-1 {
    background: linear-gradient(135deg, #1E3D59 0%, #2E5C88 100%);
}

.slide-1 .stat-card i,
.slide-1 .feature-card i {
    background: linear-gradient(45deg, #4A90E2, #1E3D59);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-1 .slide-category {
    border-left: 4px solid #4A90E2;
}

.slide-1 .btn-primary {
    background: linear-gradient(45deg, #4A90E2, #1E3D59);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.slide-2 {
    background: linear-gradient(135deg, #2C5F2D 0%, #4CAF50 100%);
}

.slide-2 .stat-card i,
.slide-2 .feature-card i {
    background: linear-gradient(45deg, #4CAF50, #2C5F2D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-2 .slide-category {
    border-left: 4px solid #4CAF50;
}

.slide-2 .btn-primary {
    background: linear-gradient(45deg, #4CAF50, #2C5F2D);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.slide-3 {
    background: linear-gradient(135deg, #34495E 0%, #415B76 100%);
}

.slide-3 .stat-card i,
.slide-3 .feature-card i {
    background: linear-gradient(45deg, #5C7A99, #34495E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-3 .slide-category {
    border-left: 4px solid #5C7A99;
}

.slide-3 .btn-primary {
    background: linear-gradient(45deg, #5C7A99, #34495E);
    box-shadow: 0 4px 15px rgba(92, 122, 153, 0.3);
}

.slide-4 {
    background: linear-gradient(135deg, #C23616 0%, #E84118 100%);
}

.slide-4 .stat-card i,
.slide-4 .feature-card i {
    background: linear-gradient(45deg, #E84118, #C23616);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-4 .slide-category {
    border-left: 4px solid #E84118;
}

.slide-4 .btn-primary {
    background: linear-gradient(45deg, #E84118, #C23616);
    box-shadow: 0 4px 15px rgba(232, 65, 24, 0.3);
}

.slide-5 {
    background: linear-gradient(135deg, #5D4037 0%, #795548 100%);
}

.slide-5 .stat-card i,
.slide-5 .feature-card i {
    background: linear-gradient(45deg, #795548, #5D4037);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-5 .slide-category {
    border-left: 4px solid #795548;
}

.slide-5 .btn-primary {
    background: linear-gradient(45deg, #795548, #5D4037);
    box-shadow: 0 4px 15px rgba(121, 85, 72, 0.3);
}

/* Mobile Hero Slider Indicators Matching Desktop Design */
#mobileHeroSlider .carousel-indicators {
    margin-bottom: 2.5rem;
    gap: 12px;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
}

#mobileHeroSlider .carousel-indicators button {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    opacity: 1;
    margin: 0;
    padding: 0;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

#mobileHeroSlider .carousel-indicators button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    transform: translateX(-100%);
    transition: transform 5s linear;
}

#mobileHeroSlider .carousel-indicators button.active {
    background-color: rgba(255, 255, 255, 0.6);
    width: 40px;
}

#mobileHeroSlider .carousel-indicators button.active::after {
    transform: translateX(0);
    animation: mobileIndicatorProgress 5s linear;
}

#mobileHeroSlider .carousel-indicators button:not(.active) {
    cursor: pointer;
}

#mobileHeroSlider .carousel-indicators button:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.5);
    width: 35px;
}

/* Progress animation for active mobile indicator */
@keyframes mobileIndicatorProgress {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Add glow effect on active mobile indicator */
#mobileHeroSlider .carousel-indicators button.active {
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Responsive adjustments */
@media (max-width: 576px) {
    #mobileHeroSlider .carousel-indicators {
        margin-bottom: 1.5rem;
        gap: 8px;
    }

    #mobileHeroSlider .carousel-indicators button {
        width: 25px;
        height: 3px;
    }

    #mobileHeroSlider .carousel-indicators button.active {
        width: 35px;
    }

    #mobileHeroSlider .carousel-indicators button:hover:not(.active) {
        width: 30px;
    }
}

/* Enhanced Desktop Hero Slider Indicators */
#heroSlider .carousel-indicators {
    margin-bottom: 2.5rem;
    gap: 12px;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
}

#heroSlider .carousel-indicators button {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.7);
    opacity: 1;
    margin: 0;
    padding: 0;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

#heroSlider .carousel-indicators button:hover {
    background-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

#heroSlider .carousel-indicators button.active {
    background-color: rgba(255, 255, 255, 0.8);
    width: 40px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

#heroSlider .carousel-indicators button.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    transform: translateX(0);
    transition: transform 5s linear;
}

#heroSlider .carousel-indicators button:not(.active) {
    cursor: pointer;
}

#heroSlider .carousel-indicators button:not(.active):hover {
    background-color: rgba(255, 255, 255, 0.5);
    width: 35px;
}

/* Progress animation for active indicator */
@keyframes indicatorProgress {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

#heroSlider .carousel-indicators button.active::after {
    animation: indicatorProgress 5s linear;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #heroSlider .carousel-indicators {
        margin-bottom: 2rem;
        gap: 8px;
    }

    #heroSlider .carousel-indicators button {
        width: 25px;
        height: 3px;
    }

    #heroSlider .carousel-indicators button.active {
        width: 35px;
    }

    #heroSlider .carousel-indicators button:hover:not(.active) {
        width: 30px;
    }
}

/* Enhanced styles for the light and dark toggle button */
#theme-toggle {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.8);
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

#theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
}

#theme-toggle:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Dark mode styles */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

body.dark-mode .navbar {
    background-color: rgba(0, 0, 0, 0.9);
}

body.dark-mode .navbar.scrolled {
    background-color: #1f1f1f;
}

body.dark-mode .btn-primary {
    background-color: #bb86fc;
    border-color: #bb86fc;
}

body.dark-mode .btn-primary:hover {
    background-color: #3700b3;
}

body.dark-mode .btn-outline-light {
    color: #bb86fc;
    border-color: #bb86fc;
}

body.dark-mode .btn-outline-light:hover {
    background-color: rgba(187, 134, 252, 0.1);
}

body.dark-mode .carousel-control-prev-icon,
body.dark-mode .carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.5);
}

body.dark-mode .carousel-indicators button {
    background-color: rgba(255, 255, 255, 0.3);
}

body.dark-mode .carousel-indicators button.active {
    background-color: rgba(255, 255, 255, 0.6);
}

/* Additional dark theme styles for text and links */
body.dark-mode a {
    color: #bb86fc;
}

body.dark-mode a:hover {
    color: #ffffff;
}

body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 {
    color: #ffffff;
}

/* Adjustments for forms and inputs */
body.dark-mode input, body.dark-mode textarea {
    background-color: #1e1e1e;
    color: #ffffff;
    border: 1px solid #333;
}

body.dark-mode input:focus, body.dark-mode textarea:focus {
    border-color: #bb86fc;
    outline: none;
}

.login-section,
.register-section {
    min-height: 100vh; /* Ensures full viewport height */
    display: flex;
    align-items: center;
    justify-content: center; /* Centers the form */
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}
