/* --------------------------------------------------------------Nav Bar ---------------------------------------------------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    background: linear-gradient(135deg, #050506 0%, #0f1117 40%, #1a1d26 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px;
    color: #f8fafc;
    overflow-x: hidden !important;
    position: relative;

}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

header {
    margin-bottom: 40px;
}

.navbar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    width: 100%;
    max-width: 100%;
}


/* Logo Section */
.logo-container {
    display: flex;
    align-items: center;
    padding: 12px 0;
}

.logo {
    height: 40px;
    width: auto;
    border-radius: 5px;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-left: 10px;
    background: linear-gradient(90deg, #7b918a, #997e84, #1ebfff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glowShift 4s linear infinite;
}
@keyframes glowShift {
    100% { background-position: 0% 50%; }
    0% { background-position: 200% 50%; }
}


/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #f1f5f9;
    text-decoration: none;
    padding: 20px 18px;
    display: block;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #60a5fa;
}

.nav-links a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background: #60a5fa;
    border-radius: 2px;
}

/* Services Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    overflow: hidden;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-content i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Blinking Contact Button */
.contact-btn {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 50px;
    padding: 12px 28px;
    margin-left: 10px;
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(59, 130, 246, 0.8), 0 0 20px rgba(59, 130, 246, 0.6); }
}

.contact-btn:hover {
    transform: translateY(-2px);
    animation: none;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6), 0 0 25px rgba(59, 130, 246, 0.5);
}

/* Hamburger Menu for Mobile */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: #f1f5f9;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

/* Overlay for mobile menu */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 998;
    display: none;
}

.overlay.active {
    display: block;
}

/* Close button for mobile menu */
.close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: #f1f5f9;
    font-size: 1.8rem;
    cursor: pointer;
    display: none;
}


/* Responsive Styles */
@media (max-width: 992px) {
    .hamburger {
        display: block;
    }

    .close-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(30, 41, 59, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: flex-start;
        padding: 50px 30px 30px;
        transition: right 0.5s ease;
        z-index: 999;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        border-radius: 15px 0 0 15px;
        overflow-y: auto;
        overflow-x: hidden;
    }

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

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        padding: 16px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a:hover::after {
        display: none;
    }

    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.05);
        border: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-radius: 8px;
        margin-top: 5px;
    }

    .dropdown.active .dropdown-content {
        max-height: 400px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .dropdown-content a {
        padding: 12px 15px;
    }

    /* Make dropdown clickable on mobile */
    .dropdown > a {
        cursor: pointer;
        position: relative;
        padding-right: 30px !important;
    }

    .dropdown > a::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
        font-size: 0.8rem;
    }

    .dropdown.active > a::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .contact-btn {
        margin: 20px 0 0 0;
        width: 100%;
        text-align: center;
    }
}








/* Modern Footer CSS */
:root {
    --primary: #00d4ff;
    --primary-dark: #4f46e5;
    --secondary: #06b6d4;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --light: #f8fafc;
    --gray: #94a3b8;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

/* Enhanced Footer Styles */
footer {
    background: linear-gradient(180deg, var(--dark-light) 0%, #111827 100%);
    border-top: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    margin-top: 4rem;
    margin-bottom: 0px;
    position: relative;
    z-index: 100;
    border-radius: 40px 40px 0 0;
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Animated gradient border */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    background-size: 200% 200%;
    animation: gradientFlow 3s ease-in-out infinite;
    border-radius: 40px 40px 0 0;
}

/* Floating particles background */
.footer-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: floatParticles 15s infinite linear;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    color: var(--light);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-column h3:hover::after {
    width: 100%;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
    transition: var(--transition);
    position: relative;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    padding: 8px 0 8px 0;
    position: relative;
    z-index: 1;
}

/* Fixed dot indicator with proper positioning */
.footer-links li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    transition: var(--transition);
    opacity: 0.5;
    z-index: 0;
    display: none; /* Hide by default, show on hover */
}

.footer-links a i {
    width: 20px;
    margin-right: 10px;
    transition: var(--transition);
    font-size: 1rem;
    text-align: center;
    z-index: 2;
    position: relative;
    color: var(--gray); /* FIXED: Make icons light gray by default */
}

.footer-links a:hover {
    color: var(--light);
    transform: translateX(10px);
}

.footer-links a:hover i {
    color: var(--primary); /* FIXED: Change to primary color on hover */
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
    transform: scale(1.2);
}

/* Show and animate dot on hover */
.footer-links li:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1.5);
    box-shadow: 0 0 10px var(--primary);
    display: block;
}

/* Glow effect on hover */
.footer-links li:hover {
    padding-left: 15px;
}

.footer-links li:hover::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.1), transparent);
    border-radius: 4px;
}

.footer-about {
    position: relative;
}

.footer-about p {
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 320px;
    line-height: 1.8;
}

.premium-badge {
    color: var(--gray);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--light); /* FIXED: Ensure icons are white */
    font-size: 1.2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    transition: left 0.3s ease;
    z-index: -1;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
    border-color: transparent;
    color: white; /* FIXED: Ensure white on hover */
}

.social-links a:hover::before {
    left: 0;
}

.footer-newsletter {
    position: relative;
}

.footer-newsletter p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.newsletter-form .input-wrapper {
    position: relative;
}

.newsletter-form input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--light);
    outline: none;
    transition: var(--transition);
    font-size: 1rem;
    font-family: inherit;
}

.newsletter-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

.newsletter-form input::placeholder {
    color: var(--gray);
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: var(--gradient);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-family: inherit;
}

.newsletter-form button i {
    color: white; /* FIXED: Ensure button icon is white */
}

.newsletter-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transition: left 0.4s ease;
    z-index: -1;
}

.newsletter-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

.newsletter-form button:hover::before {
    left: 0;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    gap: 1.5rem;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: var(--gradient);
    opacity: 0.3;
}

.copyright {
    color: var(--gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.copyright i {
    color: var(--primary); /* Keep copyright icon blue */
    font-size: 1.1rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-bottom-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-bottom-links a i {
    color: var(--gray); /* FIXED: Make icons light gray */
    transition: var(--transition);
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

.footer-bottom-links a:hover i {
    color: var(--primary); /* FIXED: Change icon color on hover */
}

.footer-bottom-links a:hover::after {
    width: 100%;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientFlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes floatParticles {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
    }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.footer-container > * {
    animation: fadeInUp 0.6s ease-out backwards;
}

.footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer-column:nth-child(3) { animation-delay: 0.3s; }
.footer-column:nth-child(4) { animation-delay: 0.4s; }
.footer-bottom { animation-delay: 0.5s; }

/* Responsive adjustments */
@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        text-align: left;
    }
    
    .copyright {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-container {
        padding: 3rem 1.5rem 1.5rem;
    }
    
    footer {
        border-radius: 30px 30px 0 0;
    }
    
    .footer-bottom-links {
        gap: 1.5rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    footer {
        border-radius: 25px 25px 0 0;
    }
    
    .footer-container {
        padding: 2.5rem 1rem 1rem;
    }
    
    .footer-bottom {
        gap: 1rem;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

/* Gradient mask for smooth top edge */
footer {
    mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 95%,
        rgba(0, 0, 0, 0) 100%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 95%,
        rgba(0, 0, 0, 0) 100%
    );
}

/* FIXED: Global rule to ensure all Font Awesome icons in footer have appropriate colors */
footer i {
    /* This rule ensures icons inherit appropriate colors from their parent elements */
    color: inherit;
}