/* === Core Global Variables & Base Styles === */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

:root {
    --primary-color: #38ebff; /* Bright Cyan for highlights */
    --secondary-color: #00bcd4; /* Darker Cyan for accents */
    --background-color: #1c1d2e; /* The dark blue-gray from your image */
    --border-color: #384260;
    --text-color: #e0e0e0;
    --glass-effect: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-start: #1c1d2e;
    --gradient-end: #14151b;
}

body {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--text-color);
    transition: background 0.3s, color 0.3s;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* === Unified Glassmorphism Card Style === */
/* This is now the main component style for all cards */
.glass-card, .project-card, .team-card {
    background: var(--glass-effect);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    /* Removed box-shadow for no glow */
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 20px;
}

.glass-card:hover, .project-card:hover, .team-card:hover {
    transform: translateY(-15px);
    /* Removed box-shadow for no glow */
}

/* === Buttons === */
.btn {
    position: relative;
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 14px 28px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    z-index: 1;
    transition: background-color 0.3s ease, transform 0.2s;
    /* Removed box-shadow for no glow */
}

.btn:hover {
    background-color: var(--secondary-color);
    /* Removed box-shadow for no glow */
    transform: translateY(-2px);
}

/* === Header === */
header {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px 40px;
    color: var(--text-color);
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    /* Removed box-shadow for no glow */
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    border-bottom: 2px solid var(--border-color);
}

header h1 {
    position: relative;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
    color: var(--primary-color);
    /* Removed text-shadow for no glow */
    z-index: 1;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 1;
}

nav a {
    position: relative;
    text-decoration: none;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.login-btn {
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 700;
    text-decoration: none;
    /* Removed box-shadow for no glow */
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: var(--secondary-color);
    /* Removed box-shadow for no glow */
}

/* === NEW Immersive Hero Section === */
.hero-new {
    position: relative;
    width: 100%;
    height: 500px;
    background: url('./assets/EDBG.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 40px;
    overflow: hidden;
    /* Removed box-shadow for no glow */
    animation: background-pan 60s linear infinite;
}

@keyframes background-pan {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 0%; }
}

.hero-new::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.hero-heading {
    font-size: 3.5rem;
    color: var(--primary-color);
    /* Removed text-shadow for no glow */
    margin: 0 0 10px;
    /* Removed animation for no glow */
}

.hero-subheading {
    font-size: 1.5rem;
    color: var(--text-color);
    /* Removed text-shadow for no glow */
    max-width: 800px;
    margin: 0 auto 30px;
    font-weight: 300;
}

/* Removed neon-glow animation keyframes */

.hero, .herohlar, .herohrzd, .NeonDusk { display: none; }

/* === Main Content Grid === */
.main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}

@media (min-width: 992px) {
    .main-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.main-column-left, .main-column-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.project-section h1,
.meet-the-team h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    color: var(--secondary-color);
    /* Removed text-shadow for no glow */
    text-align: left;
}

/* === Card-specific styles (replaces old .project-card and .team-card styles) === */
/* All cards now share the same base .glass-card style */
.project-card img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    /* Removed box-shadow for no glow */
    transition: transform 0.35s ease;
    margin-bottom: 15px;
}

.project-card:hover img {
    transform: scale(1.02);
}

.project-card h2 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.project-card p {
    margin: 10px 0;
    color: var(--text-color);
    font-size: 0.95rem;
}

.team-card {
    padding: 30px 20px;
    text-align: center;
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    /* Removed box-shadow for no glow */
    transition: transform 0.35s ease;
    border: 3px solid var(--primary-color);
}

.team-card:hover .team-photo {
    transform: scale(1.1);
}

.team-name {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 6px;
}

.team-role {
    font-size: 1rem;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.team-bio {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.5;
}

/* Testimonials */
.project-grid h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

/* === Footer === */
footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    border-top: 2px solid var(--border-color);
}