/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #000000;
    /* Black */
    --secondary: #00FFFF;
    /* Neon blue/cyan */
    --light: #FFFFFF;
    /* White */
    --dark: #121212;
    /* Nearly black for text */
    --accent: #00C3FF;
    /* Slightly deeper neon blue */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--light);
    background-color: var(--dark);
}

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

/* ============================================
   NAVIGATION BAR - MODERN DESIGN
   ============================================ */

/* Header */
header.site-header {
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 100%) !important;
    position: fixed !important;
    width: 100% !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 10000 !important;
    border-bottom: 2px solid var(--secondary) !important;
    box-shadow: 0 4px 30px rgba(0, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1.2rem 0 !important;
    position: relative !important;
    width: 95% !important;
    margin: 0 auto !important;
}

@media (max-width: 768px) {
    .header-container {
        width: 96% !important;
        padding: 1rem 0 !important;
    }
}

@media (max-width: 480px) {
    .header-container {
        width: 94% !important;
    }
}

/* Logo Styling */
.logo-link {
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    z-index: 10001 !important;
    position: relative !important;
    transition: transform 0.3s ease !important;
}

.logo-link:hover {
    transform: scale(1.05) !important;
}

.logo-img {
    height: 55px !important;
    width: auto !important;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.3)) !important;
    transition: filter 0.3s ease !important;
    display: block !important;
}

.logo-link:hover .logo-img {
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.6)) !important;
}

/* Desktop Navigation Wrapper */
.desktop-nav-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.desktop-nav-wrapper .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

/* Desktop Navigation */
.desktop-nav {
    pointer-events: auto;
}

.desktop-nav>ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
    align-items: center;
}

.desktop-nav>ul>li {
    position: relative;
}

.desktop-nav>ul>li>a,
.desktop-nav .dropdown-toggle {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.6rem 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.desktop-nav>ul>li>a::before,
.desktop-nav .dropdown-toggle::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    transition: transform 0.3s ease;
}

.desktop-nav>ul>li>a:hover,
.desktop-nav .dropdown-toggle:hover {
    color: var(--secondary);
    background: rgba(0, 255, 255, 0.05);
}

.desktop-nav>ul>li>a:hover::before,
.desktop-nav .dropdown-toggle:hover::before {
    transform: translateX(-50%) scaleX(1);
}

/* Dropdown Icon */
.desktop-nav .dropdown-toggle i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.desktop-nav .dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.desktop-nav .dropdown {
    position: relative;
}

.desktop-nav .dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: linear-gradient(135deg, #0a0a0a 0%, #000000 100%);
    border: 2px solid var(--secondary);
    border-radius: 12px;
    list-style: none;
    margin: 0;
    padding: 0.8rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.3);
    z-index: 1000;
}

.desktop-nav .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.desktop-nav .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--secondary);
}

.desktop-nav .dropdown-menu li {
    margin: 0;
}

.desktop-nav .dropdown-menu li a {
    display: block;
    padding: 0.9rem 1.5rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.desktop-nav .dropdown-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--secondary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.desktop-nav .dropdown-menu li a:hover {
    background: rgba(0, 255, 255, 0.1);
    color: var(--secondary);
    padding-left: 2rem;
}

.desktop-nav .dropdown-menu li a:hover::before {
    transform: scaleY(1);
}

/* ============================================
   MOBILE NAVIGATION
   ============================================ */

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none !important;
    background: linear-gradient(135deg, var(--secondary), #00CCCC) !important;
    border: none !important;
    color: var(--primary) !important;
    cursor: pointer !important;
    padding: 0.7rem !important;
    z-index: 10001 !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;
    width: 50px !important;
    height: 50px !important;
    position: relative !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3) !important;
    transition: all 0.3s ease !important;
}

.mobile-menu-btn:hover {
    box-shadow: 0 6px 25px rgba(0, 255, 255, 0.5) !important;
    transform: translateY(-2px) !important;
}

.mobile-menu-btn.active {
    background: linear-gradient(135deg, var(--secondary), #00CCCC) !important;
    box-shadow: 0 6px 25px rgba(0, 255, 255, 0.5) !important;
}

.hamburger-line {
    width: 28px !important;
    height: 3px !important;
    background-color: #000000 !important;
    display: block !important;
    transition: all 0.3s ease !important;
    border-radius: 3px !important;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation Dropdown */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    border-top: 2px solid var(--secondary);
    box-shadow: 0 8px 30px rgba(0, 255, 255, 0.3);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    isolation: isolate;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 1.5rem 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #ffffff;
    text-decoration: none;
    padding: 1.2rem 2rem;
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.mobile-nav-link i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, var(--secondary), #00CCCC);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    background: rgba(0, 255, 255, 0.08);
    color: var(--secondary);
    padding-left: 2.5rem;
    outline: none;
}

.mobile-nav-link:hover::before,
.mobile-nav-link:focus::before {
    transform: scaleY(1);
}

.mobile-nav-link:hover i,
.mobile-nav-link:focus i {
    transform: scale(1.2) rotate(5deg);
    color: #ffffff;
}

.mobile-nav-link.current {
    background: rgba(0, 255, 255, 0.12);
    color: var(--secondary);
    border-left: 4px solid var(--secondary);
}

/* Mobile Dropdown */
.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: auto;
}

.mobile-dropdown-toggle .fa-chevron-down {
    font-size: 0.8em;
    transition: transform 0.3s ease;
    margin-left: auto;
}

.mobile-dropdown.active .mobile-dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.mobile-dropdown.active .mobile-submenu {
    max-height: 300px;
}

.mobile-submenu .submenu-link {
    padding-left: 4rem !important;
    font-size: 0.95rem;
    border-left: 3px solid rgba(0, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.3);
}

.mobile-submenu .submenu-link i {
    opacity: 0.8;
}

.mobile-submenu .submenu-link:hover {
    background: rgba(0, 255, 255, 0.15);
    border-left-color: var(--secondary);
}

/* Touch-friendly sizing */
@media (max-width: 768px) {
    .mobile-nav-link {
        min-height: 48px;
        /* Minimum touch target size */
        display: flex;
        align-items: center;
    }
}

/* Desktop navigation - ensure clickable on larger screens */
@media (min-width: 769px) {
    .desktop-nav-wrapper {
        pointer-events: auto;
    }

    .desktop-nav-wrapper .container {
        pointer-events: auto;
    }

    .desktop-nav,
    .desktop-nav *,
    .desktop-nav a,
    .desktop-nav ul,
    .desktop-nav li {
        pointer-events: auto;
        cursor: pointer;
    }
}

/* Media Queries for Mobile Menu */
@media (max-width: 768px) {
    .desktop-nav-wrapper {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        position: fixed !important;
        left: -99999px !important;
        top: -99999px !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        z-index: -99999 !important;
    }

    .desktop-nav-wrapper * {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
        z-index: -99999 !important;
    }

    .desktop-nav {
        display: none !important;
        pointer-events: none !important;
        visibility: hidden !important;
        z-index: -99999 !important;
    }

    .desktop-nav,
    .desktop-nav *,
    .desktop-nav .dropdown,
    .desktop-nav .dropdown-menu,
    .desktop-nav .dropdown-menu *,
    .desktop-nav a,
    .desktop-nav ul,
    .desktop-nav li {
        display: none !important;
        pointer-events: none !important;
        visibility: hidden !important;
        position: absolute !important;
        left: -9999px !important;
        z-index: -99999 !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        z-index: 10002 !important;
    }

    .mobile-nav {
        display: block !important;
    }

    .header-container {
        padding: 0.75rem 0 !important;
        z-index: 10000 !important;
    }

    .logo-link {
        z-index: 10002 !important;
    }
}

/* Force mobile view for testing (remove in production) */
/* 
@media (max-width: 1200px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-nav {
        display: block;
    }
}
*/

@media (max-width: 480px) {
    .mobile-nav-link {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }

    .mobile-nav-link:hover {
        padding-left: 1.5rem;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0d1a1a 100%);
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    padding-top: 80px;
    /* Added to account for fixed header */
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--primary);
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.btn:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    margin-left: 1rem;
}

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

/* Improve legibility on light cyan buttons */
.btn:not(.btn-outline) {
    color: #00242a;
    /* darker teal for contrast */
    text-shadow: none;
    /* remove glow that can reduce clarity */
    font-weight: 600;
}

/* Hover keeps dark text */
.btn:not(.btn-outline):hover {
    color: #00161a;
}

/* If any link styled only with glow-effect but no .btn background */
a.glow-effect.btn {
    color: #00242a;
}

a.glow-effect.btn:hover {
    color: #00161a;
}

/* Ensure outline variant stays readable */
.btn-outline {
    color: var(--secondary);
}

/* Keep white text on specific highlighted buttons */
.btn.keep-white,
.btn-outline.keep-white {
    color: #ffffff !important;
    text-shadow: none;
}

.btn.keep-white:hover,
.btn-outline.keep-white:hover {
    color: #ffffff !important;
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.section-title .underline {
    height: 4px;
    width: 100px;
    background-color: var(--secondary);
    margin: 1rem auto;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--primary);
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 255, 255, 0.2);
    color: var(--light);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.3);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.2rem;
    margin-top: 0.8rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    display: block;
    text-align: center;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--light);
}

/* Portfolio Section */
.portfolio {
    background-color: #1e1e1e;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    height: 250px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    opacity: 0;
    transition: opacity 0.5s;
    padding: 1rem;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-overlay h3 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

/* Testimonials Section */
.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    background-color: var(--primary);
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: none;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.testimonial-slide.active {
    display: block;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 2px solid var(--secondary);
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary);
    color: var(--secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    border: 1px solid var(--secondary);
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.prev-btn:hover,
.next-btn:hover {
    background-color: var(--secondary);
    color: var(--primary);
}

.prev-btn {
    left: -60px;
}

.next-btn {
    right: -60px;
}

/* Contact Section */
.contact {
    background-color: var(--dark);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-info h3 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--secondary);
    margin-right: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 5px;
    background-color: var(--primary);
    color: var(--light);
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    text-align: center;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.footer-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.footer-links li {
    margin: 0 1rem 0.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {

    /* Force all .btn text to white, including hero and home page buttons */
    .btn,
    .hero-buttons .btn,
    a.btn {
        color: #fff !important;
    }

    color: var(--secondary);
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.social-icons a {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0.5rem 0.5rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* Message styles */
.message-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
}

.message {
    background-color: var(--primary);
    color: var(--light);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    border-left: 4px solid var(--secondary);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.message.success {
    border-color: #00ff00;
}

.message.error {
    border-color: #ff0000;
}

.message .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: var(--light);
    cursor: pointer;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)), url('/static/website/img/header-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

/* About Page */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background-color: var(--primary);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-img-container {
    height: 250px;
    overflow: hidden;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.team-member:hover .team-img {
    transform: scale(1.05);
}

.team-info {
    padding: 1.5rem;
}

.team-info h3 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.team-info p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.team-social {
    display: flex;
    gap: 1rem;
}

.team-social a {
    color: var(--light);
    transition: color 0.3s;
}

.team-social a:hover {
    color: var(--secondary);
}

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

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    background-color: var(--primary);
    padding: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: rgba(0, 255, 255, 0.1);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
}

.faq-answer {
    padding: 0 1.2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-answer.active {
    padding: 1.2rem;
    max-height: 500px;
}

/* Terms & Privacy Page */
.terms-container {
    max-width: 900px;
    margin: 0 auto;
}

.terms-section {
    margin-bottom: 3rem;
}

.terms-section h2 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.terms-section h3 {
    color: var(--light);
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
}

.terms-section p,
.terms-section ul {
    margin-bottom: 1rem;
}

.terms-section ul {
    padding-left: 2rem;
}

/* Custom cursor styles */
.cursor-dot {
    position: fixed;
    width: 10px;
    height: 10px;
    background-color: var(--secondary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease, width 0.2s, height 0.2s, border-color 0.3s;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
}

.cursor-outline {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 2px solid var(--secondary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.cursor-hover.cursor-dot {
    width: 15px;
    height: 15px;
    opacity: 0.5;
}

.cursor-hover.cursor-outline {
    width: 40px;
    height: 40px;
    border-color: rgba(0, 255, 255, 0.5);
}

/* Glow effect for buttons */
.btn.glow-effect {
    transition: all 0.3s, box-shadow 0.5s;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.btn.glow-effect:hover {
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.7), 0 0 40px rgba(0, 255, 255, 0.3);
}

/* Hide custom cursor on mobile and other mobile optimizations */
@media (max-width: 768px) {

    .cursor-dot,
    .cursor-outline {
        display: none;
    }

    /* Ensure the mobile menu appears above everything */
    .mobile-nav {
        z-index: 9999;
    }

    /* Adjust header padding for mobile */
    .header-container {
        padding: 0.875rem 0;
    }

    /* Better mobile logo sizing */
    .logo-img {
        max-height: 50px;
    }

    /* Prevent text selection on mobile menu button */
    .mobile-menu-btn {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    /* Smooth mobile navigation animation */
    .mobile-nav {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }

    .mobile-nav.active {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

/* 3D tilt effects */
.js-tilt {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.js-tilt:hover {
    z-index: 10;
}

.service-card.js-tilt:hover i {
    transform: translateZ(30px);
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.service-card.js-tilt:hover h3 {
    transform: translateZ(20px);
}

.service-card i,
.service-card h3,
.service-card p {
    transition: transform 0.3s;
}

.portfolio-item.js-tilt:hover .portfolio-overlay {
    transform: translateZ(20px);
}

/* Glowing text animation */
.glowing-text {
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.7), 0 0 20px rgba(0, 255, 255, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(0, 255, 255, 0.7), 0 0 20px rgba(0, 255, 255, 0.5);
    }

    to {
        text-shadow: 0 0 15px rgba(0, 255, 255, 0.9), 0 0 25px rgba(0, 255, 255, 0.7), 0 0 35px rgba(0, 255, 255, 0.5);
    }
}

/* === About / Core Team Revamp === */
.about-us--revamped {
    background: linear-gradient(135deg, rgba(0, 0, 0, .45), rgba(0, 30, 36, .55));
    border: 1px solid rgba(0, 255, 255, .20);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.about-us--revamped:before {
    content: "";
    position: absolute;
    top: -25%;
    right: -10%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at 30% 40%, rgba(0, 255, 255, .25), transparent 70%);
    filter: blur(8px);
    opacity: .55;
    pointer-events: none;
}

.about-heading {
    color: var(--secondary);
    font-size: 2rem;
    margin: 0 0 1rem;
    font-weight: 700;
}

.about-underline {
    width: 90px;
    height: 3px;
    background: var(--secondary);
    margin: 0 0 2rem;
}

.about-flex {
    display: flex;
    gap: 2.8rem;
    align-items: stretch;
    flex-wrap: wrap;
}

.about-media {
    flex: 0 0 360px;
    max-width: 360px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.team-device {
    width: 100%;
    margin: 0;
    position: relative;
}

.team-device__bezel {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(150deg, #031d20, #001012);
    border: 1px solid rgba(0, 255, 255, .35);
    box-shadow: 0 14px 42px -14px rgba(0, 0, 0, .85), 0 0 0 1px rgba(0, 255, 255, .25), 0 0 22px -4px rgba(0, 255, 255, .35);
    isolation: isolate;
}

.team-device__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.04) contrast(1.05) saturate(1.05);
    transform: translateZ(0);
    transition: transform .9s cubic-bezier(.16, .8, .3, 1);
}

.team-device__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(0, 255, 255, .20), rgba(0, 30, 40, .15) 30%, rgba(0, 0, 0, .55) 70%);
    mix-blend-mode: overlay;
    pointer-events: none;
}

.team-device__shine {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .35), transparent 55%);
    mix-blend-mode: screen;
    opacity: .35;
    pointer-events: none;
    transition: opacity .4s;
}

.team-device__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: .62rem;
    letter-spacing: .7px;
    font-weight: 700;
    background: rgba(0, 255, 255, .14);
    color: var(--secondary);
    padding: .45rem .85rem .42rem;
    border-radius: 40px;
    border: 1px solid rgba(0, 255, 255, .45);
    backdrop-filter: blur(6px);
    box-shadow: 0 0 0 1px rgba(0, 255, 255, .35);
}

.team-device__shadow {
    width: 78%;
    height: 40px;
    background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, .65), transparent 70%);
    margin: 18px auto 0;
    filter: blur(4px);
    transform: translateY(0);
    transition: transform .9s cubic-bezier(.16, .8, .3, 1), opacity .9s;
    opacity: .9;
}

.team-device:hover .team-device__img {
    transform: scale(1.08) translateY(-4px);
}

.team-device:hover .team-device__shine {
    opacity: .55;
}

.team-device:hover+.team-device__shadow,
.team-device:hover .team-device__shadow {
    transform: translateY(4px) scale(.95);
    opacity: .65;
}

/* Copy side */
.about-copy {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.about-copy p {
    margin: 0;
    line-height: 1.62;
    font-size: 1.04rem;
    color: rgba(255, 255, 255, .84);
}

/* Impact */
.impact-heading {
    margin: 1rem 0 1.1rem;
    font-size: 1rem;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: .55rem;
    font-weight: 700;
}

.impact-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 10px var(--secondary);
    display: inline-block;
}

.impact-grid {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.impact-card {
    background: linear-gradient(145deg, rgba(0, 255, 255, .08), rgba(0, 40, 50, .13));
    border: 1px solid rgba(0, 255, 255, .20);
    padding: 1rem .95rem .9rem;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}

.impact-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 25% 20%, rgba(0, 255, 255, .18), transparent 60%);
    opacity: .55;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.impact-label {
    display: block;
    font-size: .58rem;
    letter-spacing: .9px;
    font-weight: 600;
    color: rgba(255, 255, 255, .52);
    text-transform: uppercase;
    margin-bottom: .28rem;
}

.impact-value {
    font-size: 1.85rem;
    font-weight: 700;
    background: linear-gradient(90deg, #fff, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive adjustments */
@media (max-width:980px) {
    .about-media {
        flex: 0 0 320px;
        max-width: 320px
    }
}

@media (max-width:720px) {
    .about-flex {
        flex-direction: column
    }

    .about-media {
        margin: 0 auto
    }

    .team-device__bezel {
        aspect-ratio: 16/10;
    }
}

/* Logo Image Styling */
.logo-img {
    max-height: 85px;
    /* Increased for better visibility */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Responsive logo adjustments */
@media (max-width: 768px) {
    .logo-img {
        max-height: 50px;
        /* Adjusted for mobile */
    }
}

@media (max-width: 480px) {
    .logo-img {
        max-height: 45px;
        /* Slightly smaller for very small screens */
    }
}

/* Add to the end of your existing CSS file */

/* Fallback particles styling */
.fallback-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.fallback-particle {
    position: absolute;
    background-color: rgba(0, 255, 255, 0.6);
    border-radius: 50%;
    animation: float-particle 15s infinite ease-in-out;
}

@keyframes float-particle {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.3;
    }

    25% {
        transform: translate(50px, 25px);
        opacity: 0.8;
    }

    50% {
        transform: translate(25px, -25px);
        opacity: 0.6;
    }

    75% {
        transform: translate(-50px, 25px);
        opacity: 0.3;
    }
}

/* Different animations for variety */
.fallback-particle:nth-child(3n) {
    animation-duration: 18s;
    animation-delay: 1s;
}

.fallback-particle:nth-child(3n+1) {
    animation-duration: 12s;
    animation-delay: 0.5s;
}

.fallback-particle:nth-child(5n) {
    background-color: rgba(0, 200, 255, 0.5);
}

/* Updated Footer Styling */
.new-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 3rem 0 0;
    position: relative;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: var(--secondary);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-col p {
    color: #cccccc;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.2rem 0 1.5rem;
}

.footer-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background-color: rgba(255, 204, 0, 0.15);
    border: 1px solid rgba(255, 204, 0, 0.3);
    border-radius: 4px;
    font-size: 0.8rem;
    color: #ffcc00;
}

.footer-hours {
    margin-top: 1.5rem;
}

.footer-hours h4 {
    color: var(--secondary);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.footer-hours p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-contact-item i {
    color: var(--secondary);
    font-size: 1rem;
    margin-top: 0.2rem;
}

.footer-contact-item p {
    margin-bottom: 0;
    word-break: break-word;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

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

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #999999;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #999999;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--secondary);
}

.back-to-top {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background-color: var(--secondary);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.back-to-top:hover {
    background-color: #fff;
    transform: translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    /* Contact page responsive */
    .contact-container {
        grid-template-columns: 1fr !important;
    }

    .contact-form,
    .contact-info {
        padding: 2rem !important;
    }
}

/* ============================================
   ULTRA MODERN FOOTER - BLACK/CYAN HIGH-TECH
   Advanced animations & glassmorphism
   ============================================ */

:root {
    --footer-black: #000000;
    --footer-dark: #0a0a0a;
    --footer-card: #0f0f11;
    --footer-border: rgba(0, 255, 255, 0.15);
    --footer-cyan: #00FFFF;
    --footer-cyan-glow: rgba(0, 255, 255, 0.3);
    --footer-white: #ffffff;
    --footer-gray: #9ca3af;
}

.ultra-footer {
    position: relative;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    color: var(--footer-white);
    overflow: hidden;
}

/* ========== ANIMATED BACKGROUND ========== */
.footer-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.footer-glow-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.footer-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
    animation: footerOrbFloat 20s ease-in-out infinite;
}

.footer-orb:nth-child(1) {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--footer-cyan), transparent);
    top: -200px;
    left: 10%;
    animation-duration: 25s;
}

.footer-orb:nth-child(2) {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #00cccc, transparent);
    bottom: -150px;
    right: 15%;
    animation-duration: 30s;
    animation-delay: -10s;
}

@keyframes footerOrbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

/* ========== MAIN FOOTER ========== */
.footer-main {
    position: relative;
    padding: 40px 0 30px;
    border-bottom: 1px solid var(--footer-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 35px;
    position: relative;
}

/* ========== FOOTER SECTIONS ========== */
.footer-section {
    position: relative;
}

/* About Section */
.footer-about {
    max-width: 100%;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-logo-img {
    height: 35px;
    width: auto;
    filter: drop-shadow(0 0 8px var(--footer-cyan-glow));
    transition: all 0.3s;
}

.footer-logo-img:hover {
    filter: drop-shadow(0 0 15px var(--footer-cyan-glow));
    transform: scale(1.05);
}

.footer-logo h3 {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--footer-white);
    margin: 0;
    letter-spacing: -0.5px;
}

.footer-tagline {
    color: var(--footer-gray);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Badges */
.footer-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid var(--footer-border);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--footer-white);
    transition: all 0.3s;
}

.footer-badge i {
    color: var(--footer-cyan);
    font-size: 0.9rem;
}

.footer-badge:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: var(--footer-cyan);
    transform: translateX(3px);
    box-shadow: 0 2px 10px rgba(0, 255, 255, 0.15);
}

/* Stats */
.footer-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.stat-item {
    text-align: center;
    padding: 12px;
    background: rgba(0, 255, 255, 0.03);
    border: 1px solid var(--footer-border);
    border-radius: 8px;
    transition: all 0.3s;
}

.stat-item:hover {
    background: rgba(0, 255, 255, 0.08);
    border-color: var(--footer-cyan);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 255, 0.1);
}

.stat-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--footer-cyan);
    margin-bottom: 3px;
    text-shadow: 0 0 15px var(--footer-cyan-glow);
}

.stat-label {
    display: block;
    font-size: 0.7rem;
    color: var(--footer-gray);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Footer Headings */
.footer-heading {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--footer-white);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: -0.3px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--footer-cyan), transparent);
    border-radius: 2px;
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--footer-gray);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
    position: relative;
}

.footer-links a i {
    color: var(--footer-cyan);
    font-size: 0.6rem;
    transition: transform 0.3s;
}

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

.footer-links a:hover i {
    transform: translateX(2px);
}

/* Contact Info */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0 0 15px;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-contact i {
    color: var(--footer-cyan);
    font-size: 0.95rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact .contact-label {
    display: block;
    font-size: 0.7rem;
    color: var(--footer-gray);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.footer-contact a {
    color: var(--footer-white);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    font-size: 0.85rem;
}

.footer-contact a:hover {
    color: var(--footer-cyan);
}

.footer-contact span:not(.contact-label) {
    color: var(--footer-white);
    font-size: 0.85rem;
    display: block;
}

/* CTA Button */
.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--footer-cyan), #00cccc);
    border: 2px solid var(--footer-cyan);
    border-radius: 50px;
    color: var(--footer-black);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
}

.footer-cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    border-radius: 50%;
}

.footer-cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.footer-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 255, 255, 0.4);
}

.footer-cta-btn i {
    transition: transform 0.3s;
}

.footer-cta-btn:hover i {
    transform: translateX(5px);
}

/* ========== FOOTER BOTTOM ========== */
.footer-bottom {
    position: relative;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: var(--footer-gray);
    font-size: 0.8rem;
}

.company-name {
    color: var(--footer-cyan);
    font-weight: 700;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-legal a {
    color: var(--footer-gray);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--footer-cyan);
}

.footer-legal .separator {
    color: var(--footer-border);
}

/* ========== BACK TO TOP BUTTON ========== */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--footer-cyan), #00cccc);
    border: 2px solid var(--footer-cyan);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top i {
    color: var(--footer-black);
    font-size: 1rem;
}

.back-to-top .btn-text {
    color: var(--footer-black);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.5);
    background: linear-gradient(135deg, #00cccc, var(--footer-cyan));
}

.back-to-top:active {
    transform: translateY(-3px) scale(0.95);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 40px;
    }

    .footer-section:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
    }
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .footer-stats {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 40px 0 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    /* Hide company info section on mobile */
    .footer-about {
        display: none;
    }

    /* Optimize section headings for mobile */
    .footer-heading {
        font-size: 1.1rem;
        margin-bottom: 20px;
        padding-bottom: 12px;
        text-align: center;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
    }

    /* Center and optimize Quick Links */
    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 20px;
    }

    .footer-links li {
        margin-bottom: 0;
    }

    .footer-links a {
        font-size: 0.9rem;
        padding: 8px 16px;
        background: rgba(0, 255, 255, 0.05);
        border: 1px solid rgba(0, 255, 255, 0.15);
        border-radius: 20px;
        transition: all 0.3s ease;
    }

    .footer-links a:hover {
        background: rgba(0, 255, 255, 0.15);
        border-color: var(--footer-cyan);
        transform: translateY(-2px);
    }

    .footer-links a i {
        display: none;
    }

    /* Optimize contact info for mobile */
    .footer-contact {
        margin-bottom: 20px;
    }

    .footer-contact li {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        padding: 15px;
        background: rgba(0, 255, 255, 0.03);
        border: 1px solid rgba(0, 255, 255, 0.1);
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .footer-contact i {
        font-size: 1.3rem;
        margin-top: 0;
    }

    .footer-contact .contact-label {
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--footer-cyan);
        margin-bottom: 4px;
        display: block;
    }

    .footer-contact a,
    .footer-contact span {
        font-size: 0.9rem;
        word-break: break-word;
    }

    /* Optimize CTA button for mobile */
    .footer-cta-btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 1rem;
        justify-content: center;
        border-radius: 30px;
        box-shadow: 0 4px 20px rgba(0, 255, 255, 0.3);
    }

    .footer-cta-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 30px rgba(0, 255, 255, 0.5);
    }

    .footer-section:last-child {
        max-width: 100%;
    }

    .footer-stats {
        max-width: 100%;
    }

    /* Optimize bottom section */
    .footer-bottom {
        padding: 20px 0;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-copyright {
        font-size: 0.85rem;
    }

    .footer-legal {
        justify-content: center;
        gap: 15px;
    }

    .footer-legal a {
        font-size: 0.85rem;
        padding: 6px 12px;
        background: rgba(0, 255, 255, 0.05);
        border-radius: 15px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        box-shadow: 0 4px 20px rgba(0, 255, 255, 0.4);
    }
}

@media (max-width: 480px) {
    .footer-logo {
        flex-direction: row;
        align-items: center;
    }

    .footer-stats {
        grid-template-columns: 1fr;
    }

    .footer-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .back-to-top {
        width: 38px;
        height: 38px;
    }

    .back-to-top .btn-text {
        display: none;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes footerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section {
    animation: footerFadeIn 0.8s ease-out backwards;
}

.footer-section:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-section:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-section:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-section:nth-child(4) {
    animation-delay: 0.4s;
}

/* ============================================
   E-COMMERCE GRID STYLES
   ============================================ */

.ecommerce-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
    padding: 20px 0;
}

.grid-item {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05) 0%, rgba(0, 195, 255, 0.05) 100%);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.2);
    border-color: var(--secondary);
}

.grid-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
}

.grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.grid-item:hover .grid-image img {
    transform: scale(1.05);
}

.grid-content {
    padding: 25px;
    position: relative;
    z-index: 3;
}

.grid-content h3 {
    color: var(--light);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: capitalize;
}

.grid-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ecommerce-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }

    .grid-image {
        height: 180px;
    }

    .grid-content {
        padding: 20px;
    }

    .grid-content h3 {
        font-size: 1.2rem;
    }
}

/* ============================================
   BUILD PROCESS SECTION STYLES
   ============================================ */

.build-process-section {
    margin: 60px 0;
    padding: 50px 0;
    position: relative;
}

.build-process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--secondary) 50%, transparent 100%);
    opacity: 0.5;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 15px;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.process-list {
    max-width: 800px;
    margin: 40px auto 0;
    position: relative;
}



.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
    transition: all 0.4s ease;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.process-step:hover::before {
    transform: translateX(0);
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 255, 255, 0.15);
    border-color: var(--secondary);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.15) 0%, rgba(0, 195, 255, 0.1) 100%);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 30px;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.process-step:hover .step-number {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.25) 0%, rgba(0, 195, 255, 0.15) 100%);
    border-color: var(--secondary);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}



.step-content {
    flex: 1;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05) 0%, rgba(0, 195, 255, 0.03) 100%);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 15px;
    padding: 30px;
    margin-top: 10px;
    transition: all 0.4s ease;
}

.process-step:hover .step-content {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.08) 0%, rgba(0, 195, 255, 0.05) 100%);
    border-color: rgba(0, 255, 255, 0.3);
    transform: translateX(10px);
}

.step-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 15px;
    line-height: 1.3;
}

.step-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* Process Step Animations */
.process-step:nth-child(1) {
    animation: fadeInUp 0.8s ease-out;
}

.process-step:nth-child(2) {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.process-step:nth-child(3) {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.process-step:nth-child(4) {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .build-process-section {
        margin: 40px 0;
        padding: 30px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .process-list {
        max-width: 100%;
        padding: 0 20px;
    }



    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 40px;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 20px;
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .step-content {
        margin-top: 0;
        padding: 25px 20px;
        width: 100%;
    }

    .step-content h3 {
        font-size: 1.2rem;
    }


}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   TECHNOLOGY SECTION STYLES
   ============================================ */

.tech-showcase .tech-badge:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.2);
    border-color: var(--secondary);
}

.tech-showcase .tech-badge:hover i {
    color: var(--light);
    text-shadow: 0 0 20px var(--secondary);
}

.section-label {
    position: relative;
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--secondary);
    opacity: 0.6;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

/* Responsive for tech section */
@media (max-width: 768px) {
    .tech-showcase {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .tech-showcase .tech-badge {
        padding: 25px 20px !important;
    }

    .tech-showcase .tech-badge i {
        font-size: 2.5rem !important;
        margin-bottom: 15px !important;
    }

    .tech-showcase .tech-badge h5 {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 480px) {
    .tech-showcase {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   CAPABILITY BANNER STYLES
   ============================================ */

.capability-banner {
    margin: 60px 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.capability-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(0, 255, 255, 0.1) 0%,
            rgba(0, 195, 255, 0.05) 25%,
            rgba(0, 255, 255, 0.08) 50%,
            rgba(0, 195, 255, 0.05) 75%,
            rgba(0, 255, 255, 0.1) 100%);
    border-top: 2px solid rgba(0, 255, 255, 0.3);
    border-bottom: 2px solid rgba(0, 255, 255, 0.3);
}

.capability-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(0, 255, 255, 0.1) 50%,
            transparent 100%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 50px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.banner-text {
    flex: 1;
    max-width: 700px;
}

.banner-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
}

.banner-text h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.banner-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
}

.banner-cta {
    flex-shrink: 0;
}

.banner-btn {
    display: inline-block;
    padding: 18px 35px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.3);
}

.banner-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.2) 50%,
            transparent 100%);
    transition: left 0.6s ease;
}

.banner-btn:hover::before {
    left: 100%;
}

.banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.4);
    background: linear-gradient(135deg, var(--light) 0%, rgba(255, 255, 255, 0.9) 100%);
}

/* Responsive Design */
@media (max-width: 968px) {
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 40px 20px;
    }

    .banner-text h3 {
        font-size: 1.8rem;
    }

    .banner-text h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .capability-banner {
        margin: 40px 0;
    }

    .banner-content {
        padding: 35px 15px;
    }

    .banner-text h3 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .banner-text p {
        font-size: 1rem;
    }

    .banner-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
}