/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
header {
    background-color: #1a1a1a;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

nav h1 {
    color: #ffffff;
    font-weight: 600;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #00d4ff;
}

/* Hero Section */
.hero {
    background: url('image.png') no-repeat center top;
    background-size: 110% auto;     /* fills width but keeps more image visible */
    background-attachment: scroll;  /* fixed can distort on some screens */
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    margin-top: 10px;
    position: relative;
    width: 100vw;                   /* make section full width */
    overflow: hidden;               /* remove scrollbars */
}

/* Optional overlay to darken image for text contrast */
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.hero * {
    position: relative;
    z-index: 2; /* keeps text above overlay */
}



.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Sections */
section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-top: 70px; /* Account for fixed header */
    min-height: calc(100vh - 70px);
    position: relative;
}

section::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

section * {
    position: relative;
    z-index: 2;
}

section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* About */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
}

/* New About Section Styles */
.hero-quote {
    text-align: center;
    margin-bottom: 50px;
}

.quote-text {
    font-size: 2.2rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-style: italic;
    position: relative;
    margin: 0;
}

.quote-text::before {
    content: '"';
    font-size: 3rem;
    position: absolute;
    left: -30px;
    top: -10px;
    color: rgba(255,255,255,0.6);
}

.quote-text::after {
    content: '"';
    font-size: 3rem;
    position: absolute;
    right: -30px;
    top: -10px;
    color: rgba(255,255,255,0.6);
}

.about-intro {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.greeting {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    text-align: center;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

.intro-text strong {
    color: #667eea;
    font-weight: 700;
}

.journey-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    text-align: center;
    font-style: italic;
}

.what-i-do, .beyond-screen, .collaboration-cta {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.what-i-do:hover, .beyond-screen:hover, .collaboration-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

.section-layout {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.section-content {
    flex: 1;
}

.section-image-right {
    flex: 0 0 200px;
}

.section-image-right img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.section-image-right img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
}

.what-i-do h3, .beyond-screen h3, .collaboration-cta h3 {
    color: #1a1a1a;
    font-size: 1.6rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.what-i-do h3::before, .beyond-screen h3::before, .collaboration-cta h3::before {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0 auto 15px;
    border-radius: 2px;
}

.mission-statement {
    font-size: 1.1rem;
    color: #333;
    text-align: center;
    font-weight: 600;
    margin-bottom: 25px;
    font-style: italic;
}

.focus-text, .beyond-text {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 15px;
    font-weight: 500;
}

.focus-list, .beyond-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.focus-list li, .beyond-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    padding-left: 30px;
    color: #333;
    line-height: 1.6;
}

.focus-list li::before, .beyond-list li::before {
    content: "▹";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.focus-list li:last-child, .beyond-list li:last-child {
    border-bottom: none;
}

.mindset-text {
    font-size: 1rem;
    color: #666;
    font-style: italic;
    text-align: center;
    margin-top: 20px;
}

.cta-text {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 20px;
}

.cta-emphasis {
    font-size: 1.3rem;
    font-weight: 700;
    color: #667eea;
    text-align: center;
    margin: 0;
    text-shadow: 0 1px 2px rgba(102, 126, 234, 0.3);
}

/* About Sections */
.about-sections {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-intro-section,
.what-i-do-section,
.beyond-screen-section,
.collaboration-cta-section {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.about-intro-section:hover,
.what-i-do-section:hover,
.beyond-screen-section:hover,
.collaboration-cta-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

.section-layout {
    display: flex;
    align-items: center;
    gap: 40px;
}

.section-content {
    flex: 1;
}

.section-image {
    flex: 0 0 250px;
    text-align: center;
}

.section-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.section-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
}

.section-image a img {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    border: 4px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-layout {
        flex-direction: column;
        gap: 40px;
    }

    .about-image-right {
        position: static;
        flex: none;
        order: -1;
    }

    .about-image-right img {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .about-layout {
        gap: 30px;
    }

    .about-image-right img {
        width: 200px;
        height: 200px;
    }
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.skill-category {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
    background-color: rgba(255, 255, 255, 0.98);
}

.skill-category h3 {
    margin-bottom: 25px;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 1.4rem;
    text-align: center;
    position: relative;
}

.skill-category dl {
    margin: 0;
    display: grid;
    gap: 15px;
}

.skill-category dt {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.skill-category dt::before {
    content: "▹";
    color: #667eea;
    margin-right: 10px;
    font-size: 1.2rem;
}

.skill-category dd {
    margin-left: 25px;
    margin-bottom: 0;
    color: #555;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
    background-color: rgba(255, 255, 255, 0.98);
}

.project-card h3 {
    margin-bottom: 15px;
    color: #1a1a1a;
    font-weight: 600;
}

.project-card p {
    margin-bottom: 15px;
    color: #333;
    line-height: 1.6;
}

.project-link {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.project-link:hover {
    color: #2980b9;
}

/* Todo App */
.todo-app {
    margin-top: 20px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.todo-app h4 {
    margin-bottom: 15px;
    color: #1a1a1a;
    font-weight: 600;
}

#todo-input {
    width: 70%;
    padding: 12px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    margin-right: 10px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: border-color 0.3s;
}

#todo-input:focus {
    outline: none;
    border-color: #667eea;
    background-color: white;
}

#add-todo {
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

#add-todo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

#todo-list {
    margin-top: 20px;
    list-style: none;
}

#todo-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

#todo-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

#todo-list li.completed {
    text-decoration: line-through;
    opacity: 0.7;
    background-color: rgba(255, 255, 255, 0.8);
}

#todo-list button {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

#todo-list button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.5);
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
}

/* Education */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

table th, table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
table td {
    background: linear-gradient(135deg, #667e2a 0%, #764b52 100%);
    color: white;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.8);
}

table tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.6);
}

ol {
    counter-reset: item;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

ol li {
    counter-increment: item;
    margin-bottom: 20px;
    color: #1a1a1a;
    line-height: 1.6;
}

ol li::marker {
    content: counter(item) ". ";
    font-weight: bold;
    color: #667eea;
    font-size: 1.2em;
}

ol li strong {
    color: #1a1a1a;
    font-weight: 600;
}

ol li ul {
    margin-top: 10px;
    margin-left: 20px;
    background-color: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
    padding: 15px;
}

ol li ul li {
    margin-bottom: 8px;
    color: #333;
    position: relative;
    padding-left: 20px;
}

ol li ul li::before {
    content: "•";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Contact */
.contact-info {
    text-align: center;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    margin: 0 10px;
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #2980b9;
}

/* Form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

button[type="submit"] {
    background-color: #3498db;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #2980b9;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px 0;
}

footer p {
    margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 1024px) {
    .section-layout {
        flex-direction: column;
        gap: 30px;
    }

    .section-image {
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .section-image img {
        height: 250px;
    }

    .section-image a img {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    nav ul {
        margin-top: 20px;
    }

    nav ul li {
        margin-left: 20px;
        margin-right: 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image img {
        width: 200px;
        height: 200px;
    }

    .section-layout {
        gap: 20px;
    }

    .section-image {
        max-width: 300px;
    }

    .section-image img {
        height: 200px;
    }

    .section-image a img {
        width: 200px;
        height: 200px;
    }

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

    #todo-input {
        width: 60%;
    }
}
