/* Base Styles */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #000000; /* All black */
    --light-gray: #f7f7f7;
    --medium-gray: #e0e0e0;
    --dark-gray: #666666;
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cabinet Grotesk', sans-serif;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 400;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-line {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 20px auto;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    letter-spacing: 0.01em;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    border: none;
    box-shadow: var(--box-shadow);
}

.btn-primary:hover {
    background-color: #333333; /* Dark gray */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    padding: 16px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo span {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    font-size: 0.95rem;
    color: var(--dark-gray);
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 200px 0 120px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--light-gray) 0%, var(--secondary-color) 100%);
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin-bottom: 24px;
    font-size: 3.8rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: var(--dark-gray);
    line-height: 1.5;
}

.highlight {
    position: relative;
    display: inline-block;
    color: var(--accent-color);
}

.highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    bottom: 8px;
    left: 0;
    background-color: rgba(0, 0, 0, 0.1); /* Black with opacity */
    z-index: -1;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-visual {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 40%;
    height: 80%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-element {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 70%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
}

.visual-element:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation: float 8s ease-in-out infinite;
}

.visual-element:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 30%;
    animation: float 12s ease-in-out infinite 1s;
}

.visual-element:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation: float 10s ease-in-out infinite 2s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* About Section */
.about {
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--dark-gray);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 40px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    min-width: 220px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.stat-number {
    display: block;
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--accent-color);
    background: linear-gradient(135deg, var(--accent-color) 0%, #333333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-gray);
}

/* Research Section */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.research-card {
    background-color: var(--secondary-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.research-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.research-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 102, 204, 0.1);
}

.research-card:hover::before {
    transform: scaleY(1);
}

.research-icon {
    margin-bottom: 20px;
    transition: var(--transition);
}

.research-card:hover .research-icon {
    transform: scale(1.1);
}

.research-card h3 {
    margin-bottom: 15px;
    transition: var(--transition);
    color: var(--primary-color);
}

.research-card {
    position: relative;
}

.status-label {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.status-label {
    background-color: #f5f5f5;
    color: #000000;
    border: 1px solid #e0e0e0;
}

.status-label.outdated {
    background-color: #ffebee;
    color: #d32f2f;
    border: 1px solid #ffcdd2;
}

.status-label.coming-soon {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.research-card:hover h3 {
    color: var(--accent-color);
}

.research-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Research Section (New) */
.research-section {
    background-color: var(--light-gray);
    padding: 100px 0;
}

.research-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.2rem;
    color: var(--dark-gray);
}

.research-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.research-area {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.research-area:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.research-area h3 {
    margin-bottom: 15px;
    color: var(--accent-color);
    font-size: 1.4rem;
}

.research-area p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Technology Section */
.technology {
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.technology::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.technology-showcase {
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.tech-visual {
    flex: 1;
    position: relative;
    min-height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-circle {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color) 0%, #333333 100%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.2);
}

.tech-circle::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.1) 10px,
        rgba(255, 255, 255, 0.1) 20px
    );
    animation: rotate 20s linear infinite;
}

.tech-circle::after {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.tech-content {
    flex: 1;
}

.tech-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.tech-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.tech-features {
    margin-top: 30px;
}

.tech-features li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    border-radius: 50%;
    margin-right: 15px;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.feature-text {
    font-size: 1.1rem;
    color: var(--dark-gray);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.team-grid-two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
    gap: 60px;
}

.team-member {
    text-align: center;
    position: relative;
    padding: 30px;
    border-radius: 12px;
    transition: var(--transition);
}

.team-member:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.member-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: var(--medium-gray);
    margin: 0 auto 25px;
    overflow: hidden;
    position: relative;
    border: 4px solid var(--secondary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.team-member:hover .member-photo {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.member-photo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.2) 0%, transparent 100%);
}

.member-photo::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 1px dashed rgba(0, 0, 0, 0.1);
    animation: spin 20s linear infinite;
    z-index: -1;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.member-role {
    color: var(--dark-gray);
    font-weight: 500;
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 20px;
    margin-top: 5px;
}

/* Contact Section */
.contact {
    background-color: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item svg {
    margin-right: 15px;
}

.contact-form {
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo span {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    margin-bottom: 24px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--secondary-color);
    opacity: 0.8;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-column a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    h1 {
        font-size: 3.4rem;
    }
    
    h2 {
        font-size: 2.3rem;
    }
    
    .hero {
        padding: 180px 0 100px;
    }
    
    .hero-visual {
        width: 35%;
    }
}

@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero {
        padding: 160px 0 90px;
    }
    
    .hero-visual {
        width: 30%;
    }
    
    .technology-showcase {
        flex-direction: column;
    }
    
    .tech-visual {
        order: 2;
        min-height: 350px;
    }
    
    .tech-content {
        order: 1;
    }
    
    .research-grid,
    .research-areas {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.6rem;
        letter-spacing: -0.01em;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 80px 0;
    }
    
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 140px 0 70px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .research-grid,
    .research-areas {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 50px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
    
    .stats-container {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}