Glass Effect Styles for Techtheon

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}


/* Advanced 3D Glass Effect Utilities */
.glass-effect {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 8px 32px 0 rgba(31, 38, 135, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(152, 54, 54, 0.05);
    position: relative;
    overflow: hidden;
}

.glass-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow:
        0 8px 32px 0 rgba(31, 38, 135, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

/* Advanced Navigation Glass Effect */
.glass-nav {
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 4px 20px rgba(31, 38, 135, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
}

/* 3D Morphing Cards */
.morph-card {
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    box-shadow:
        0 15px 35px rgba(31, 38, 135, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.morph-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    z-index: 1;
    pointer-events: none;
}



body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(59, 130, 246, 0.03);
    z-index: -1;
}





/* Custom scrollbar */
::-webkit-scrollbar {
    width: 24px;
    background-color: rgb(0, 7, 18);
    
}



::-webkit-scrollbar-thumb {
    background: rgb(80, 0, 253);
    border-radius: 50px;
}



/* Mobile menu styles */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 40;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: none;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    display: block;
}

/* Ensure desktop navigation is always visible on larger screens */
@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }

    .hamburger {
        display: none !important;
    }
}

/* Ensure mobile navigation is properly hidden on desktop */
@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
}

.mobile-menu a {
    display: block;
    padding: 1rem 2rem;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #60a5fa;
}

/* Hamburger Animation */
.hamburger svg {
    transition: transform 0.3s ease;
}

.hamburger.active svg {
    transform: rotate(90deg);
}

/* Navigation fixes for all screen sizes */
.nav-container {
    position: relative;
}

/* Force proper display states for Tailwind classes */
@media (min-width: 769px) {
    .hidden {
        display: none !important;
    }

    .md\\:block {
        display: block !important;
    }

    .md\\:hidden {
        display: none !important;
    }

    .mobile-menu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

@media (max-width: 768px) {
    .hidden {
        display: none !important;
    }

    .md\\:block {
        display: none !important;
    }

    .md\\:hidden {
        display: block !important;
    }

    .mobile-menu {
        display: block !important;
    }

    .mobile-menu:not(.active) {
        visibility: hidden !important;
        opacity: 0 !important;
        transform: translateY(-100%) !important;
    }
}

/* Responsive Design Improvements */
@media (max-width: 768px) {
    .glass-3d, .morph-card {
        transform: none !important;
    }

    .particles {
        display: none;
    }

    .float-animation {
        animation: none;
    }

    .hero h1 {
        font-size: 2.5rem !important;
    }

    .hero p {
        font-size: 1rem !important;
    }

    .grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .max-w-7xl {
        padding: 0 1rem;
    }

    .py-20 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem !important;
    }

    .text-4xl {
        font-size: 2rem !important;
    }

    .text-3xl {
        font-size: 1.5rem !important;
    }

    .p-8 {
        padding: 1.5rem !important;
    }

    .px-8 {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .min-h-screen {
        min-height: 80vh !important;
    }

    .flex-col {
        gap: 0.5rem !important;
    }

    .space-y-1 > * + * {
        margin-top: 0.25rem !important;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .float-animation {
        animation: none !important;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .glass-3d, .morph-card {
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .min-h-screen {
        min-height: 100vh !important;
    }

    .py-20 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .hero h1 {
        font-size: 2.5rem !important;
    }
}

/* Text glow effect */
.text-glow {
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

/* Button glass effect */
.btn-glass {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Pulse animation for interactive elements */
.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}

/* Fade in animation */
.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Advanced 3D Interactive Elements */
.glass-3d {
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow:
        0 20px 40px rgba(31, 38, 135, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Floating Animation for Cards */
.float-animation {
    animation: floatCard 6s ease-in-out infinite;
}

.float-animation:nth-child(2n) {
    animation-delay: -2s;
}

.float-animation:nth-child(3n) {
    animation-delay: -4s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-10px) rotate(1deg);
    }
    66% {
        transform: translateY(5px) rotate(-0.5deg);
    }
}
