:root {
    /* Luxury Dark Theme Palette */
    --bg-dark: #050510;
    --bg-darker: #020205;
    --neon-blue: #00f3ff;
    --neon-purple: #bd00ff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
.brand-text {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
}

/* Background Ambient Glows */
.bg-glow-1,
.bg-glow-2 {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    opacity: 0.15;
    animation: floatingGlow 10s infinite alternate;
}

.bg-glow-1 {
    top: -10%;
    left: -10%;
    background: var(--neon-blue);
}

.bg-glow-2 {
    bottom: -10%;
    right: -10%;
    background: var(--neon-purple);
    animation-delay: 5s;
}

@keyframes floatingGlow {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--glass-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.05;
    z-index: -1;
    pointer-events: none;
}

/* Glass Navbar - Rounded, Sticky, Blur */
.glass-nav {
    background: rgba(5, 5, 16, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    margin: 15px 20px;
    padding: 0.8rem 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 243, 255, 0.1);
    position: sticky !important;
    top: 15px;
    z-index: 1000;
}

.glass-nav:hover {
    background: rgba(5, 5, 16, 0.6);
    border-color: rgba(0, 243, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 243, 255, 0.2);
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 10px;
    position: relative;
    color: var(--text-secondary) !important;
    transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--neon-blue) !important;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-blue);
    transition: 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    box-shadow: 0 0 10px var(--neon-blue);
}

/* Buttons */
.btn-neon-sm {
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    transition: 0.3s;
    background: rgba(0, 243, 255, 0.05);
}

.btn-neon-sm:hover {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
}

.btn-neon-lg {
    background: linear-gradient(45deg, var(--neon-blue), #00a8ff);
    border: none;
    color: #000;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    padding: 15px 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: 0.3s;
}

.btn-neon-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.6);
    color: #000;
}

.btn-outline-cyber {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 15px 40px;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}

.btn-outline-cyber:hover {
    border-color: var(--neon-purple);
    color: var(--neon-purple);
    box-shadow: 0 0 20px rgba(189, 0, 255, 0.3);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.text-stroke {
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.1);
    color: transparent;
}

.text-gradient {
    background: linear-gradient(to right, var(--neon-blue), var(--neon-purple));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
}

.badge-glow {
    border: 1px solid var(--neon-purple);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--neon-purple);
    background: rgba(189, 0, 255, 0.1);
    box-shadow: 0 0 15px rgba(189, 0, 255, 0.2);
}

.scanner-line {
    width: 100%;
    height: 2px;
    background: var(--neon-blue);
    box-shadow: 0 0 15px var(--neon-blue);
    position: absolute;
    top: 0;
    left: 0;
    animation: scan 3s infinite linear;
    z-index: 10;
    opacity: 0.5;
}

@keyframes scan {
    0% {
        top: 0;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.hero-3d-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

/* Component Styles */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.text-neon-purple {
    color: var(--neon-purple) !important;
}

.text-neon-blue {
    color: var(--neon-blue) !important;
}

.section-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-blue), transparent);
    margin: 0 auto;
}

/* Building Cards */
.building-card {
    background: rgba(20, 20, 30, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s ease;
    height: 100%;
    backdrop-filter: blur(10px);
}

.building-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-blue);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.1);
}

.card-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
}

.building-card:hover .card-img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s ease;
}

.building-card:hover .card-overlay {
    opacity: 1;
}

.btn-icon-glow {
    font-size: 2rem;
    color: #fff;
    transition: 0.3s;
}

.btn-icon-glow:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 20px var(--neon-blue);
    transform: scale(1.2);
}

.card-content {
    padding: 25px;
}

.card-title {
    font-size: 1.4rem;
    margin: 0;
}

.status-badge {
    font-size: 0.7rem;
    background: rgba(0, 255, 0, 0.1);
    color: #00ff88;
    padding: 4px 10px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 0, 0.2);
    text-transform: uppercase;
}

.card-address {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.btn-card-action {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid var(--glass-border);
    padding: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-card-action:hover {
    background: var(--neon-blue);
    color: #000;
    border-color: var(--neon-blue);
}

/* Team Cards */
.team-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1),
        0 0 40px rgba(189, 0, 255, 0.05);
}

.team-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--neon-blue);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.4),
        0 0 60px rgba(189, 0, 255, 0.2),
        inset 0 0 20px rgba(0, 243, 255, 0.1);
}

.member-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    padding: 5px;
    border: 2px dashed var(--neon-blue);
    position: relative;
}

.member-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.member-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.member-role {
    color: var(--neon-blue);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.social-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--neon-purple);
    transform: translateY(-3px);
}

/* Footer */
.footer-section {
    background: #020205;
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 30px;
    margin-top: 100px;
}

.footer-brand {
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-links li,
.contact-info li {
    list-style: none;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--neon-blue);
    padding-left: 10px;
}

.contact-info i {
    width: 25px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
}

.social-icons a:hover {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 20px var(--neon-blue);
}

/* Mobile & Tablet Responsive Styles */
@media (max-width: 991px) {

    /* Navbar Mobile */
    .glass-nav {
        background: rgba(5, 5, 16, 0.95);
        padding: 0.8rem 0;
    }

    .navbar-collapse {
        background: rgba(5, 5, 16, 0.98);
        padding: 20px;
        border-radius: 15px;
        margin-top: 15px;
        border: 1px solid var(--glass-border);
    }

    .nav-actions {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

    /* Hero Section Mobile */
    .hero-section {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }

    .hero-3d-container {
        height: 300px !important;
        margin-top: 2rem !important;
    }

    .hero-actions {
        flex-direction: column;
        padding: 0 40px;
    }

    .btn-neon-lg,
    .btn-outline-cyber {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {

    /* Global Adjustments */
    .section-title {
        font-size: 1.8rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    /* Cards Mobile */
    .building-card {
        margin-bottom: 20px;
    }

    .card-image-wrapper {
        height: 200px;
    }

    .team-card {
        padding: 20px;
    }

    /* Footer Mobile */
    .footer-section {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }

    .bg-glow-1,
    .bg-glow-2 {
        opacity: 0.1;
        width: 300px;
        height: 300px;
    }
}