/* All India Colourblindness Association - Custom Futuristic Styles */

:root {
    --navy-primary: #0A2E4F;
    --gold-secondary: #DAA520;
    --sky-accent: #5DADE2;
    --light-sky: #85C1E9;
    --text-dark: #333333;
    --bg-light: #F5F5F5;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* Animated Particles Background */
.particle-container {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--sky-accent);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* Scroll to top button */
.scroll__top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--gold-secondary), #F4C430);
    color: var(--navy-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(218, 165, 32, 0.4);
}

.scroll__top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.6);
}

.scroll__top.show {
    display: flex;
}

/* Enhanced Navigation Styling */
.tg-header__style-five {
    position: relative;
    z-index: 999;
    background: #FFFFFF;
}

.tg-header__top {
    background: rgba(10, 46, 79, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
}

.tg-header__top-info,
.tg-header__top-right {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

.tg-header__top-info li,
.tg-header__top-right li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tg-header__top-info i,
.tg-header__top-right i {
    color: #FFFFFF;
    font-size: 14px;
}

.tg-header__top-info a,
.tg-header__top-right a {
    color: #FFFFFF !important;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.tg-header__top-info a:hover,
.tg-header__top-right a:hover {
    color: var(--gold-secondary) !important;
}

.tg-header__top-right {
    justify-content: flex-end;
}

.tg-header__area-five {
    background: #FFFFFF !important;
    backdrop-filter: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

.tg-header__area-five.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease;
}

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

.tgmenu__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tgmenu__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo img {
    max-height: 80px;
    width: auto;
}

.tgmenu__navbar-wrap {
    flex: 1;
    display: flex;
    justify-content: center;
}

.tgmenu__nav .navigation {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tgmenu__nav .navigation li {
    position: relative;
}

.tgmenu__nav .navigation li a {
    color: #333333 !important;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 12px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-decoration: none;
    display: block;
}

.tgmenu__nav .navigation li a:hover,
.tgmenu__nav .navigation li.active a {
    color: var(--gold-secondary) !important;
}

.tgmenu__nav .navigation li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--gold-secondary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.tgmenu__nav .navigation li a:hover::after,
.tgmenu__nav .navigation li.active a::after {
    width: 80%;
}

.tgmenu__nav .navigation li.menu-item-has-children {
    position: relative;
}

.tgmenu__nav .navigation li.menu-item-has-children .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    min-width: 220px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin: 0;
    list-style: none;
}

.tgmenu__nav .navigation li.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tgmenu__nav .navigation li.menu-item-has-children .sub-menu li {
    display: block;
}

.tgmenu__nav .navigation li.menu-item-has-children .sub-menu li a {
    color: #333333 !important;
    padding: 12px 20px;
    text-transform: none;
    font-size: 14px;
}

.tgmenu__nav .navigation li.menu-item-has-children .sub-menu li a:hover {
    background: rgba(218, 165, 32, 0.1);
    color: var(--gold-secondary) !important;
}

.tgmenu__nav .navigation li.menu-item-has-children .sub-menu li a::after {
    display: none;
}

.tgmenu__action {
    display: flex;
    align-items: center;
}

.tgmenu__action .list-wrap {
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-btn a {
    background: linear-gradient(45deg, var(--gold-secondary), #F4C430) !important;
    color: var(--navy-primary) !important;
    font-weight: 700;
    border-radius: 50px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
    text-decoration: none;
    display: inline-block;
}

.header-btn a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.4);
}

.mobile-nav-toggler {
    display: none;
    width: 40px;
    height: 40px;
    color: #FFFFFF;
    cursor: pointer;
}

/* Mobile Menu Styles */
.tgmobile__menu {
    position: fixed;
    right: -100%;
    top: 0;
    width: 300px;
    height: 100%;
    background: rgba(10, 46, 79, 0.98);
    backdrop-filter: blur(15px);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
}

body.mobile-menu-visible .tgmobile__menu {
    right: 0;
}

.tgmobile__menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

body.mobile-menu-visible .tgmobile__menu-backdrop {
    opacity: 1;
    visibility: visible;
}

.tgmobile__menu-box {
    padding: 30px;
}

.tgmobile__menu .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tgmobile__menu .close-btn:hover {
    color: var(--gold-secondary);
    transform: rotate(90deg);
}

.tgmobile__menu .nav-logo {
    margin-bottom: 30px;
}

.tgmobile__menu .nav-logo img {
    max-height: 50px;
}

.tgmobile__menu-outer .navigation {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tgmobile__menu-outer .navigation li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tgmobile__menu-outer .navigation li a {
    display: block;
    padding: 12px 0;
    color: #FFFFFF !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tgmobile__menu-outer .navigation li a:hover {
    color: var(--gold-secondary) !important;
    padding-left: 10px;
}

.tgmobile__menu-outer .navigation .sub-menu {
    padding-left: 20px;
    display: none;
}

.tgmobile__menu-outer .navigation .sub-menu li a {
    font-size: 14px;
}

.tgmobile__menu-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tgmobile__menu-bottom .contact-info ul,
.tgmobile__menu-bottom .social-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tgmobile__menu-bottom .contact-info a {
    color: #FFFFFF;
    text-decoration: none;
}

.tgmobile__menu-bottom .social-links {
    margin-top: 20px;
}

.tgmobile__menu-bottom .social-links ul {
    display: flex;
    gap: 15px;
}

.tgmobile__menu-bottom .social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.tgmobile__menu-bottom .social-links a:hover {
    background: var(--gold-secondary);
    color: var(--navy-primary);
}

/* Quotes Banner Styles */
.quotes-banner {
    background: linear-gradient(135deg, var(--gold-secondary) 0%, #F4C430 100%);
    padding: 12px 0;
    overflow: hidden;
    position: relative;
}

.quotes-slider {
    position: relative;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-item {
    position: absolute;
    width: 100%;
    text-align: center;
    color: var(--navy-primary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.quote-item.active {
    opacity: 1;
}

.quote-item i {
    font-size: 12px;
    color: rgba(10, 46, 79, 0.6);
}

/* Responsive */
@media (max-width: 991px) {
    .tgmenu__navbar-wrap,
    .tgmenu__action {
        display: none !important;
    }

    .mobile-nav-toggler {
        display: block;
    }

    .quote-item {
        font-size: 12px;
    }
}
