:root {
    --bg-dark: #0a0a14; /* Slightly darker and more purplish */
    --bg-medium: #121222; /* Slightly darker */
    --text-light: #e8e8f0;
    --text-dark: #1a1a2e;
    --accent-primary: #00f2ea; /* Vivid teal */
    --accent-secondary: #f200ff; /* Vivid magenta */
    --accent-tertiary: #ffae00; /* Gold/Orange accent for variety */
    --glass-bg: rgba(30, 30, 50, 0.2); /* More purple tint */
    --glass-border: rgba(200, 200, 255, 0.15);
    --font-primary: 'Poppins', sans-serif;
    --font-logo: 'Orbitron', sans-serif;
    --shadow-color: rgba(0, 242, 234, 0.3); /* Teal shadow */
    --shadow-color-secondary: rgba(242, 0, 255, 0.3); /* Magenta shadow */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 5% 15%, rgba(0, 242, 234, 0.08) 0%, transparent 35%),
        radial-gradient(circle at 95% 85%, rgba(242, 0, 255, 0.08) 0%, transparent 35%),
        linear-gradient(160deg, var(--bg-dark) 0%, var(--bg-medium) 100%);
    background-attachment: fixed;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

/* --- Header & Navigation --- */
header {
    background: rgba(10, 10, 20, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 3px 15px rgba(0,0,0,0.4);
}

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

.logo-link {
    text-decoration: none;
}
.logo {
    font-family: var(--font-logo);
    font-size: 1.8rem; /* Adjusted for longer text */
    color: var(--text-light);
    letter-spacing: 0.5px; /* Slightly reduced letter spacing */
    text-shadow: 0 0 6px var(--accent-primary), 0 0 12px var(--accent-primary);
    transition: text-shadow 0.3s ease;
    line-height: 1.2; /* Ensure good line height */
}
.logo:hover {
    text-shadow: 0 0 8px var(--accent-primary), 0 0 16px var(--accent-primary), 0 0 24px var(--accent-secondary);
}
.logo span {
    color: var(--accent-primary);
}

nav .nav-links {
    list-style: none;
    display: flex;
    align-items: center; /* Align items vertically */
}
nav .nav-links li {
    margin-left: 30px;
}
nav .nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    display: flex; /* For aligning icon with text */
    align-items: center;
}
nav .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    background-image: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    transition: width 0.4s ease;
}
nav .nav-links a:hover::after,
nav .nav-links a.active::after {
    width: 100%;
}
nav .nav-links a:hover,
nav .nav-links a.active {
    color: var(--accent-primary);
    text-shadow: 0 0 5px var(--accent-primary);
}

/* --- Dropdown Menu Styles --- */
.nav-links .nav-item-dropdown {
    position: relative; /* Anchor for the dropdown menu */
}

.nav-links .dropdown-toggle i.fa-angle-down {
    margin-left: 5px;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.nav-links .nav-item-dropdown:hover .dropdown-toggle i.fa-angle-down {
    transform: rotate(180deg); /* Rotate arrow on hover */
}

/* Style for when a dropdown item is active, apply to parent .dropdown-toggle */
.nav-links .nav-item-dropdown .dropdown-toggle.parent-active {
    color: var(--accent-primary);
    text-shadow: 0 0 5px var(--accent-primary);
}
.nav-links .nav-item-dropdown .dropdown-toggle.parent-active::after {
     width: 100%;
}


.nav-links .dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%; /* Position below the parent */
    left: 0;
    background-color: var(--bg-medium); /* Match your theme */
    list-style: none;
    padding: 8px 0; /* Adjust padding */
    margin: 0; /* Add a little space from the parent */
    padding-top: 5px;
    min-width: 180px; /* Or adjust to content */
    z-index: 1001; /* Ensure it's above other elements */
    border: 1px solid var(--glass-border);
    /* border-top: none; */ /* Optional: if parent has a border effect, remove top border for seamless look */
    border-radius: 8px; /* Softer radius */
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.nav-links .nav-item-dropdown:hover > .dropdown-menu {
    display: block; /* Show on hover - can be replaced by JS toggle */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links .dropdown-menu li {
    margin-left: 0 !important; /* Override default li margin if any */
}

.nav-links .dropdown-menu li a {
    padding: 10px 20px; /* Padding for submenu items */
    display: block; /* Make the whole area clickable */
    white-space: nowrap;
    color: var(--text-light);
    font-weight: 400; /* Sub-items might not need to be bold */
    font-size: 0.95rem;
}
.nav-links .dropdown-menu li a:hover,
.nav-links .dropdown-menu li a.active { /* Style for hover and active sub-items */
    color: var(--accent-primary);
    background-color: rgba(0, 242, 234, 0.1); /* Subtle background for hover/active */
    text-shadow: none;
}

.nav-links .dropdown-menu li a::after {
    display: none !important; /* No underline effect for submenu items */
}


.nav-toggle {
    display: none; /* Hidden by default, shown in media query */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* Above nav links on mobile */
}
.hamburger {
    display: block;
    position: relative;
    width: 25px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}
.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* Mobile Nav Open State */
.nav-open .nav-links {
    transform: translateX(0);
}
.nav-open .hamburger {
    background: transparent; /* Middle line disappears */
}
.nav-open .hamburger::before {
    transform: translateY(8px) rotate(45deg);
}
.nav-open .hamburger::after {
    transform: translateY(-8px) rotate(-45deg);
}


/* --- Main Content & Sections --- */
main {
    padding-top: 100px; /* Adjust for fixed header height */
}
section {
    padding: 60px 0 80px; /* Adjusted padding */
    position: relative;
    overflow: hidden; /* Contain animations within section */
}

.section-title, .section-title-inline {
    font-family: var(--font-logo);
    font-size: 2.8rem;
    color: var(--accent-primary);
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1.5px;
    text-shadow: 0 0 8px var(--accent-primary), 0 0 15px var(--shadow-color);
}
.section-title-inline {
    margin-bottom: 20px;
    font-size: 2.2rem;
    text-align: left;
}
.section-title-inline i {
    margin-right: 15px;
    color: var(--accent-secondary);
}
.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #c0c0d0;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.accent-text {
    color: var(--accent-secondary);
    font-weight: 600;
}

/* --- Hero Sections --- */
#hero, #statement-hero, #projects-hero {
    min-height: calc(70vh - 100px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: /* Keep your existing background, or modify if desired */
        radial-gradient(ellipse at center, rgba(18, 18, 34, 0.85) 0%, var(--bg-dark) 75%), /* Darker center */
        url('https://www.transparenttextures.com/patterns/connected.png'); /* New subtle tech texture */
    background-blend-mode: multiply, normal;
    background-size: auto, 200px; /* Adjust texture size */
    position: relative; /* Crucial for positioning art elements */
    padding: 60px 20px;
    overflow: hidden; /* Contain the blurred orbs */
}

/* NEW: Hero Background Art Elements */
.hero-art-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0; /* Start invisible, fade in */
    filter: blur(100px); /* Increased blur for softer edges */
    z-index: 0; /* Behind text content, on top of main background */
    animation-fill-mode: forwards;
    will-change: transform, opacity;
}
.art-blur-orb1 {
    width: clamp(250px, 40vw, 500px); /* Responsive size */
    height: clamp(250px, 40vw, 500px);
    background: var(--accent-primary);
    top: 5%; left: -10%; /* Partially off-screen */
    animation: slowDriftOrb1 25s infinite alternate ease-in-out 0.5s; /* Staggered start */
}
.art-blur-orb2 {
    width: clamp(300px, 50vw, 600px);
    height: clamp(300px, 50vw, 600px);
    background: var(--accent-secondary);
    bottom: -15%; right: -10%; /* Partially off-screen */
    animation: slowDriftOrb2 30s infinite alternate-reverse ease-in-out 1s; /* Staggered start */
}
.art-blur-orb3 { /* A smaller, more central or different colored one */
    width: clamp(200px, 30vw, 400px);
    height: clamp(200px, 30vw, 400px);
    background: var(--accent-tertiary); /* Using the gold/orange accent */
    top: 20%; right: 25%;
    opacity: 0; /* Start slightly less visible */
    filter: blur(120px);
    animation: slowPulseOrb3 20s infinite ease-in-out 1.5s;
}

@keyframes slowDriftOrb1 {
    0% { transform: translate(0, 0) scale(0.8); opacity: 0; }
    20% { opacity: 0.25; } /* Fade in */
    100% { transform: translate(50px, -40px) scale(1.1); opacity: 0.15; }
}
@keyframes slowDriftOrb2 {
    0% { transform: translate(0, 0) scale(0.9); opacity: 0; }
    20% { opacity: 0.3; } /* Fade in */
    100% { transform: translate(-60px, 30px) scale(1.2); opacity: 0.2; }
}
@keyframes slowPulseOrb3 {
    0% { transform: scale(0.9); opacity: 0; }
    20% { opacity: 0.2; } /* Fade in */
    50% { transform: scale(1.1); opacity: 0.1; }
    100% { transform: scale(0.9); opacity: 0.15; }
}


/* Ensure hero text container is above the art */
#hero .container, #statement-hero .container, #projects-hero .container {
    position: relative;
    z-index: 1;
}


.animated-text-hero {
    font-family: var(--font-logo);
    font-size: 3.2rem;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 0 10px var(--accent-primary), 0 0 20px var(--accent-primary), 0 0 5px #fff; /* Added subtle white core */
    opacity: 0;
    animation: heroTextIn 1.2s 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; /* Smoother easing */
}
@keyframes heroTextIn { /* Replaces fadeInDown for hero title */
    from { opacity: 0; transform: translateY(-40px) scale(0.95) skewY(-3deg); }
    to { opacity: 1; transform: translateY(0) scale(1) skewY(0); }
}

.animated-text-hero .highlight {
    color: var(--accent-primary);
    display: inline-block;
    animation: popInHighlight 0.7s 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; /* Bouncier pop */
    transform: scale(0);
}
@keyframes popInHighlight { /* Replaces popIn */
    0% { transform: scale(0) rotate(-10deg); opacity: 0; }
    70% { transform: scale(1.1) rotate(5deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.subtitle.animated-text-subtitle {
    font-size: 1.4rem;
    color: #d0d0e0;
    margin-bottom: 30px;
    opacity: 0;
    animation: heroSubtitleIn 1.2s 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; /* Smoother easing */
}
@keyframes heroSubtitleIn { /* Replaces fadeInUp for hero subtitle */
    from { opacity: 0; transform: translateY(40px) scale(0.95) skewY(3deg); }
    to { opacity: 1; transform: translateY(0) scale(1) skewY(0); }
}

.partnership-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    font-size: 1.1rem;
}
.partner-name { font-weight: 600; }
.partner-name .country { font-size: 0.85em; color: #aaa; display: block; }
.partnership-icon {
    font-size: 2.5rem;
    color: var(--accent-tertiary);
    text-shadow: 0 0 10px var(--accent-tertiary);
}

/* --- Glass Panel Effect --- */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px; /* Softer radius */
    padding: 35px;
    box-shadow: 0 10px 35px 0 rgba(0, 0, 0, 0.4);
    position: relative; /* For potential pseudo-elements */
    overflow: hidden; /* Clip glowing borders */
}
.glass-panel::before { /* Subtle animated border glow */
    content: "";
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(
        transparent,
        rgba(0, 242, 234, 0.2), /* accent-primary */
        transparent 30%
    );
    animation: rotateGlow 8s linear infinite;
    z-index: -1; /* Behind content */
}
@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.glass-panel p {
    margin-bottom: 18px;
    font-size: 1.05rem;
}

/* --- Specific Page Sections --- */
/* Manifesto (index.html) */
#manifesto .glass-panel {
    max-width: 850px;
    margin: 0 auto;
}

/* Objectives (index.html) */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}
.objective-card {
    background: rgba(255, 255, 255, 0.03); /* Slightly different glass */
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
}
.objective-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 10px 30px var(--shadow-color-secondary);
}
.objective-icon {
    font-size: 3rem;
    color: var(--accent-tertiary);
    margin-bottom: 20px;
    display: block;
    text-shadow: 0 0 10px var(--accent-tertiary);
}
.objective-card h3 {
    font-size: 1.5rem;
    color: var(--accent-primary);
    margin-bottom: 10px;
}

/* Digital Commons (index.html) */
#digital-commons .glass-panel { text-align: center; }

/* Statement Pages (arpit & rick) */
.statement-card {
    max-width: 800px;
    margin: 30px auto 0;
    padding: 40px;
}
.statement-quote-icon {
    font-size: 2.5rem;
    color: var(--accent-tertiary);
    opacity: 0.5;
    margin-bottom: 20px;
}
.statement-signature {
    margin-top: 30px;
    text-align: right;
    font-style: italic;
    color: #ccc;
}
.statement-signature strong { color: var(--text-light); font-style: normal; }

/* Projects Page */
.accent-icon-title { color: var(--accent-secondary); margin-right: 10px; }
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.project-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 220px; /* Slightly taller */
    position: relative;
    overflow: hidden;
}
.project-card::before { /* Hover glow effect */
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(0, 242, 234, 0.2), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none; /* Important! */
    z-index: 0;
}
.project-card:hover::before {
    opacity: 1;
}
.project-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 8px 30px var(--shadow-color), 0 0 15px var(--accent-primary) inset;
}
.project-icon {
    font-size: 2.8rem; /* Larger icons */
    color: var(--accent-secondary);
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--accent-secondary);
    height: 45px;
    transition: transform 0.3s ease;
}
.project-card:hover .project-icon {
    transform: scale(1.1) rotate(5deg);
}
.project-card h3 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 600;
    z-index: 1; /* Above pseudo element */
}
.project-card p {
    font-size: 0.9rem;
    color: #b0b0c0;
    z-index: 1; /* Above pseudo element */
}

/* --- CTA Button & Section --- */
.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-dark) !important; /* Ensure text color for button */
    font-weight: bold;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow-color), 0 5px 15px var(--shadow-color-secondary);
    margin-top: 20px;
    text-shadow: none !important; /* Remove text shadow for button text */
}
.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px var(--shadow-color), 0 8px 25px var(--shadow-color-secondary);
}
.cta-button i { margin-left: 8px; }
.cta-section { text-align: center; padding-top: 40px; padding-bottom: 40px; }

/* --- Footer --- */
footer {
    background: var(--bg-medium);
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 50px;
}
footer p { font-size: 0.9rem; color: #a0a0b0; }

/* --- General Animation Classes (from JS) --- */
.animate-on-scroll, .animated-item {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
/* Default animation */
.animate-on-scroll.is-visible,
.animated-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* Specific animations */
.animated-item[data-animation="fadeInUp"].is-visible { transform: translateY(0); }
.animated-item[data-animation="fadeInUp"] { transform: translateY(50px); }

.animated-item[data-animation="fadeInDown"].is-visible { transform: translateY(0); }
.animated-item[data-animation="fadeInDown"] { transform: translateY(-50px); }

.animated-item[data-animation="fadeInLeft"].is-visible { transform: translateX(0); }
.animated-item[data-animation="fadeInLeft"] { transform: translateX(-50px); }

.animated-item[data-animation="fadeInRight"].is-visible { transform: translateX(0); }
.animated-item[data-animation="fadeInRight"] { transform: translateX(50px); }

.animated-item[data-animation="zoomIn"].is-visible { transform: scale(1); }
.animated-item[data-animation="zoomIn"] { transform: scale(0.8); }

.animated-item[data-animation="scaleUp"].is-visible { transform: scale(1); }
.animated-item[data-animation="scaleUp"] { transform: scale(0.5); }

.animated-item[data-animation="fadeIn"].is-visible { opacity: 1; }
.animated-item[data-animation="fadeIn"] { opacity: 0; transform: none; }


/* --- Floating Icons "Clipart" --- */
.floating-icon {
    position: fixed;
    font-size: 2rem;
    color: var(--accent-primary);
    opacity: 0.08; /* Even more subtle */
    z-index: -1;
    transition: transform 0.1s linear;
    will-change: transform;
    filter: blur(1px); /* Soften them */
}
.icon1 { top: 10%; left: 5%; font-size: 2.5rem; color: var(--accent-secondary); }
.icon2 { top: 70%; left: 15%; font-size: 1.8rem; }
.icon3 { top: 20%; left: 80%; font-size: 3rem; color: var(--accent-secondary); }
.icon4 { top: 80%; left: 75%; font-size: 2.2rem; }
.icon5 { top: 50%; left: 90%; font-size: 2rem; }
.icon6 { top: 30%; left: 30%; font-size: 1.5rem; color: var(--accent-secondary); opacity: 0.06; }


/* --- Responsive Design --- */
@media (max-width: 992px) {
    .logo { font-size: 1.8rem; }
    .animated-text-hero { font-size: 2.6rem; }
    .subtitle.animated-text-subtitle { font-size: 1.2rem; }
    .section-title { font-size: 2.2rem; }
    .projects-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

@media (max-width: 768px) {
    main { padding-top: 80px; } /* Header is smaller, but nav might push it */
    header .container { flex-wrap: wrap; } /* Allow nav to wrap if needed */
    
    nav .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 250px;
        background: var(--bg-medium);
        flex-direction: column;
        align-items: flex-start; /* Align items to the start for mobile */
        justify-content: flex-start; /* Align to top */
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
        padding-top: 100px; /* Space for logo/toggle + some breathing room */
        overflow-y: auto; /* Allow scrolling if many items */
    }
    nav .nav-links li {
        margin: 0; /* Reset margin for stacked items */
        width: 100%;
    }
    nav .nav-links li a {
        padding: 15px 25px; /* Increase padding for easier tapping */
        width: 100%;
        justify-content: space-between; /* Pushes icon to the right if present */
    }
    nav .nav-links a::after {
        display: none; /* No underline hover effect on mobile nav items */
    }
     nav .nav-links a:hover,
     nav .nav-links a.active {
        color: var(--accent-primary);
        background-color: rgba(0, 242, 234, 0.05); /* Subtle background for active/hover */
        text-shadow: none;
    }


    /* --- Mobile Dropdown Styles --- */
    .nav-links .dropdown-menu {
        position: static; /* Not absolute in mobile view */
        display: none; /* Initially hidden, JS can toggle */
        background-color: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
        margin: 0;
        width: 100%;
        opacity: 1; /* Ensure visible when display:block */
        visibility: visible; /* Ensure visible when display:block */
        transform: none; /* Reset transform */
        transition: none; /* Reset transition */
    }
    .nav-links .dropdown-menu li a {
        padding: 12px 25px 12px 40px; /* Indent submenu items */
        font-size: 0.9rem;
    }
     .nav-links .dropdown-menu li a:hover,
     .nav-links .dropdown-menu li a.active {
        background-color: rgba(0, 242, 234, 0.1);
    }

    /* Disable hover effect for showing dropdown on mobile */
    .nav-links .nav-item-dropdown:hover > .dropdown-menu {
        display: none; 
    }
    .nav-links .nav-item-dropdown:hover .dropdown-toggle i.fa-angle-down {
        transform: rotate(0deg); /* Reset arrow rotation or manage with JS */
    }

    /* JS-controlled open state for mobile dropdown */
    .nav-open .nav-links .nav-item-dropdown.submenu-open > .dropdown-menu {
        display: block;
    }
    .nav-open .nav-links .nav-item-dropdown.submenu-open > .dropdown-toggle i.fa-angle-down {
        transform: rotate(180deg);
    }
    /* Style for parent of active submenu item on mobile */
    .nav-open .nav-links .nav-item-dropdown .dropdown-toggle.parent-active {
        color: var(--accent-primary);
        background-color: rgba(0, 242, 234, 0.05);
    }


    .nav-toggle { display: block; }

    .animated-text-hero { font-size: 2.2rem; }
    .subtitle.animated-text-subtitle { font-size: 1.1rem; }
    .section-title { font-size: 2rem; }
    .projects-grid { grid-template-columns: 1fr; }
    .project-card { margin-bottom: 20px; }

    .floating-icon { font-size: 1.5rem; opacity: 0.05; }
    .icon3, .icon5 { display: none; }
}

@media (max-width: 480px) {
    .logo { font-size: 1.6rem; }
    .animated-text-hero { font-size: 1.8rem; }
    .subtitle.animated-text-subtitle { font-size: 1rem; }
    .cta-button { padding: 12px 25px; font-size: 1rem; }
    .section-title { font-size: 1.8rem; }
    .floating-icon { display: none; }
    .glass-panel { padding: 25px; }
    .objective-card { padding: 20px; }
    .partnership-logos { flex-direction: column; gap: 10px;}
    .partnership-icon { margin: 5px 0; }
        /* Further reduce orbs or hide one on very small screens */
    .art-blur-orb1 { width: clamp(150px, 30vw, 250px); height: clamp(150px, 30vw, 250px); filter: blur(50px); }
    .art-blur-orb2 { width: clamp(200px, 40vw, 300px); height: clamp(200px, 40vw, 300px); filter: blur(60px); }
    .art-blur-orb3 { display: none; } /* Hide one orb if too cluttered */
}