/* 
   Veer Teja Water Technology - Premium Industrial Design System
   Color Palette: Deep Blue, Cyan, Aqua, White, Dark Blue
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0a192f;
    --primary-light: #172a45;
    --accent: #0077ff;
    --secondary: #00d2ff;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 119, 255, 0.1);
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

section {
    padding: 100px 5%;
}

h1, h2, h3, h4 {
    color: var(--white);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Glassmorphism Utility (Light Version) */
.glass-card {
    background: var(--bg-white);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 119, 255, 0.1);
    border-color: var(--accent);
}

/* Premium Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(10, 25, 47, 0.2);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 15px 8%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.logo img {
    height: 60px;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--primary);
    font-weight: 500;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #020c1b;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 25, 47, 0.6), rgba(10, 25, 47, 0.8)), url('assets/hero-bg.png') no-repeat center center/cover;
    animation: kenburns 20s infinite alternate;
    z-index: 1;
}

@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-content {
    max-width: 1000px;
    z-index: 10;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 45px;
    max-width: 800px;
    margin-inline: auto;
    font-weight: 400;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.water-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: rgba(0, 242, 254, 0.1);
    border-radius: 50%;
    animation: ripple 4s linear infinite;
    z-index: 1;
}

.water-ripple::before, .water-ripple::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    animation: ripple 4s linear infinite;
}

.water-ripple::before { animation-delay: 1s; }
.water-ripple::after { animation-delay: 2s; }

@keyframes ripple {
    0% { width: 0; height: 0; opacity: 0.5; }
    100% { width: 1000px; height: 1000px; opacity: 0; }
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

[data-reveal].active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    background: #020c1b;
    padding: 80px 5% 40px;
    border-top: 1px solid var(--glass-border);
}

/* Grid Layouts */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    padding: 30px;
    background: var(--bg-white);
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-premium);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card img, .product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.service-card img:hover, .product-card img:hover {
    transform: scale(1.05);
}

.service-card h3, .product-card h3 {
    margin-bottom: 10px;
}

.btn-text {
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent);
    width: 60px;
    height: 60px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.form-group {
    margin-bottom: 20px;
}

input, select, textarea {
    width: 100%;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: var(--text-dark);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    padding-right: 45px;
    appearance: none;
    -webkit-appearance: none;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

.w-full { width: 100%; }

/* Floating Buttons */
.floating-btns {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-wa, .float-call {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    animation: pulse 2s infinite;
}

.float-wa { background: #25d366; }
.float-call { background: var(--primary); }

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Mobile Footer & Floating Buttons Fix */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        text-align: left;
        gap: 40px;
    }

    .footer-contact p {
        word-break: break-all; /* Prevent long emails from breaking layout */
    }

    .floating-btns {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .float-wa, .float-call {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

footer {
    overflow: hidden; /* Prevent horizontal scroll */
}

.feature-card i, .industry-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
}

.industry-card {
    text-align: center;
}

/* FAQ Styles */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    cursor: pointer;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    color: var(--text-muted);
    margin-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    margin-top: 15px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-question i {
    transition: var(--transition);
}

/* Timeline Styles */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--glass-border);
}

.timeline-item {
    margin-bottom: 40px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    z-index: 2;
}

.timeline-content {
    width: 45%;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
}

/* Testimonials */
.stars {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-card h4 {
    color: var(--accent);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    .timeline-dot {
        left: 20px;
    }
    .timeline-item, .timeline-item:nth-child(even) {
        justify-content: flex-start;
    }
    .timeline-content {
        width: 100%;
        margin-left: 40px;
        text-align: left !important;
    }
}


/* Mobile Responsive Overrides */
@media (max-width: 768px) {
    nav {
        padding: 15px 5%;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
    }

    .menu-toggle {
        display: block;
        color: var(--white);
        font-size: 2rem;
        z-index: 1001;
    }

    .hero-content h1 {
        font-size: 2.2rem !important;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1rem !important;
        color: #fff !important; /* Ensure readable white */
        opacity: 1 !important;
        margin-bottom: 30px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }

    .hero-btns .btn {
        width: 100%;
        padding: 12px 20px;
    }

    .trust-badges {
        gap: 15px;
        margin-top: 30px;
    }

    .trust-badges span {
        font-size: 0.85rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        padding-top: 100px;
        transition: var(--transition);
        box-shadow: 10px 0 50px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        color: var(--white) !important;
        font-size: 1.5rem;
    }

    /* Fix similar colors on home page sections */
    section {
        padding: 60px 5%;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-item {
        padding: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Fix global text color issues */
.glass-card p {
    color: var(--text-muted);
}

.about-text p {
    color: var(--text-dark);
}


/* Page Headers */
.page-header {
    padding: 150px 5% 80px;
    background: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)), url("assets/hero-bg.png") center/cover;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    background: linear-gradient(to right, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.text-center { text-align: center; }

.cta-section {
    padding: 80px 5%;
}

.nav-links a.active {
    color: var(--accent);
    font-weight: 700;
}


/* Mobile Image Fit */
img {
    max-width: 100%;
    height: auto;
}


/* Fix Select Dropdown Visibility */
select option {
    background-color: var(--bg-white);
    color: var(--text-dark);
}


/* Particle Effect */
.particle {
    position: absolute;
    background: rgba(0, 242, 254, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    animation: float-particle var(--duration) linear infinite;
}

@keyframes float-particle {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: translateY(-100vh) scale(0.5); opacity: 0; }
}


/* Footer Text Visibility Fix */
footer h4 {
    color: var(--white) !important;
}

footer p {
    color: rgba(255, 255, 255, 0.8) !important;
}

footer a {
    color: rgba(255, 255, 255, 0.7) !important;
}

footer a:hover {
    color: var(--accent) !important;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5) !important;
}


/* Hero Button Visibility Fix */
.hero-btns .btn-primary {
    background: var(--accent) !important;
    color: var(--primary) !important;
    border: none;
}

.hero-btns .btn-outline {
    border-color: var(--white) !important;
    color: var(--white) !important;
}

.hero-btns .btn-outline:hover {
    background: var(--white) !important;
    color: var(--primary) !important;
}


/* Hero Trust Badges Fix */
.trust-badges {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.8);
}

.trust-badges span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
}

.trust-badges i {
    color: var(--accent);
}


/* Final Mobile Fixes */
@media (max-width: 768px) {
    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: var(--primary) !important; /* Force solid color on mobile for visibility */
    }

    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        color: #ffffff !important;
        font-size: 1.8rem;
        cursor: pointer;
        width: 40px;
        height: 40px;
    }

    .about-image {
        margin-top: 30px;
    }

    .about-image .glass-card {
        padding: 0 !important; /* Remove padding that shrinks the image */
        overflow: hidden;
    }

    .about-image img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 20px;
    }

    .nav-links {
        background: var(--primary) !important;
    }
}


.glass-bg {
    background: #f1f5f9;
}


@media (max-width: 768px) {
    .hero-content {
        padding-top: 100px;
    }
}


.footer-logo { height: 70px; margin-bottom: 20px; }

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}


/* Final Comprehensive Mobile & Visibility Fixes */
@media (max-width: 768px) {
    .contact-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px;
    }

    .split-layout {
        display: flex !important;
        flex-direction: column !important;
        text-align: center;
        gap: 30px;
    }

    .about-image {
        order: -1; /* Put image on top for mobile */
        width: 100% !important;
    }

    .about-image .glass-card {
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    .about-image img {
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        border-radius: 15px;
    }

    .section-title {
        color: var(--primary) !important;
        font-size: 2rem !important;
    }

    /* Fix contrast for section headers */
    h2.section-title {
        color: var(--primary) !important;
    }

    .about-text p {
        color: var(--text-dark) !important;
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    #about-preview, #services-preview, #why-us, #industries, #faq {
        background: #ffffff !important;
    }
}

/* Fix "Our Commitment to Quality" Visibility */
.glass-bg, #why-us {
    background: #ffffff !important;
}

.glass-bg .section-title, .glass-bg h3 {
    color: var(--primary) !important;
}

.feature-card h3 {
    color: var(--primary) !important;
}

.feature-card p {
    color: var(--text-muted) !important;
}


/* Absolute Mobile Nav Visibility Fix */
@media (max-width: 768px) {
    nav, nav.scrolled {
        background: #0a192f !important; /* Force Navy */
        height: 70px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    #menuToggle, .menu-toggle {
        display: flex !important;
        color: #ffffff !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 9999 !important;
    }

}

/* Premium Product Grid */
.premium-section {
    padding: 80px 5%;
}

.category-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.premium-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

@media (max-width: 1200px) { .premium-product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .premium-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .premium-product-grid { grid-template-columns: 1fr; } }

.premium-product-card {
    background: var(--bg-white);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.premium-product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    box-shadow: inset 0 0 0 1px rgba(0, 119, 255, 0);
    transition: var(--transition);
    pointer-events: none;
}

.premium-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 119, 255, 0.15);
    border-color: transparent;
}

.premium-product-card:hover::before {
    box-shadow: inset 0 0 0 2px var(--accent);
}

.product-image-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.premium-product-card:hover .product-image-wrapper img {
    transform: scale(1.1);
}

.product-tagline {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-features {
    list-style: none;
    margin-bottom: 25px;
    padding-top: 15px;
    border-top: 1px solid var(--glass-border);
}

.product-features li {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.product-features li i {
    color: var(--accent);
    font-size: 0.8rem;
}

.btn-view-details {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    cursor: pointer;
}

.premium-product-card:hover .btn-view-details {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-view-details i {
    transition: transform 0.3s ease;
}

.premium-product-card:hover .btn-view-details i {
    transform: translateX(5px);
}


/* Dropdown Menu CSS */
.nav-links li.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 260px;
    box-shadow: var(--shadow-premium);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    list-style: none;
    z-index: 100;
    border: 1px solid var(--glass-border);
    padding: 10px 0;
}

.nav-links li.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block !important;
    padding: 12px 20px !important;
    color: var(--text-dark) !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: rgba(0, 119, 255, 0.05) !important;
    color: var(--accent) !important;
    padding-left: 25px !important;
}

.dropdown-toggle i {
    transition: transform 0.3s ease;
}

/* Mobile Dropdown Fix */
@media (max-width: 991px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        display: none;
        border: none;
        padding: 5px 0 5px 15px;
        margin-top: 5px;
        border-radius: 8px;
    }
    
    .nav-links li.dropdown.active-dropdown .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        color: var(--white) !important;
        padding: 10px 15px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .dropdown-menu li:last-child a {
        border-bottom: none;
    }
}
