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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.7;
}

/* ====================== NAVBAR ====================== */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    border-bottom: 1px solid #222;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.highlight {
    color: #00f5ff;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.2rem;
}

.nav-links a {
    color: #ddd;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00f5ff;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
}

/* ====================== HERO SECTION (Home) ====================== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 5rem;
    max-width: 1300px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 580px;
}

.hero-content h1 {
    font-size: 3.6rem;
    line-height: 1.1;
    margin-bottom: 0.8rem;
}

.hero-content h2 {
    font-size: 1.55rem;
    color: #00f5ff;
    margin-bottom: 1.4rem;
}

.hero-content p {
    font-size: 1.22rem;
    color: #ccc;
    margin-bottom: 2.8rem;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn {
    padding: 15px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn.primary {
    background: #00f5ff;
    color: #000;
}

.btn.primary:hover {
    background: #00d4e0;
    transform: translateY(-4px);
}

.btn.secondary {
    background: transparent;
    color: #00f5ff;
    border: 2px solid #00f5ff;
}

.btn.secondary:hover {
    background: #00f5ff;
    color: #000;
}

.social-links {
    display: flex;
    gap: 1.8rem;
}

.social-links a {
    font-size: 2rem;
    color: #aaa;
    transition: all 0.3s;
}

.social-links a:hover {
    color: #00f5ff;
    transform: translateY(-4px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 420px;
    height: 420px;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid #00f5ff;
    box-shadow: 0 25px 50px rgba(0, 245, 255, 0.18);
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: scale(1.06);
}

/* ====================== SECTION HEADER ====================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    color: #00f5ff;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #a0f0ff;
    max-width: 700px;
    margin: 0 auto;
}

/* ====================== ABOUT SECTION ====================== */
.about-section {
    padding: 8rem 2rem 6rem;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-header h1 {
    font-size: 3.4rem;
    color: #00f5ff;
    margin-bottom: 3.5rem;
    font-weight: 700;
}

.about-content {
    background: #111;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    border: 1px solid #222;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    max-width: 780px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.18rem;
    color: #ccc;
    margin-bottom: 2.2rem;
    line-height: 1.8;
}

.about-content strong {
    color: #00f5ff;
    font-weight: 600;
}

.github-link {
    color: #00f5ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.github-link:hover {
    text-decoration: underline;
    color: #00e0ff;
}

/* ====================== PROJECTS SECTION ====================== */
.projects-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.8rem;
}

.project-card {
    background: #111;
    padding: 1.8rem;
    border-radius: 12px;
    border: 1px solid #222;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: #00f5ff;
    box-shadow: 0 15px 30px rgba(0, 245, 255, 0.1);
}

.project-card h3 {
    color: #00f5ff;
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.project-card p {
    color: #ccc;
    font-size: 1.05rem;
}

/* GitHub Section */
.github-section {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
}

.github-section p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.github-link {
    color: #00f5ff;
    font-size: 1.3rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.github-link:hover {
    text-decoration: underline;
}

/* ====================== TEACHING SECTION ====================== */
.teaching-section {
    padding: 6rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.teaching-content {
    background: #111;
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid #222;
}

.teaching-list {
    list-style: none;
    max-width: 700px;
    margin: 2rem auto;
}

.teaching-list li {
    padding: 12px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #222;
    position: relative;
    padding-left: 30px;
}

.teaching-list li:before {
    content: "→";
    color: #00f5ff;
    position: absolute;
    left: 0;
}

.teaching-goal {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 1.15rem;
    font-style: italic;
    color: #ccc;
}

/* ====================== SKILLS SECTION ====================== */
.skills-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.8rem;
}

.skill-card {
    background: #111;
    padding: 2rem;
    border-radius: 14px;
    border: 1px solid #222;
    transition: all 0.4s ease;
    text-align: center;
}

.skill-card:hover {
    transform: translateY(-10px);
    border-color: #00f5ff;
    box-shadow: 0 20px 40px rgba(0, 245, 255, 0.12);
}

.skill-icon {
    font-size: 2.8rem;
    color: #00f5ff;
    margin-bottom: 1.2rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.skill-card p {
    color: #bbb;
    font-size: 1.05rem;
    line-height: 1.5;
}

/* ====================== CONTACT SECTION ====================== */
.contact-section {
    padding: 6rem 2rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h2 {
    font-size: 3rem;
    color: #00f5ff;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form {
    background: #111;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #222;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #00f5ff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.15);
}

.contact-form button {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
}

.contact-info {
    background: #111;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #222;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-item i {
    font-size: 1.6rem;
    color: #00f5ff;
    width: 30px;
}

.info-item strong {
    display: block;
    color: #ddd;
    margin-bottom: 4px;
}

.info-item p {
    color: #ccc;
    margin: 0;
}

/* ====================== FOOTER ====================== */
.footer {
    background: #050505;
    padding: 2.8rem 0;
    text-align: center;
    border-top: 1px solid #222;
}

.footer p {
    color: #888;
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        padding: 3rem 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.9rem;
    }
    
    .hero-image img {
        max-width: 320px;
        height: 320px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form,
    .contact-info {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0a0a0a;
        flex-direction: column;
        padding: 1.5rem 0;
        gap: 1rem;
        border-top: 1px solid #222;
    }

    .hamburger {
        display: flex;
    }

    .projects-grid,
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2.4rem;
    }

    .about-section {
        padding: 6rem 1.5rem 4rem;
    }
    
    .about-header h1 {
        font-size: 2.7rem;
    }
    
    .about-content {
        padding: 2.5rem 1.8rem;
    }
    
    .about-content p {
        font-size: 1.1rem;
    }
}