/* White navbar theme with blue border and blue hover boxes */
.navbar-white {
    background: #ffffff !important;
    border-bottom: 2px solid #3498db;
}

.navbar-white .navbar-brand,
.navbar-white .navbar-nav .nav-link {
    color: #2c3e50 !important;
}

.navbar-white .navbar-nav .nav-link:hover {
    color: #ffffff !important;
    background-color: #3498db;
    border-radius: 6px;
}

.navbar-white .dropdown-menu {
    border: 1px solid #e3f2fd;
}

.navbar-white .dropdown-item:hover {
    background-color: #3498db;
    color: #ffffff;
}

/* Keep sticky scrolled state visually consistent */
.navbar-white.navbar-scroll {
    background: #ffffff !important;
    border-bottom-color: #2c7acb;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Professional Website Design - Modern & Responsive */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Open+Sans:wght@300;400;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
}

/* Modern Background with Gradient */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    animation: backgroundShift 20s ease-in-out infinite;
}

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

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #2980b9;
    --text-color: #2c3e50;
    --light-bg: #f8f9fa;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding-top: 80px;
    color: #333;
}

.container {
    max-width: 1450px;
    margin: 0 auto;
}

.navbar {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1rem;
    background: rgba(0, 0, 0, 0.6);
}

.navbar-custom {
    background: #ffffff !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 1000;
    border-bottom: 3px solid var(--secondary-color);
}

.navbar-custom .navbar-brand {
    color: var(--text-color) !important;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.navbar-custom .navbar-brand img {
    height: 50px;
    transition: var(--transition);
    margin-right: 10px;
}

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

.navbar-custom .navbar-nav .nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    position: relative;
    transition: var(--transition);
    border-radius: 4px;
    margin: 0 5px;
}

.navbar-custom .navbar-nav .nav-link:hover {
    color: #ffffff !important;
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.navbar-custom .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar-custom .navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar-custom .dropdown-menu {
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.navbar-custom .dropdown-item {
    color: var(--text-color);
    font-weight: 400;
    transition: var(--transition);
}

.navbar-custom .dropdown-item:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Fix for navbar hover states */
.navbar-custom.navbar-white .navbar-nav .nav-link:hover {
    color: #ffffff !important;
    background-color: #3498db !important;
    transform: translateY(-2px);
}

.navbar-custom.navbar-white .navbar-nav .nav-link {
    color: #2c3e50 !important;
}

.navbar-custom.navbar-white .dropdown-item:hover {
    background-color: #3498db !important;
    color: #ffffff !important;
}

.navbar-custom.navbar-white .dropdown-item {
    color: #2c3e50 !important;
}

/* Home dropdown specific styles - FIXED FOR MOBILE */
.home-dropdown-container {
    position: relative;
}

.home-dropdown-container .nav-link.home-main {
    padding-right: 5px !important;
}

.home-dropdown-container .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: block;
}

.home-dropdown-container:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.reg-nav-btn {
    background: var(--secondary-color);
    color: white !important;
    border-radius: 30px;
    padding: 3px 12px !important;
    font-weight: 400;
    transition: var(--transition);
    border: 2px solid var(--secondary-color);
}

.reg-nav-btn:hover {
    background: transparent;
    color: var(--secondary-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* Hamburger Menu Styling */
.navbar-toggler {
    border: 2px solid #3498db;
    border-radius: 5px;
    padding: 8px 10px;
    background-color: transparent;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(52, 152, 219, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 28px;
    height: 28px;
}

.navbar-toggler:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

/* Dropdown Menu Styling */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-top: 0.5rem;
    padding: 0.9rem 0;
}

.dropdown-item {
    color: var(--text-dark);
    padding: 0.7rem 1.5rem;
    transition: var(--transition);
    font-weight: 400;
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateX(5px);
}

/* ========== MOBILE RESPONSIVENESS FIX ========== */
@media (max-width: 991px) {
    /* Fix navbar collapse spacing */
    .navbar-collapse {
        background-color: white;
        padding: 1rem !important;
        margin-top: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        border: 1px solid #e9ecef;
    }

    /* Remove extra spacing from nav items */
    .navbar-nav {
        padding: 0 !important;
    }

    .nav-item {
        margin: 0 !important;
        width: 100%;
    }

    /* Fix nav link spacing */
    .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 2px 0 !important;
        border-radius: 6px;
        display: block;
        width: 100%;
    }

    /* Home dropdown specific mobile fixes */
    .home-dropdown-container {
        display: block;
        width: 100%;
    }

    .home-dropdown-container .nav-link.home-main {
        width: 100%;
        margin: 2px 0 !important;
    }

    /* Dropdown menu mobile styling */
    .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin: 5px 0 0 0 !important;
        border: 1px solid #e9ecef !important;
        box-shadow: none !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none !important;
        background-color: #f8f9fa;
    }

    .dropdown-menu.show {
        display: block !important;
    }

    /* Dropdown items mobile styling */
    .dropdown-item {
        padding: 0.6rem 1.5rem !important;
        border-left: 3px solid transparent;
        margin: 1px 0;
    }

    .dropdown-item:hover {
        border-left-color: #3498db;
        transform: none !important;
    }

    /* Remove hover effects for mobile - use active states instead */
    .navbar-custom .navbar-nav .nav-link:hover {
        transform: none !important;
    }

    .nav-link:hover::after {
        width: 0 !important;
    }

    /* WhatsApp button mobile fix */
    .whatsapp-btn {
        width: 100%;
        text-align: center;
        margin: 5px 0 !important;
        justify-content: center;
    }
}

/* Additional fix for very small screens */
@media (max-width: 576px) {
    .navbar-collapse {
        padding: 0.75rem !important;
    }
    
    .nav-link {
        padding: 0.6rem 0.8rem !important;
        font-size: 0.9rem;
    }
    
    .dropdown-item {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem;
    }
}

.dropdown-item:hover {
    background-color: #3498db;
    color: white;
}

/* Mobile responsiveness */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: white;
        padding: 0;
        margin-top: 0.5rem;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .navbar-nav {
        padding: 0.5rem 0;
    }

    .nav-item {
        margin: 0;
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
    }

    .dropdown-menu {
        margin-top: 0;
        border-radius: 0;
        box-shadow: none;
        background-color: #f8f9fa;
        padding: 0;
    }

    .dropdown-item {
        padding: 0.6rem 2rem;
        border-left: 3px solid transparent;
    }

    .dropdown-item:hover {
        border-left-color: #3498db;
    }
}

/* .navbar-toggler {
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(52, 152, 219, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
} */
 /* .navbar-toggler {
  border: 2px solid var(--secondary-color);
  border-radius: 5px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(52, 152, 219, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
} */

/* Home dropdown specific styles */
        .home-dropdown-container,
.register-dropdown-container {
    position: relative;
    display: flex;
    align-items: center;
}

        .home-dropdown-container .nav-link.home-main {
            padding-right: 5px !important;
        }

        .home-dropdown-container .dropdown-menu,
.register-dropdown-container .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: block;
}

        .home-dropdown-container:hover .dropdown-menu,
.register-dropdown-container:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Menu Styling */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    margin-top: 0.5rem;
    padding: 0.9rem 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item {
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    transition: var(--transition);
    font-weight: 400;
}

.dropdown-item:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateX(5px);
}

/* Section Titles */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin: 20px 0;
    color: #2c3e50;
    position: relative;
    /* text-transform: uppercase; */
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Removed lines below titles - Override all existing styles */
.section-title::after,
.section-title::before,
h1::after,
h2::after,
h3::after,
h4::after,
h5::after,
h6::after,
.text-center h1::after,
.card-title::after,
.combined-header h2::after,
.expertise-section .section-title::after,
#Technologies .text-center h1::after {
    display: none !important;
    content: none !important;
    border: none !important;
    background: none !important;
    height: 0 !important;
    width: 0 !important;
}

/* NEP 2020 Special Styling */
.nep-text {
    background: linear-gradient(45deg, #e74c3c, #f39c12, #27ae60, #3498db, #9b59b6);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.1em;
    animation: gradientShift 3s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(231, 76, 60, 0.3);
    position: relative;
    display: inline-block;
}

.nep-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #e74c3c, #f39c12, #27ae60, #3498db, #9b59b6);
    background-size: 300% 300%;
    border-radius: 8px;
    padding: 2px;
    z-index: -1;
    animation: gradientShift 3s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    25% {
        background-position: 100% 50%;
    }

    50% {
        background-position: 100% 100%;
    }

    75% {
        background-position: 0% 100%;
    }
}

.nep-text:hover {
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(231, 76, 60, 0.6);
    transition: all 0.3s ease;
}

/* Content Typography */
.content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #34495e;
    margin-bottom: 1.5rem;
    text-align: justify;
    font-weight: 400;
}

/* Card Styling */
.card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-title {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Button Styling */
.btn {
    border-radius: var(--border-radius);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    padding: 12px 30px;
    font-size: 0.8rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    border: none;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

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

/* Carousel Styling */
.carousel {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.carousel-item img {
    transition: var(--transition);
}

.carousel:hover .carousel-item img {
    transform: scale(1.02);
}

.carousel-caption {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    padding: 2rem;
}

.carousel-caption h5 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 16px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0;
    margin-bottom: 0;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
        margin: 30px 0;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem;
    }

    .content-text {
        font-size: 14px;
        text-align: left;
    }

    .card-title {
        font-size: 20px;
    }

    .carousel-caption h5 {
        font-size: 22px;
    }

    .carousel-caption p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 24px;
        margin: 20px 0;
    }

    .navbar-brand img {
        height: 40px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

/* Hamburger Menu Animation */
/* .navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
} */

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Text Visibility Fixes */
h1,
h2,
h3,
h4,
h5,
h6 {
    /* color: #2c3e50 !important; */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

p,
.card-text,
.content-text {
    color: #34495e !important;
    font-weight: 400;
}

.navbar-brand {
    color: #ffffff !important;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(45deg, var(--secondary-color), var(--accent-color)) 1;
}

/* Smooth Transitions for All Interactive Elements */
a,
button,
.card,
.navbar-nav .nav-link,
.dropdown-item {
    transition: var(--transition);
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus,
.dropdown-item:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Content Visibility Overrides */

/* Hover Effects for NEP Vision 5 Points */
.nep-feature-list li {
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.nep-feature-list li:hover {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(231, 76, 60, 0.1));
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nep-feature-list .feature-bullet {
    background: linear-gradient(45deg, #3498db, #e74c3c);
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.3s ease;
}

.nep-feature-list li:hover .feature-bullet {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
}

.nep-feature-list .feature-text {
    transition: all 0.3s ease;
}

.nep-feature-list li:hover .feature-text {
    color: #2c3e50;
    font-weight: 500;
}

/* Colored Boxes for Assessment Features - Fixed Selectors */
.assessment-benefit h4 {
    color: #2c3e50 !important;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Skill Development Box - Soft Purple */
.assessment-section .assessment-benefit:nth-child(1) {
    background: linear-gradient(135deg, #f8f4ff, #f0ebff) !important;
    border-left: 4px solid #a78bfa !important;
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 8px;
}

.assessment-section .assessment-benefit:nth-child(1):hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(167, 139, 250, 0.15);
    border-left: 4px solid #8b5cf6 !important;
    background: linear-gradient(135deg, #f3f0ff, #e8e0ff) !important;
}

/* Confidence Building Box - Soft Mint Green */
.assessment-section .assessment-benefit:nth-child(2) {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5) !important;
    border-left: 4px solid #6ee7b7 !important;
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 8px;
}

.assessment-section .assessment-benefit:nth-child(2):hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(110, 231, 183, 0.15);
    border-left: 4px solid #34d399 !important;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5) !important;
}

/* Progress Monitoring Box - Soft Sky Blue */
.assessment-section .assessment-benefit:nth-child(3) {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe) !important;
    border-left: 4px solid #7dd3fc !important;
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 8px;
}

.assessment-section .assessment-benefit:nth-child(3):hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(125, 211, 252, 0.15);
    border-left: 4px solid #38bdf8 !important;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd) !important;
}

/* Icon Styling for Assessment Boxes */
.assessment-section .assessment-benefit .benefit-icon {
    background: linear-gradient(45deg, #3498db, #e74c3c);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.assessment-section .assessment-benefit:hover .benefit-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Carousel Title Colors - White */
.carousel-caption h1,
.carousel-caption h5 {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 700;
}

.carousel-caption p {
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    font-weight: 500;
}

/* Recognition & Impact - 3 Boxes in One Line */
.card-grid .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.card-grid .col-lg-4,
.card-grid .col-md-4,
.card-grid .col-sm-12 {
    display: flex;
    /* margin-bottom: 30px; */
}

.card-grid .award-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card-grid .award-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card-grid .award-img {
    height: 200px;
    overflow: hidden;
}

.card-grid .award-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.card-grid .award-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-grid .award-year {
    background: linear-gradient(45deg, #3498db, #e74c3c);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

.card-grid .award-title {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-grid .award-desc {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-grid .award-stats {
    display: flex;
    justify-content: space-around;
    margin-top: auto;
}

.card-grid .stat {
    text-align: center;
}

.card-grid .stat-number {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
}

.card-grid .stat-label {
    font-size: 12px;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Image Slider - Side by Side Layout */
.container.my-4 .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    margin: 0;
}

.container.my-4 .col-lg-8,
.container.my-4 .col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
    padding-right: 15px;
}

.container.my-4 .col-lg-4,
.container.my-4 .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding-left: 15px;
}

/* Ensure carousel and card are same height */
.container.my-4 .carousel,
.container.my-4 .card {
    height: 100%;
    min-height: 400px;
}

.container.my-4 .carousel-inner {
    height: 100%;
}

.container.my-4 .carousel-item {
    height: 100%;
}

.container.my-4 .carousel-item img {
    height: 100%;
    object-fit: cover;
}

/* Professional Gallery Styles */
.gallery-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    /* padding: 80px 0; */
}

.section-subtitle {
    color: #7f8c8d;
    font-size: 18px;
    margin-bottom: 50px;
    font-weight: 400;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    background: transparent;
    border: 2px solid #3498db;
    color: #3498db;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(45deg, #3498db, #e74c3c);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.9), rgba(231, 76, 60, 0.9));
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    text-align: center;
    color: white;
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-content p {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
    line-height: 1.5;
}

.gallery-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.gallery-icon i {
    font-size: 20px;
    color: white;
}

/* Gallery Animation Classes */
.gallery-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.gallery-item:nth-child(1) {
    animation-delay: 0.1s;
}

.gallery-item:nth-child(2) {
    animation-delay: 0.2s;
}

.gallery-item:nth-child(3) {
    animation-delay: 0.3s;
}

.gallery-item:nth-child(4) {
    animation-delay: 0.4s;
}

.gallery-item:nth-child(5) {
    animation-delay: 0.5s;
}

.gallery-item:nth-child(6) {
    animation-delay: 0.6s;
}

.gallery-item:nth-child(7) {
    animation-delay: 0.7s;
}

.gallery-item:nth-child(8) {
    animation-delay: 0.8s;
}

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

/* Filter Animation */
.gallery-item.hide {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.gallery-item.show {
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container.my-4 .row {
        flex-wrap: wrap;
    }

    .container.my-4 .col-lg-8,
    .container.my-4 .col-md-8,
    .container.my-4 .col-lg-4,
    .container.my-4 .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 15px;
        margin-bottom: 20px;
    }

    .card-grid .col-sm-12 {
        margin-bottom: 20px;
    }

    .card-grid .award-card {
        margin-bottom: 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .gallery-filter {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 12px;
    }

    .gallery-image {
        height: 200px;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .scroll-progress,
    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }

    body {
        background: white !important;
    }

    .section-title {
        color: black !important;
    }
}

/* Footer is not fixed by default; pages manage spacing individually */
/* WhatsApp Button Styles */
.whatsapp-btn {
    background-color: #25D366;
    color: white !important;
    border-radius: 30px;
    padding: 3px 12px !important;
    font-weight: 400;
    transition: all 0.3s ease;
    border: 2px solid #25D366;
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.whatsapp-btn:hover {
    background: transparent;
    color: #25D366 !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn i {
    margin-right: 8px;
    font-size: 0.9rem;
}

/* Navigation fixes */
.navbar-custom .navbar-nav {
    align-items: center;
}

/* Ensure nav items align right on Bootstrap 4 */
.navbar-custom .navbar-nav.ml-auto {
    margin-left: auto !important;
}

@media (max-width: 992px) {
    .whatsapp-btn {
        margin: 0.5rem 0;
        width: 100%;
        justify-content: center;
    }
}

/* Registration Banner Styles */
.registration-banner {
    background: linear-gradient(90deg, #1a73e8, #1565c0);
    color: white;
    /* padding: 8px 0; */
    overflow: hidden;
    position: relative;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.banner-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.banner-content {
    display: inline-block;
    white-space: nowrap;
    padding-right: 50px;
    animation: moveBanner 25s linear infinite;
}

@keyframes moveBanner {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.banner-content:hover {
    animation-play-state: paused;
}

.banner-link {
    color: #ffde59;
    text-decoration: underline;
    font-weight: bold;
    margin-left: 15px;
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    transition: all 0.3s;
}

.banner-link:hover {
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .registration-banner {
        font-size: 1rem;
        padding: 12px 0;
    }
}

/* CSS Variables for Consistency */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Footer Styles */
.footer-container {
    background: linear-gradient(180deg, #2c3e50 0%, #1f2a35 100%);
    color: #ecf0f1;
    padding-top: 50px;
    margin-top: 60px;
    border-top: 3px solid #3498db;
}

.footer-content {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding: 0 20px 30px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 8px 0;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
}

.footer-section a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-section .contact-info>div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #bdc3c7;
    margin: 8px 0;
}

/* .footer-section .contact-info i {
    color: #3498db;
} */

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 12px 0;
}

.social-icons a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ecf0f1;
    margin-right: 10px;
}

.social-icons a:hover {
    background: #3498db;
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    padding: 16px 20px;
    color: #95a5a6;
}

@media (max-width: 576px) {
    .footer-content {
        gap: 20px;
        padding: 0 16px 24px;
    }
}