:root {
    --bg-dark: #030305;
    --glass-bg: rgba(20, 20, 25, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --primary-neon: #00f3ff;
    --secondary-neon: #bc13fe;
    --accent-gold: #ffd700;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* PRELOADER */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.5s ease;
}

.loader-text {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-neon);
    letter-spacing: 5px;
    margin-top: 20px;
    animation: pulse 1.5s infinite;
    font-size: 1.2rem;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: #333;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: var(--primary-neon);
    animation: loadBar 1.5s infinite linear;
    box-shadow: 0 0 10px var(--primary-neon);
}

@keyframes loadBar { 0% { left: -50%; } 100% { left: 100%; } }
@keyframes pulse { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }

/* IMMERSIVE BACKGROUND */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #111119 0%, #000000 100%);
}

/* TYPOGRAPHY */
h1, h2, h3, .brand-logo, .stat-number, .process-number, .role-badge {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
}

h2.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, var(--primary-neon), var(--secondary-neon), #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 5s linear infinite;
}

@keyframes gradientMove { 
    0% { background-position: 0% 50%; } 
    100% { background-position: 200% 50%; } 
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 5rem;
    letter-spacing: 2px;
}

/* NAVIGATION */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(3, 3, 5, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    transition: all 0.3s;
}

nav.scrolled {
    background: rgba(3, 3, 5, 0.95);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}

.brand-logo span { 
    color: var(--primary-neon); 
    text-shadow: 0 0 10px var(--primary-neon);
}

.nav-links { 
    display: flex; 
    gap: 2.5rem; 
    list-style: none; 
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: 0.3s;
    position: relative;
}

.nav-links a.active {
    color: var(--primary-neon);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-neon);
    transition: width 0.3s;
    box-shadow: 0 0 8px var(--primary-neon);
}

.nav-links a:hover { 
    color: #fff; 
    text-shadow: 0 0 8px var(--primary-neon); 
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.btn-nav {
    padding: 0.6rem 1.5rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    border-radius: 4px;
    letter-spacing: 1px;
}

.btn-login {
    background: transparent;
    color: var(--primary-neon);
    border: 1px solid var(--primary-neon);
}

.btn-login:hover {
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

.btn-signup {
    background: var(--primary-neon);
    color: #000;
    border: 1px solid var(--primary-neon);
}

.btn-signup:hover {
    background: #fff;
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--primary-neon);
    color: var(--primary-neon);
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.hero-glitch {
    color: var(--primary-neon);
    text-shadow: 
        2px 2px var(--secondary-neon),
        0 0 20px var(--primary-neon),
        0 0 40px var(--primary-neon);
    display: inline-block;
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    color: var(--text-muted);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

.btn-glow {
    padding: 1.2rem 3.5rem;
    background: rgba(0, 243, 255, 0.1);
    color: var(--primary-neon);
    border: 1px solid var(--primary-neon);
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    font-weight: 700;
    letter-spacing: 2px;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-neon);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-glow:hover::before {
    width: 300px;
    height: 300px;
}

.btn-glow:hover {
    color: #000;
    box-shadow: 0 0 50px rgba(0, 243, 255, 0.5);
    border-color: var(--primary-neon);
}

.btn-glow span {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    background: rgba(188, 19, 254, 0.1);
    color: var(--secondary-neon);
    border: 1px solid var(--secondary-neon);
}

.btn-secondary::before {
    background: var(--secondary-neon);
}

.btn-secondary:hover {
    box-shadow: 0 0 50px rgba(188, 19, 254, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-neon);
    border-radius: 25px;
    animation: fadeInUp 1s ease-out 1.5s forwards, float 3s ease-in-out infinite;
    opacity: 0;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 10px;
    background: var(--primary-neon);
    border-radius: 3px;
    animation: scrollDot 2s infinite;
    box-shadow: 0 0 10px var(--primary-neon);
}

@keyframes scrollDot {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeInUp { 
    from { opacity: 0; transform: translateY(30px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* PAGE HERO */
.page-hero {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
}

.page-hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: white;
    animation: fadeInUp 1s ease-out;
}

.page-hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

/* GLASS CARD SYSTEM */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s;
}

.glass-card::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    background: radial-gradient(
        800px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 255, 255, 0.06),
        transparent 40%
    );
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    background: radial-gradient(
        600px circle at var(--mouse-x) var(--mouse-y),
        rgba(0, 243, 255, 0.15),
        transparent 40%
    );
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.glass-card:hover::after { 
    opacity: 1; 
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-neon);
    box-shadow: 0 10px 40px rgba(0, 243, 255, 0.3);
}

.card-content {
    position: relative;
    z-index: 10;
}

section { 
    padding: 6rem 5%; 
}

/* STATS */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-number {
    font-size: 3.5rem;
    color: var(--primary-neon);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px var(--primary-neon);
}

.stat-label {
    color: var(--text-muted);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
}

/* PROJECTS */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-tag {
    border: 1px solid var(--primary-neon);
    color: var(--primary-neon);
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
    display: inline-block;
    letter-spacing: 1px;
}

.project-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px var(--primary-neon));
}

.project-title {
    font-size: 1.8rem;
    margin: 1rem 0;
    color: #fff;
}

.project-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.project-tech {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 243, 255, 0.2);
    color: var(--primary-neon);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
}

/* INNOVATION CARDS */
.innovation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.innovation-icon {
    font-size: 2rem;
    color: var(--primary-neon);
    margin-bottom: 1rem;
}

/* LEADERSHIP */
.leaders-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    perspective: 1000px;
}

.leader-card {
    width: 280px;
    text-align: center;
}

.avatar-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--primary-neon), var(--secondary-neon));
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.5);
    overflow: hidden;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}



.leader-name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.role-badge {
    background: rgba(0, 243, 255, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary-neon);
    display: inline-block;
    margin: 0.5rem 0;
    border: 1px solid var(--primary-neon);
}

/* SERVICES EXPANDABLE */
.service-card {
    cursor: pointer;
    transition: all 0.3s;
}

.service-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.service-card.expanded .service-content {
    max-height: 200px;
    margin-top: 1rem;
}

.service-toggle {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-neon);
    color: #000;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    box-shadow: 0 0 15px var(--primary-neon);
}

.service-toggle:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 25px var(--primary-neon);
}

/* PROCESS */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.process-number {
    font-size: 2rem;
    color: var(--primary-neon);
    margin-bottom: 1rem;
    text-shadow: 0 0 15px var(--primary-neon);
}

.process-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.process-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* CONTACT */
.social-link {
    color: var(--primary-neon);
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
    border: 1px solid var(--primary-neon);
    border-radius: 4px;
    transition: all 0.3s;
}

.social-link:hover {
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.cin-box {
    font-family: monospace;
    color: var(--primary-neon);
    background: rgba(0, 243, 255, 0.05);
    padding: 0.5rem;
    display: inline-block;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 243, 255, 0.2);
}

/* FOOTER */
footer {
    background: #020202;
    border-top: 1px solid var(--glass-border);
    padding: 5rem 5% 2rem;
    font-size: 0.9rem;
    color: #666;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
}

.footer-title {
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--primary-neon);
    text-shadow: 0 0 8px var(--primary-neon);
}

.footer-bottom {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
    opacity: 0.5;
    font-size: 0.8rem;
}

/* UTILITIES */
.reveal { 
    opacity: 0; 
    transform: translateY(50px); 
    transition: all 1s ease; 
}

.reveal.active { 
    opacity: 1; 
    transform: translateY(0); 
}

/* MOBILE */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .nav-buttons {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero h1, .page-hero-title { font-size: 2.8rem; }
    .section-title { font-size: 2.5rem; }
    .projects-grid,
    .innovation-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }
    .hero-buttons {
        flex-direction: column;
    }
    section {
        padding: 4rem 5%;
    }
}

/* styles.css */

.avatar-container1 {
    width: 200px; /* Set the width of the container */
    height: 200px; /* Set the height of the container */
    overflow: hidden; /* Hide any part of the image that goes outside */
    border-radius: 50%; /* Make the container a circle */
    margin: 0 auto 1rem; /* Center the container horizontally */
    border: 3px solid var(--accent-color, #00f3ff); /* Optional: Add a border */
    position: relative; /* For positioning the image inside */
}

.avatar-img {
    width: 100%; /* Make the image fill the container's width */
    height: 100%; /* Make the image fill the container's height */
    object-fit: cover; /* Important: Crop the image to fill the circle without stretching */
    object-position: center top; /* Optional: Adjust this to focus on the face */
}