/* =============== GLOBAL STYLES =============== */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    overflow-x: hidden;
    min-height: 100vh; /* Viewport Height */
    display: flex;
    flex-direction: column;
}

/* =============== LOGO SECTION =============== */
.logo-section {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.logo-img {
    max-width: 150px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-img:hover {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 4px 12px rgba(106, 17, 203, 0.2));
}

/* =============== NAVIGATION SYSTEM =============== */
.et-hero-tabs {
    position: relative;
    height: 70px;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: #fff;
    overflow: hidden;
}

/* Animated background particles */
.et-hero-tabs::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(255,255,255,0.1) 0%, 
        rgba(255,255,255,0) 70%);
    animation: particleFlow 20s linear infinite;
}

@keyframes particleFlow {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-100%) translateX(-50%); }
}

.et-hero-tabs-container {
    display: flex;
    justify-content: space-around;
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-radius: 20px;
    margin-top: 10px;
}

.et-hero-tab {
    flex: 1;
    padding: 10px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.et-hero-tab::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #6a11cb;
    transition: all 0.3s ease;
}

.et-hero-tab:hover {
    color: #6a11cb;
    transform: translateY(-2px);
}

.et-hero-tab:hover::before {
    width: 80%;
    left: 10%;
}

.et-hero-tab-slider {
    height: 4px;
    background: #6a11cb;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============== OVERLAY CARDS SYSTEM =============== */
.et-main {
    position: relative;
    z-index: 900;
}

.et-slide {
    display: none;
    position: fixed;
    width: 340px;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 9999;
    pointer-events: none;
}

.et-slide.visible {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* ===== Mobile Navigation Styles ===== */
.mobile-nav {
    z-index: 1100; /* Ensure it appears above other elements */
}

/* Hamburger Toggle Button - Fixed to Right */
.mobile-nav-toggle {
    position: fixed;
    top: 10px;
    right: 10px;  /* Move to the right */
    left: auto;  /* Remove left positioning */
    background: transparent;
    border: none;
    color: #9F58BD;
    font-size: 2rem;
    padding: 0px 1rem;
    cursor: pointer;
    z-index: 1300; /* Higher than mobile nav menu */
}

/* Sidebar Menu - Move to Right */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: 0;  /* Move to the right */
    left: auto;  /* Remove left positioning */
    width: 250px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 5px rgba(0,0,0,0.3); /* Adjust shadow direction */
    transform: translateX(100%); /* Start hidden off-screen on the right */
    transition: transform 0.3s ease;
    z-index: 1200;
    padding-top: 60px;
    display: flex;
    flex-direction: column;
}

/* When active, slide it in from the right */
.mobile-nav-menu.active {
    transform: translateX(0);
}

/* Mobile Nav Items */
.mobile-nav-item {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
}

.mobile-nav-item:hover {
    background: #f7f7f7;
}

.mobile-nav-button {
    background: transparent;
    border: none;
    color: #333;
    font-size: 1.2rem;
    padding: 0;
    text-align: left;
    width: 100%;
    cursor: pointer;
}

/* Hide desktop nav on mobile */
@media (max-width: 767.98px) {
    .et-hero-tabs {
        display: none;
    }
}


/* Holographic Card Design */
.overlay-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

/* Animated gradient border */
.overlay-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        #6a11cb 0%, 
        #2575fc 50%, 
        #6a11cb 100%);
    border-radius: 22px;
    z-index: -1;
    animation: borderFlow 4s linear infinite;
    background-size: 200% auto;
    opacity: 0.3;
}

/* Inner glow effect */
.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, 
        rgba(106, 17, 203, 0.1) 0%, 
        transparent 60%);
    transform: translate(-50%, -50%);
    animation: glowPulse 4s ease-in-out infinite;
}

.card-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    transform: translateZ(0);
}

.card-subtitle {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    transform: translateZ(0);
}

.card-ornament {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: rgba(106, 17, 203, 0.08);
    border-radius: 50%;
    filter: blur(25px);
    animation: ornamentFloat 8s ease-in-out infinite;
}

/* =============== ANIMATIONS =============== */
@keyframes borderFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.2; transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes ornamentFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -10px) rotate(5deg); }
    50% { transform: translate(-10px, 10px) rotate(-5deg); }
    75% { transform: translate(15px, 5px) rotate(3deg); }
}

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =============== ENHANCED PARALLAX FOOTER =============== */
.star-field-container {
    /* Modern gradient background */
    margin-top: auto;
    background: linear-gradient(305deg, 
        rgba(107, 31, 177, 0.8) 0%, 
        rgba(212, 56, 142, 0.8) 63.3333%, 
        rgba(227, 27, 121, 0.8) 100%
    );
    position: relative;
    overflow: hidden;
    min-height: 250px;
}

.star-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Brighter stars */

/* Made content container highly transparent */
.star-field-container .content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    /* Removed solid backdrop, using subtle gradient for depth */
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.02)
    );
}

.star-field-container h1 {
    font-size: 2.5rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    text-align: center;
    background: linear-gradient(to right, #fff, #f0f0f0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
    animation: fadeSlideDown 0.8s ease-out;
}
/* Footer links container */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    animation: fadeSlideUp 0.8s ease-out 0.2s backwards;
}

/* Individual footer links */
.footer-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.footer-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.footer-link i {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Social icons section */
.social-icons {
    display: flex;
    gap: 1rem;
    animation: fadeSlideUp 0.8s ease-out 0.4s backwards;
}

/* Individual social icons */
.social-icon {
    color: white;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.social-icon i {
    font-size: 0.875rem;
}

/* Copyright text */
.footer-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    animation: fadeSlideUp 0.8s ease-out 0.6s backwards;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

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

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .star-field-container h1 {
        font-size: 1.5rem;
    }
    
    .footer-links {
        gap: 1rem;
    }
    
    .footer-link {
        font-size: 0.8125rem;
    }
}

/* =============== RESPONSIVE DESIGN =============== */
@media (max-width: 768px) {
    .et-hero-tabs-container {
        height: 70px;
    }


    
    .et-hero-tab {
        font-size: 0.6rem;
    }
    
    .et-slide {
        width: 90%;
        max-width: 300px;
    }
    
    .overlay-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        max-width: 120px;
    }
    
    .et-hero-tab {
        font-size: 0.7rem;
        padding: 8px;
    }
}
