/* Public website styles retained from the approved source UI. */

:root {
            --primary: #2c3e50;
            --secondary: #3498db;
            --accent: #e74c3c;
            --light: #ecf0f1;
            --dark: #2c3e50;
            --white: #ffffff;
            --success: #2ecc71;
            --warning: #f39c12;
            --dark-bg: #1a2530;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: var(--white);
            line-height: 1.6;
            overflow-x: hidden;
            min-height: 100vh;
        }

        /* 3D Background */
        .bg-3d {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -2;
        }

        .cube {
            position: absolute;
            transform-style: preserve-3d;
            animation: rotate 20s infinite linear;
        }

        .cube-1 {
            width: 100px;
            height: 100px;
            top: 20%;
            left: 10%;
            animation-delay: 0s;
        }

        .cube-2 {
            width: 150px;
            height: 150px;
            top: 60%;
            right: 15%;
            animation-delay: -5s;
        }

        .cube-3 {
            width: 80px;
            height: 80px;
            bottom: 20%;
            left: 20%;
            animation-delay: -10s;
        }

        .face {
            position: absolute;
            width: 100%;
            height: 100%;
            background: rgba(255,255,255,0.1);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 10px;
        }

        .front  { transform: translateZ(50px); }
        .back   { transform: rotateY(180deg) translateZ(50px); }
        .right  { transform: rotateY(90deg) translateZ(50px); }
        .left   { transform: rotateY(-90deg) translateZ(50px); }
        .top    { transform: rotateX(90deg) translateZ(50px); }
        .bottom { transform: rotateX(-90deg) translateZ(50px); }

        @keyframes rotate {
            from { transform: rotateX(0) rotateY(0) rotateZ(0); }
            to { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
        }

        /* Floating Particles */
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }

        .particle {
            position: absolute;
            background: rgba(255,255,255,0.3);
            border-radius: 50%;
            animation: float 6s infinite ease-in-out;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0) translateX(0); }
            50% { transform: translateY(-20px) translateX(10px); }
        }

        /* Header - ORIGINAL STRUCTURE (Three-line menu always) */
        header {
            background: rgba(44, 62, 80, 0.95);
            backdrop-filter: blur(10px);
            color: var(--white);
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 100;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

        .header-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--white);
            text-decoration: none;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .logo span {
            color: #00f3ff;
            text-shadow: 0 0 10px #00f3ff;
        }

        .logo:hover {
            transform: scale(1.1) rotateY(10deg);
        }

        /* MAIN NAVIGATION - HIDDEN ON ALL DEVICES (Original Structure) */
        nav {
            display: none; /* Hidden on all devices */
        }

        /* Three Line Menu - ALWAYS VISIBLE (Original Structure) */
        .three-line-menu {
            display: flex !important;
            flex-direction: column;
            cursor: pointer;
            padding: 8px;
            background: rgba(255,255,255,0.1);
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .three-line-menu:hover {
            background: rgba(255,255,255,0.2);
        }

        .three-line-menu span {
            width: 25px;
            height: 3px;
            background-color: var(--white);
            margin: 3px 0;
            transition: 0.3s;
            border-radius: 2px;
        }

        .three-line-menu.active span:nth-child(1) {
            transform: rotate(-45deg) translate(-5px, 6px);
        }

        .three-line-menu.active span:nth-child(2) {
            opacity: 0;
        }

        .three-line-menu.active span:nth-child(3) {
            transform: rotate(45deg) translate(-5px, -6px);
        }

        /* Menu Dropdown - ALWAYS AVAILABLE */
        .menu-dropdown {
            display: none;
            position: absolute;
            top: 100%;
            left: 20px;
            background: rgba(44, 62, 80, 0.95);
            backdrop-filter: blur(10px);
            min-width: 250px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            z-index: 101;
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.2);
        }

        .menu-dropdown.active {
            display: block;
            animation: slideDown 0.3s ease;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .menu-dropdown button {
            width: 100%;
            padding: 12px 16px;
            text-align: left;
            border: none;
            background: none;
            color: var(--white);
            cursor: pointer;
            font-size: 1rem;
            transition: background-color 0.3s;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

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

        .menu-dropdown button:hover {
            background-color: rgba(52, 152, 219, 0.3);
        }

        /* Search Bar */
        .search-container {
            max-width: 600px;
            margin: 2rem auto;
            position: relative;
        }

        .search-bar {
            width: 100%;
            padding: 1rem 2rem;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 50px;
            font-size: 1.1rem;
            color: var(--white);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
        }

        .search-bar:focus {
            outline: none;
            border-color: #00f3ff;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0,243,255,0.2);
            transform: translateY(-2px);
        }

        .search-bar::placeholder {
            color: rgba(255,255,255,0.7);
        }

        /* Categories */
        .categories {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin: 2rem 0;
            justify-content: center;
        }

        .category-btn {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid #00f3ff;
            color: #00f3ff;
            padding: 0.8rem 1.5rem;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        .category-btn.active {
            background: #00f3ff;
            color: var(--dark);
            box-shadow: 0 10px 20px rgba(0,243,255,0.4);
            transform: translateY(-2px);
        }

        .category-btn:hover:not(.active) {
            background: rgba(0,243,255,0.1);
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(0,243,255,0.3);
        }

        /* Hero Section */
        .hero {
            padding: 8rem 0;
            text-align: center;
            position: relative;
        }

        .hero-content {
            max-width: 800px;
            margin: 0 auto;
            animation: heroEntrance 1s ease-out;
        }

        @keyframes heroEntrance {
            from {
                opacity: 0;
                transform: translateY(50px) rotateX(10deg);
            }
            to {
                opacity: 1;
                transform: translateY(0) rotateX(0);
            }
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
            text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
            background: linear-gradient(45deg, #00f3ff, #ff00ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: glow 2s ease-in-out infinite alternate;
        }

        @keyframes glow {
            from { text-shadow: 0 0 10px #00f3ff; }
            to { text-shadow: 0 0 20px #ff00ff, 0 0 30px #ff00ff; }
        }

        .hero p {
            font-size: 1.3rem;
            margin-bottom: 2.5rem;
            opacity: 0.9;
        }

        .btn {
            display: inline-block;
            background: linear-gradient(45deg, #3498db, #00f3ff);
            color: var(--white);
            padding: 1rem 2.5rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
            position: relative;
            overflow: hidden;
        }

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

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

        .btn:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 10px 25px rgba(52, 152, 219, 0.6);
        }

        /* Content Sections */
        .container {
            max-width: 1200px;
            margin: 4rem auto;
            padding: 0 20px;
        }

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

        .section-title h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .section-title::after {
            content: '';
            display: block;
            width: 100px;
            height: 4px;
            background: linear-gradient(90deg, #00f3ff, #ff00ff);
            margin: 0.5rem auto;
            border-radius: 2px;
        }

        /* 3D Content Grid - ALWAYS VISIBLE */
        .content-grid {
            display: grid !important;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2.5rem;
            margin-bottom: 4rem;
            visibility: visible !important;
            opacity: 1 !important;
        }

        .content-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: 1px solid rgba(255,255,255,0.2);
            position: relative;
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }

        .content-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, rgba(0,243,255,0.1), rgba(255,0,255,0.1));
            opacity: 0;
            transition: opacity 0.4s;
        }

        .content-card:hover::before {
            opacity: 1;
        }

        .content-card:hover {
            transform: translateY(-15px) rotateX(5deg) scale(1.03);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 50px rgba(0,243,255,0.2);
        }

        .content-card img, 
        .content-card video,
        .content-card iframe {
            width: 100%;
            height: 250px;
            object-fit: cover;
            transition: transform 0.4s;
        }

        .content-card:hover img,
        .content-card:hover video,
        .content-card:hover iframe {
            transform: scale(1.1);
        }

        .content-info {
            padding: 2rem;
            position: relative;
            z-index: 1;
        }

        .content-info h3 {
            margin-bottom: 1rem;
            font-size: 1.4rem;
            color: #00f3ff;
        }

        .content-info p {
            color: rgba(255,255,255,0.8);
            margin-bottom: 1rem;
        }

        /* 3D Statistics */
        .stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin: 4rem 0;
        }

        .stat-item {
            text-align: center;
            padding: 2.5rem 1rem;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            transition: all 0.4s ease;
            border: 1px solid rgba(255,255,255,0.2);
        }

        .stat-item:hover {
            transform: translateY(-10px) scale(1.05);
            box-shadow: 0 15px 35px rgba(0,0,0,0.3), 0 0 30px rgba(0,243,255,0.2);
        }

        .stat-number {
            font-size: 3rem;
            font-weight: bold;
            color: #00f3ff;
            text-shadow: 0 0 10px rgba(0,243,255,0.5);
            margin-bottom: 0.5rem;
        }

        /* Contact Section */
        .contact {
            background: rgba(44, 62, 80, 0.9);
            backdrop-filter: blur(10px);
            padding: 4rem 0;
            margin-top: 4rem;
            border-top: 1px solid rgba(255,255,255,0.1);
        }

        .contact-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
        }

        .contact-info h3 {
            margin-bottom: 1.5rem;
            font-size: 1.8rem;
            color: #00f3ff;
        }

        .contact-info p {
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .contact-info i {
            color: #00f3ff;
            font-size: 1.2rem;
        }

        .contact-info a {
            color: var(--secondary);
            text-decoration: none;
            transition: color 0.3s;
        }

        .contact-info a:hover {
            color: #00f3ff;
        }

        /* Footer */
        footer {
            background: rgba(26, 37, 48, 0.9);
            backdrop-filter: blur(10px);
            color: var(--white);
            text-align: center;
            padding: 2rem 0;
            border-top: 1px solid rgba(255,255,255,0.1);
        }

        /* Back to Top Button */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: linear-gradient(45deg, #3498db, #00f3ff);
            color: white;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 99;
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
            text-decoration: none;
        }

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

        .back-to-top:hover {
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 10px 25px rgba(52, 152, 219, 0.6);
        }

        /* Chat Widget */
        .chat-widget {
            position: fixed;
            bottom: 30px;
            left: 30px;
            z-index: 1000;
        }

        .chat-icon {
            width: 70px;
            height: 70px;
            background: linear-gradient(45deg, #3498db, #00f3ff);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
            transition: all 0.3s ease;
            animation: pulse 2s infinite;
            text-decoration: none;
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
            }
            70% {
                box-shadow: 0 0 0 15px rgba(52, 152, 219, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
            }
        }

        .chat-icon:hover {
            transform: scale(1.1);
            animation: none;
        }

        .chat-icon i {
            color: white;
            font-size: 28px;
        }

        /* Notification */
        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 1rem 1.5rem;
            border-radius: 10px;
            color: white;
            z-index: 1002;
            display: none;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            animation: slideInRight 0.5s ease;
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(100%);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .notification.success {
            background: var(--success);
        }

        .notification.error {
            background: var(--accent);
        }

/* Responsive Design */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .content-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Dark Mode */
        body.dark-mode {
            background: linear-gradient(135deg, #1a2530 0%, #2c3e50 100%);
        }

/* Structure additions that do not change the approved visual language. */
.three-line-menu {
    border: 0;
}

.menu-dropdown .menu-link {
    width: 100%;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: none;
    color: var(--white);
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.menu-dropdown .menu-link:hover {
    background-color: rgba(52, 152, 219, 0.3);
}

.content-card:focus-visible,
.three-line-menu:focus-visible,
.back-to-top:focus-visible,
.menu-dropdown button:focus-visible,
.menu-dropdown .menu-link:focus-visible,
.category-btn:focus-visible {
    outline: 3px solid #00f3ff;
    outline-offset: 3px;
}

.content-metadata {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

.footer-credit,
.footer-links {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links a {
    color: #00f3ff;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}
