:root {
    --bg-dark: #0a0a0f;
    --bg-card: #15151e;
    --text-main: #ffffff;
    --text-muted: #8a8a9d;
    --accent-red: #e63946;
    --accent-blue: #3a86ff;
    --font-main: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr; 
    align-items: center;
    height: 80px;
    width: 100%;
}

.nav-container .logo {
    justify-self: start; 
}

.nav-container .nav-links {
    justify-self: center; 
}

.nav-container > a.btn-outline {
    justify-self: end; 
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-red);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-blue);
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(58, 134, 255, 0.15), transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(230, 57, 70, 0.1), transparent 50%);
    z-index: -1;
}

.hero-content {
    display: flex;
    align-items: center;           
    justify-content: space-between; 
    gap: 40px;                   
    width: 100%;
}

.hero-text {
    max-width: 600px; 
}

.hero-logo-box {
    flex-shrink: 0; 
    display: flex;
    justify-content: center;
}

.floating-logo {
    max-width: 450px; 
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 25px rgba(241, 241, 239, 0.4)); 
    animation: float 6s ease-in-out infinite; 
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.hero h1 {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.highlight {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-red));
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary, .btn-secondary, .btn-outline {
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-red);
    color: white;
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4);
}

.btn-primary:hover {
    background: #c1121f;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline {
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 10px 20px;
}

.btn-outline:hover {
    background: var(--accent-blue);
    color: white;
}

.projects {
    padding: 0px 0;
}

.section-title {
    font-size: 36px;
    margin-bottom: 50px;
    text-align: center;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
}

.project-image {
    height: 220px;
    position: relative;
    display: flex;
    padding: 20px;
}

.status {
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    align-self: flex-start;
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.project-info p {
    color: var(--text-muted);
    font-size: 15px;
}

footer {
    background: #050508;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    padding: 20px 0;
}

.footer-content .logo {
    justify-self: start;
}

.footer-content p {
    justify-self: center;
    text-align: center;
}

.footer-content .social-links {
    justify-self: end;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

.social-links a:hover {
    color: white;
}

html {
    scroll-behavior: smooth;
}


.page-intro {
    position: relative;
    height: 58vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 80px; 
}

.intro-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 800;
}

.intro-content p {
    font-size: 18px;
    color: var(--text-muted);
}

.projects-details {
    padding: 80px 0 120px;
}

.project-accordion {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-accordion:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.project-accordion summary::-webkit-details-marker {
    display: none;
}

.accordion-header {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none; 
    font-size: 24px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.02);
}

.accordion-icon {
    font-size: 32px;
    font-weight: 400;
    color: var(--accent-blue);
    transition: transform 0.3s ease, color 0.3s ease;
}

details[open] .accordion-icon {
    transform: rotate(45deg);
    color: var(--accent-red);
}

.accordion-content {
    padding: 30px;
    display: flex;
    flex-direction: column; 
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 20px;
    animation: fadeIn 0.4s ease-in-out;
}

.project-header-info {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 40px;
}

.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1;
    min-height: 250px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
    background-size: cover;
    background-position: center;
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

.feature-text {
    flex: 1;
}

.feature-text h4 {
    color: var(--accent-blue);
    margin-bottom: 15px;
    font-size: 20px;
}

.feature-text p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .feature-row, .feature-row:nth-child(even) {
        flex-direction: column;
        gap: 20px;
    }
    .feature-image {
        width: 100%;
        min-height: 200px;
    }
}

.accordion-text h4 {
    color: var(--accent-red);
    margin-bottom: 15px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.accordion-text p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.accordion-text ul {
    list-style: none;
}

.accordion-text li {
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 15px;
}

.accordion-text li strong {
    color: var(--text-main);
    margin-right: 5px;
}

@media (max-width: 768px) {
    .accordion-content {
        flex-direction: column;
    }
    .accordion-image {
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .nav-container, .footer-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: auto;
        padding: 20px 0;
        gap: 15px;
    }
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap; 
}

.team-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px 30px;
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.avatar-container {
    position: relative;
    width: 160px;
    height: 160px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--accent-blue), var(--accent-red), var(--accent-blue));
    animation: spin 4s linear infinite;
}

.avatar-image {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #1a1a24;
    background-size: cover;
    background-position: center;
    z-index: 2;
    border: 4px solid #0d0d12; 
}

.team-card h3 {
    font-size: 22px;
    margin-bottom: 5px;
    color: #fff;
}

.team-card .role {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-card .bio {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 60px;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    background: rgba(21, 21, 30, 0.7) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    text-align: left;
}

.login-card h1 {
    font-size: 26px;
    margin-bottom: 10px;
    text-align: center;
}

.login-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: var(--accent-blue);
}

.login-footer-text {
    margin-top: 25px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

.login-footer-text a {
    color: var(--accent-blue);
    font-weight: 600;
}

.login-footer-text a:hover {
    text-decoration: underline;
}