:root {
    --bg-dark: #202020;
    --bg-card: #2a2a2a;
    --bg-card-hover: #333333;
    --accent: #ffa200;
    --text-primary: #ffffff;
    --text-secondary: #c2c2c2;
    --font-sans: 'Outfit', sans-serif;
    --font-script: 'Great Vibes', cursive;
    --glass-bg: rgba(47, 47, 47, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Curves */
.bg-curves {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}
.bg-curves svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-primary);
    background: rgba(255,255,255,0.02);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.4);
}

.btn-solid {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}

.btn-solid:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(32, 32, 32, 0.7);
}

.logo {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    margin: 0 25px;
    font-size: 0.95rem;
    font-weight: 400;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
    padding-top: 80px;
}

.hero-left, .hero-right {
    flex: 1;
}

.hero-left .hello-text {
    font-family: var(--font-script);
    font-size: 8rem;
    font-weight: 400;
    color: #e8e8e8;
    line-height: 0.7;
    margin-bottom: 5px;
}

.hero-left .intro-text {
    font-size: 3.2rem;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.hero-left .highlight {
    color: var(--accent);
}

.hero-right {
    padding-left: 60px;
    border-left: 2px solid rgba(255,255,255,0.08); /* Updated left border thickness */
}

.hero-roles {
    margin-bottom: 15px;
}

.role-primary {
    color: var(--accent);
    font-weight: 500;
    font-size: 1.1rem;
}

.role-separator {
    margin: 0 12px;
    color: rgba(255,255,255,0.3);
}

.role-secondary {
    color: var(--accent);
    font-weight: 500;
    font-size: 1.1rem;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 30px;
    max-width: 500px;
    line-height: 1.7;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-8px) translateX(-50%); }
    60% { transform: translateY(-4px) translateX(-50%); }
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 70px 10%;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.stat-item h3 {
    font-size: 1.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Projects Section */
.projects-section {
    padding: 100px 10%;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 50px;
}

.text-center {
    text-align: center;
}

.projects-tabs {
    display: flex;
    gap: 35px;
    margin-bottom: 70px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 10px;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: color 0.3s ease;
    padding-bottom: 15px;
    position: relative;
    font-weight: 500;
}

.tab-btn:hover {
    color: var(--accent);
}

.tab-btn.active {
    color: var(--text-primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
}

.projects-container {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.project-card {
    display: flex;
    align-items: center;
    gap: 70px;
}

.project-card.img-left {
    flex-direction: row;
}

.project-card.img-right {
    flex-direction: row-reverse;
}

.project-img-wrapper {
    flex: 1.3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
    height: 400px; /* Fixed height for consistent look */
}

.project-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent);
    pointer-events: none;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.project-content {
    flex: 1;
}

.project-content h3 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 35px;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    padding: 100px 10%;
    padding-bottom: 120px;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 60px;
}

.contact-item {
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.contact-item i {
    font-size: 2.8rem;
    margin-bottom: 18px;
    transition: transform 0.3s ease;
}

.contact-item span {
    font-size: 1.15rem;
    font-weight: 400;
}

.contact-item:hover {
    background: #333333;
    border-color: rgba(255, 255, 255, 0.3);
}

.contact-item:hover i {
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-left .hello-text { font-size: 6rem; }
    .hero-left .intro-text { font-size: 2.5rem; }
    .project-img-wrapper { height: 300px; }
    .stats-section { grid-template-columns: 1fr; gap: 30px; }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero { flex-direction: column; text-align: center; justify-content: center; div.hero-right { padding-left: 0; border-left: none; margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 40px; } }
    .hero-left .hello-text { font-size: 5rem; }
    .project-card, .project-card.img-left, .project-card.img-right { flex-direction: column; }
    .project-img-wrapper { width: 100%; }
    .nav-links { display: none; }
    .projects-tabs { overflow-x: auto; white-space: nowrap; }
}
