/* Logo container styles */
.logo-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999; 
}

.logo-glass {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 15px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    color: white;
    font-size: 20px;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
}

/* Mobile responsiveness for logo */
@media (max-width: 768px) {
    .logo-container {
        top: 10px;
        left: 10px;
    }
    
    .logo-glass {
        padding: 8px 12px;
    }
    
    .logo-img {
        width: 30px;
        height: 30px;
    }
    
    .logo-text {
        font-size: 16px;
    }
}

.floating-nav, .logo-container {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}



/* Floating Navigation */
.floating-nav {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 15px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.floating-nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
}

.floating-nav a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.floating-nav a.active {
    background: linear-gradient(45deg, #4361ee, #7209b7);
    box-shadow: 0 0 15px rgba(115, 9, 183, 0.5);
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.mobile-menu-btn i {
    color: white;
    font-size: 1.5rem;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-link {
    color: white;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    padding: 15px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: linear-gradient(45deg, #4361ee, #7209b7);
    box-shadow: 0 5px 15px rgba(115, 9, 183, 0.5);
}

/* Media Query for Mobile Navigation */
@media (max-width: 660px) {
    .floating-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Adjust logo position for mobile */
    .logo-container {
        top: 10px;
        left: 10px;
    }
    
    .logo-glass {
        padding: 8px 12px;
    }
}

@media (min-width: 661px) {
    .mobile-menu-btn,
    .mobile-menu-overlay {
        display: none !important;
    }
    
    .floating-nav {
        display: flex;
    }
}

/* Additional mobile adjustments */
@media (max-width: 450px) {
    body {
        padding-top: 3vh;
    }
}


body {
    padding-top: 5vh;
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    background: black url('background.png') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    color: white;
}

.glass-container {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    border: 1px solid transparent;
    color: white;
    text-align: center;
    margin: 20px auto;
    width: 90vw;
    max-width: 1200px;
    box-sizing: border-box;
    font-size: clamp(9px, 4vw, 24px);
    overflow: hidden;
}

/* Remove RGB effect from contact and membership pages */
#contact-page .glass-container::before,
#membership-page .glass-container::before {
    display: none;
}

#contact-page .glass-container:hover::before,
#membership-page .glass-container:hover::before {
    display: none;
}

/* Glowing Border Effect for other pages */
.glass-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    background: linear-gradient(45deg,
        #0000ff,  /* Deep Blue */
        #00008b,  /* Dark Blue */
        #4b0082,  /* Indigo */
        #800080,  /* Purple */
        #ff1493,  /* Deep Pink */
        #c71585,  /* Medium Violet Red */
        #0000ff   /* Cycle back */
    );
    background-size: 300%;
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.glass-container:hover::before {
    opacity: 0.7;
    animation: colorFlow 8s linear infinite;
}

@keyframes colorFlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.slider-container {
    display: flex;
    justify-content: center;
    margin: 15px auto;
    width: 90vw;
    max-width: 700px;
    height: auto;
    aspect-ratio: 7 / 5;
    vertical-align: middle;
}

.slider {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: auto;
    aspect-ratio: 7 / 5;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    transform: translateX(100%);
    z-index: 0;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    padding: clamp(10px, 4vw, 20px);
    border-radius: 50%;
    font-size: clamp(10px, 4vw, 20px);
    color: white;
    cursor: pointer;
    z-index: 2;
    transition: background 0.3s ease;
}

.nav:hover {
    background: rgba(255, 255, 255, 0.4);
}

.nav.left {
    left: clamp(6px, 4vw, 16px);
}

.nav.right {
    right: clamp(6px, 4vw, 16px);
}

.wrapper {
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.intro {
    flex: 1;
    font-size: clamp(10px, 5vw, 30px);
}

.trapper {
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.ictob-intro {
    font-size: 20px;
    flex: 1;
}
  
.page {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.nav-link.active {
    background: rgba(128, 128, 128, 0.5);
    border-radius: 5px;
    backdrop-filter: blur(8px);
}

.logot{
    border: 0;
    font-size: 60px;
    width: 500px;
    text-align: center;
}
.logot :first-child:last-child{
    border: 0px;
    border-radius: 10%;
}

/* Mobile responsiveness for floating nav */
@media (max-width: 768px) {
    .floating-nav {
        top: 10px;
        right: 10px;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 80%;
    }
    
    .floating-nav a {
        font-size: 14px;
        padding: 6px 12px;
    }
}

/* Events Page Styles */
.events-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.events-subtitle {
    font-size: 1.1rem;
    margin-bottom: 0;
    opacity: 0.8;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px auto;
    width: 90%;
    max-width: 1200px;
}

/* ---------- Event Tile with Flip Animation ---------- */
.event-tile {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    height: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    perspective: 1000px;
}

.event-tile .event-image,
.event-tile .event-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0 left: 0;
    backface-visibility: hidden;
    transition: transform 0.6s ease, opacity 0.25s ease;
}

/* front face */
.event-tile .event-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: rotateY(0deg);
    z-index: 2;
}

/* back face */
.event-tile .event-overlay {
    background: rgba(0,0,0,0.72);
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 12px;
    transform: rotateY(180deg);
    opacity: 0;
    z-index: 1;
}

.event-tile:hover {
    transform: scale(1.04);
    z-index: 2;
}
.event-tile:hover .event-image { transform: rotateY(180deg); }
.event-tile:hover .event-overlay {
    transform: rotateY(0deg);
    opacity: 1;
}

.event-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 0 10px rgba(115, 9, 183, 0.8);
}

.event-date {
    font-size: 1rem;
    color: #ccc;
}

.event-detail {
    display: none;
    padding: 20px;
    margin: 20px auto;
    width: 90%;
    max-width: 1000px;
    animation: fadeIn 0.5s ease;
}

.event-detail.active {
    display: block;
}

.event-detail-header {
    margin-bottom: 30px;
}

.back-button {
    background: linear-gradient(45deg, #4361ee, #7209b7);
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-button:hover {
    transform: translateY(-3px);
}

.event-detail-body {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.event-detail-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 10px;
    text-align: center;
}

.event-detail-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-detail-description {
    line-height: 1.6;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .events-title {
        font-size: 2rem;
    }
    
    .event-detail-title {
        font-size: 1.8rem;
    }
}

/* Scrollable Bottom Box */
.bottom-box {
    width: calc(100% - 40px);
    max-width: 1800px;
    height: 80px;
    margin: 100px auto 40px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.box-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.box-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: white;
}

.box-buttons {
    display: flex;
    gap: 15px;
}

.box-button {
    background: linear-gradient(45deg, #4361ee, #7209b7);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(115, 9, 183, 0.4);
}

/* Responsive adjustments for bottom box */
@media (max-width: 768px) {
    .bottom-box {
        width: calc(100% - 20px);
        height: auto;
        padding: 20px;
        margin: 60px auto 30px;
    }
    
    .box-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .box-text {
        font-size: 1rem;
    }
    
    .box-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .box-button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Clean background with very subtle static gradient */
body {
    padding-top: 5vh;
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    background: 
        linear-gradient(135deg, rgba(10, 10, 20, 0.95) 0%, rgba(5, 5, 15, 0.98) 100%),
        url('background.png') no-repeat center center fixed;
    background-size: cover;
    background-blend-mode: overlay;
    min-height: 100vh;
    color: white;
    position: relative;
}

/* Very subtle blue/purple gradient overlay - REMOVED PINK */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(
            45deg,
            rgba(255, 255, 255, 0.06) 0%,    /* Change from 0.02 to 0.05 */
            rgba(255, 255, 255, 0.05) 100%   /* Change from 0.01 to 0.03 */
        );
    pointer-events: none;
    z-index: -1;
    opacity: 0.9; /* Change from 0.5 to 0.7 */
}

/* Remove any existing irritating effects */
.glass-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    background: linear-gradient(45deg,
        #0000ff,  /* Deep Blue */
        #00008b,  /* Dark Blue */
        #4b0082,  /* Indigo */
        #800080,  /* Purple */
        /* REMOVED PINK COLORS */
        #0000ff   /* Cycle back to blue */
    );
    background-size: 300%;
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.glass-container:hover::before {
    opacity: 0.5; /* Reduced opacity */
    animation: colorFlow 8s linear infinite;
}

@keyframes colorFlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

/* Contact Page Styles*/
.contact-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: #ffffff;
    text-align: center;
    margin: 0 auto 2rem auto;
    font-weight: 700;
    width: 100%;
    display: block;
}

.contact-title::after {
    content: '';
    display: block;
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #4361ee, #7209b7, transparent);
    margin: 10px auto 0 auto;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.6s ease;
}

.contact-title:hover::after {
    transform: scaleX(1);
}

.contact-content {
    display: flex;
    gap: 2rem;
    padding: 1rem;
    justify-content: space-between;
}

.contact-info-section, .message-form-section {
    flex: 1;
    min-width: 0;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(67, 97, 238, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(67, 97, 238, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4361ee, #7209b7);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.contact-item:hover .contact-icon::before {
    animation: shine 1s ease;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.4);
}

.contact-icon i {
    font-size: 1.2rem;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon i {
    transform: scale(1.2);
}

.contact-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-item:hover .contact-info h3 {
    color: #4361ee;
}

.contact-info p {
    font-family: 'Poppins', sans-serif;
    color: #e0e0e0;
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.contact-item:hover .contact-info p {
    opacity: 1;
}

.social-media {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.social-media p {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.6s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    background: linear-gradient(135deg, #4361ee, #7209b7);
    transform: translateY(-3px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.3);
}

.social-link i {
    font-size: 1.1rem;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.3) rotate(10deg);
}

/* Message Form Styles - Enhanced */
.message-form-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    position: relative;
}

.message-form-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #4361ee, #7209b7);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-form:hover {
    border-color: rgba(67, 97, 238, 0.3);
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group.full-width {
    flex: 0 0 100%;
}

.contact-form label {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.form-group:focus-within label {
    color: #4361ee;
}

.contact-form input, .contact-form textarea {
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
    transition: opacity 0.3s ease;
}

.contact-form input:focus::placeholder, 
.contact-form textarea:focus::placeholder {
    opacity: 0.5;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: #4361ee;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2);
    transform: translateY(-2px);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
    transition: min-height 0.3s ease;
}

.contact-form textarea:focus {
    min-height: 140px;
}

.submit-button {
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #4361ee, #7209b7);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.6s ease;
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.4);
    background: linear-gradient(135deg, #5272f0, #832ac9);
}

.submit-button:active {
    transform: translateY(-1px);
}

/* Map Container Styles */
.map-container {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.map-container:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.map-container iframe {
    display: block; /* remove bottom space */
}

/* Floating animation for contact items */
.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-info-section, .message-form-section {
        width: 100%;
        animation: none;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .social-icons {
        flex-wrap: wrap;
    }
}

@media (max-width: 450px) {
    .contact-title {
        font-size: 1.8rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-icon i {
        font-size: 1rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
}

/* Membership Page Styles */
.membership-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #4361ee, #7209b7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.membership-content {
    display: flex;
    gap: 3rem;
    padding: 1rem;
    align-items: flex-start;
}

.membership-info {
    flex: 1;
}

.membership-form-section {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.membership-info h3, .membership-form-section h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
}

.membership-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.membership-info li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    word-wrap: break-word;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.benefit-card i {
    font-size: 2.5rem;
    color: #4361ee;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.benefit-card h4 {
    margin: 0.5rem 0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

.benefit-card p {
    font-size: 0.9rem;
    color: #ccc;
    margin: 0;
    line-height: 1.4;
    max-width: 100%;
    overflow-wrap: break-word;
}

.benefit-text {
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
    padding: 0 5px;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .benefit-card {
        min-height: 150px;
        padding: 1.2rem 0.8rem;
    }
    
    .benefit-card i {
        font-size: 2rem;
    }
    
    .benefit-card h4 {
        font-size: 1rem;
    }
    
    .benefit-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .benefit-card {
        min-height: 140px;
        padding: 1rem 0.5rem;
    }
    
    .benefit-card i {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
}

.membership-form-btn {
    background: linear-gradient(45deg, #4361ee, #7209b7);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin: 1rem 0;
}

.membership-form-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
}

.form-note {
    font-size: 0.9rem;
    color: #ccc;
    text-align: center;
    margin: 0;
}

.contact-info {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info p {
    margin: 0;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .membership-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .membership-title {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}



/* About Page Styles */
.about-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #4361ee, #7209b7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Make the main glass container wider with more padding */
#about-page .glass-container {
    width: 95vw; /* Increased from 90vw */
    max-width: 1400px; /* Increased from 1200px */
    padding: 2rem; /* Added padding to prevent content from touching edges */
}

.about-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.about-intro h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.achievement-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* RGB EFFECT REMOVED FROM NON-CLICKABLE .achievement-item */
.achievement-item:hover {
    transform: translateY(-5px);
}

.achievement-item i {
    font-size: 2rem;
    color: #4361ee;
    margin-bottom: 0.5rem;
    display: block;
}

.achievement-item span {
    color: #fff;
    font-weight: 600;
}

/* Mission & Vision */
.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.mission, .vision {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

/* RGB EFFECT REMOVED FROM NON-CLICKABLE .mission AND .vision */
.mission:hover, .vision:hover {
    transform: translateY(-5px);
}


.mission h3, .vision h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.mission p, .vision p {
    color: #ccc;
    line-height: 1.6;
}

/* Team Sections */
.team-section {
    margin: 3rem 0;
}

.team-section h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.team-grid, .executive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.team-card, .executive-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Apply RGB hover effect to team cards */
.team-card::before, .executive-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    background: linear-gradient(45deg,
        #0000ff,  /* Deep Blue */
        #00008b,  /* Dark Blue */
        #4b0082,  /* Indigo */
        #800080,  /* Purple */
        #0000ff   /* Cycle back to blue */
    );
    background-size: 300%;
    border-radius: 17px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.team-card:hover::before, .executive-card:hover::before {
    opacity: 0.5;
    animation: colorFlow 8s linear infinite;
}

.team-card:hover, .executive-card:hover {
    transform: translateY(-5px);
}

/* Updated Team Avatar Styles - Bigger with Dark Blue Border */
.team-avatar, .executive-avatar {
    width: 120px; /* Increased from 100px */
    height: 120px; /* Increased from 100px */
    border-radius: 50%;
    background: transparent; /* Remove gradient background */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 3px solid #00e5ff; /* Single dark blue color */
    transition: all 0.3s ease;
}

.team-avatar img, .executive-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card:hover .team-avatar,
.executive-card:hover .executive-avatar {
    transform: scale(1.05);
    border-color: #283593; /* Slightly lighter blue on hover */
    box-shadow: 0 0 15px rgba(26, 35, 126, 0.5); /* Add glow effect */
}


.team-card h4, .executive-card h4 {
    color: #fff;
    margin: 0.5rem 0;
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
}

.team-card p, .executive-card p {
    color: #ccc;
    margin: 0.3rem 0;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
}

/* Team role styles - MATCHING MODERATOR STYLE */
.team-role, .executive-role {
    display: inline-block;
    background: transparent;
    color: #e0e0e0;
    padding: 0.3rem 0;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0.3rem 0;
    border: none;
    text-shadow: none;
    backdrop-filter: none;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

/* Activities Section */
.activities-section {
    margin: 3rem 0;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.activity-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* RGB EFFECT REMOVED FROM NON-CLICKABLE .activity-card */
.activity-card:hover {
    transform: translateY(-5px);
}

.activity-card i {
    font-size: 2.5rem;
    color: #4361ee;
    margin-bottom: 1rem;
}

.activity-card h4 {
    color: #fff;
    margin: 1rem 0;
}

.activity-card p {
    color: #ccc;
    line-height: 1.5;
}

/* Remove RGB effect from the main about page glass container */
#about-page .glass-container::before {
    display: none;
}

#about-page .glass-container:hover::before {
    display: none;
}

/* Profile Modal Styles */
.profile-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 3000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.profile-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.modal-avatar {
    width: 180px; /* Increased from 150px */
    height: 180px; /* Increased from 150px */
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 4px solid #00e5ff;
    background: transparent; /* Remove gradient */
}

.modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info h2 {
    color: white;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.modal-role {
    display: inline-block;
    color: #4361ee;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    background: rgba(67, 97, 238, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.modal-bio {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: left;
}

.modal-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.modal-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #ccc;
}

.modal-contact .contact-item i {
    color: #4361ee;
    width: 20px;
}

/* Privacy notice styling */
.modal-contact .privacy-notice {
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Bio Section Styles */
.modal-bio-section {
    margin: 1.5rem 0;
    text-align: center;
}

.modal-bio {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
    border-left: 3px solid #00e5ff;
}

/* Resume Sections Styles */
.resume-sections {
    margin: 2rem 0;
}

.resume-section {
    margin-bottom: 1.5rem;
    text-align: left;
}

.resume-section h3 {
    color: #4361ee;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.resume-section h3 i {
    font-size: 1rem;
}

.resume-content {
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 0.9rem;
}

.resume-content ul {
    padding-left: 1.2rem;
    margin: 0;
}

.resume-content li {
    margin-bottom: 0.3rem;
}

/* Skills tags */
.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(67, 97, 238, 0.2);
    color: #4361ee;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(67, 97, 238, 0.3);
}

/* Add these styles to style.css */

/* Panel Navigation */
.panel-navigation {
    margin: 3rem 0;
    text-align: center;
}

.panel-navigation h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.panel-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.panel-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.panel-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.panel-tab.active {
    background: linear-gradient(45deg, #4361ee, #7209b7);
    color: white;
    box-shadow: 0 5px 15px rgba(115, 9, 183, 0.4);
}

/* Panel Content */
.panel-content {
    display: none;
    margin: 2rem 0;
}

.panel-content.active {
    display: block;
}


/* Previous Panel Grid */
.previous-panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .panel-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .panel-tab {
        width: 100%;
        max-width: 300px;
    }
}

/* Non-interactive style for previous panel cards */
.panel-content:not(#panel-current) .team-card {
    cursor: default;
}

.panel-content:not(#panel-current) .team-card:hover {
    transform: none; /* Removes the lift effect */
}

.panel-content:not(#panel-current) .team-card:hover::before {
    opacity: 0; /* Prevents the glowing border from appearing on hover */
}


/* --- START: New Slider Styles --- */

/* Wrapper to contain the slider and give it rounded corners */
.slider-wrapper {
    max-width: 1200px;
    margin: 2rem auto; /* Centers the slider and adds space */
    border-radius: 20px; /* The rounded corners you wanted */
    overflow: hidden; /* Ensures content stays within the rounded corners */
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    height: 550px; /* Fixed height for the container */
}

/* --- Core Carousel Styles (Adjusted for container) --- */
.carousel {
    /* Overriding original full-screen styles */
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.carousel .list .item {
    width: 180px;
    height: 250px;
    position: absolute;
    top: 80%;
    transform: translateY(-70%);
    left: 70%;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    background-position: 50% 50%;
    background-size: cover;
    z-index: 100;
    transition: 1s;
}

/* Main active slides */
.carousel .list .item:nth-child(1),
.carousel .list .item:nth-child(2) {
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* Thumbnail positioning */
.carousel .list .item:nth-child(3) { left: 67%; }
.carousel .list .item:nth-child(4) { left: calc(67% + 200px); }
.carousel .list .item:nth-child(5) { left: calc(67% + 400px); }
.carousel .list .item:nth-child(n+6) {
    left: calc(67% + 600px);
    opacity: 0;
}

/* Content inside the slides */
.list .item .content {
    position: absolute;
    top: 50%;
    left: 100px;
    transform: translateY(-50%);
    width: 500px;
    max-width: 80%;
    text-align: left;
    color: #fff;
    display: none;
    z-index: 11;
}

.list .item:nth-child(2) .content {
    display: block;
}

.content .title {
    font-size: 2em; /* Using em for better scaling */
    text-transform: uppercase;
    color: #a259ff; /* THEME COLOR to match your site */
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.content .name {
    font-size: 4em;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1.1;
    text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.7);
    opacity: 0;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}

.content .des {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 1rem;
    opacity: 0;
    animation: animate 1s ease-in-out 0.9s 1 forwards;
}

.content .btn {
    opacity: 0;
    animation: animate 1s ease-in-out 1.2s 1 forwards;
}

.content .btn button {
    padding: 10px 25px;
    border: 2px solid #fff;
    background-color: rgba(0,0,0,0.3);
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.content .btn button:nth-child(1) {
    margin-right: 15px;
    background: linear-gradient(135deg, #4361ee, #7209b7); /* THEME COLOR */
    border-color: #7209b7;
}
.content .btn button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}


/* Content animation */
@keyframes animate {
    from {
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }
    to {
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}

/* Arrow buttons */
.arrows {
    position: absolute;
    bottom: 20px;              
    left: 50%;                 
    transform: translateX(-50%);  
    z-index: 100;
    width: auto;                  
    display: flex;
    gap: 10px;
    align-items: center;
}

.arrows button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #7209b7a6; /* THEME COLOR */
    color: #fff;
    border: none;
    font-size: 20px;
    font-weight: bold;
    transition: .5s;
    cursor: pointer;
}

.arrows button:hover {
    background: #fff;
    color: #4361ee;
}

/* Progress bar */
.carousel .timeRunning {
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #4361ee, #a259ff); /* THEME COLOR */
    left: 0;
    top: 0;
}


/* --- Responsive Design for the new slider --- */
@media screen and (max-width: 999px) {
    .slider-wrapper { height: 500px; margin: 1.5rem 1rem; }
    .list .item .content { left: 50px; }
    
    /* Text Content Reduction */
    .content .name { font-size: 3em; }
    .content .title { font-size: 1.5em; }
    .content .des { 
        font-size: 0.9em; 
        max-width: 60%;
    } 

    /* Button Reduction */
    .content button { 
        font-size: 0.9em;
        padding: 12px 20px;
        /* Ensure no fixed width is preventing shrinking */
        width: auto !important;
    } 
}

@media screen and (max-width: 690px) {
    /* Set margin to 10px left/right (guarantees at least 2px minimum) */
    .slider-wrapper { 
        height: 400px; 
        margin: 1rem 10px; /* 10px on left/right sides */
    }
    .list .item .content { left: 30px; }
    
    /* Text Content Reduction */
    .content .name { font-size: 1.2em; }
    .content .title { font-size: 0.8em; } 
    .content .des { display: none; } 
    
    /* 🎯 CRITICAL FIX: Made selector more specific and added size override */
    .list .item .content button { 
        font-size: 0.7em; 
        padding: 4px 8px; 
        /* CRITICAL: Ensure button width is not fixed by another style */
        width: auto !important; /* Use !important only if absolutely necessary */
        max-width: fit-content;
    } 
    
    /* Move the arrows closer together */
    .arrows {
        right: 15px;
    }
    .arrows button {
        width: 40px;
        height: 40px;
    }
}

/* --- END: New Slider Styles --- */