
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f4f7f1;
    color: #17211f;
}

/* Login page layout */
.login-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.login-container {
    width: 100%;
    max-width: 1050px;
    min-height: 580px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

/* Left side */
.login-left {
    background: #172b20;
    color: white;
    padding: 65px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-left h1 {
    font-size: 35px;
    margin-bottom: 15px;
}

.login-left h1 span {
    color: #b9f36b;
}

.login-left h2 {
    font-size: 38px;
    line-height: 1.3;
    margin: 45px 0 20px;
}

.login-left p {
    color: #c5d1c7;
    line-height: 1.8;
}

/* Right side */
.login-right {
    padding: 65px 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-right h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.login-right > p {
    color: #7b867e;
    margin-bottom: 35px;
}

.login-right label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin: 20px 0 9px;
}

.login-right input {
    width: 100%;
    padding: 14px;
    border: 1px solid #dce4d8;
    border-radius: 7px;
    outline: none;
    font-size: 14px;
}

.login-right input:focus {
    border-color: #75a83d;
    box-shadow: 0 0 0 3px rgba(117, 168, 61, 0.12);
}

/* Login button */
.login-right button {
    width: 100%;
    padding: 15px;
    margin-top: 30px;
    border: none;
    border-radius: 7px;
    background: #a8e653;
    color: #17211f;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.login-right button:hover {
    background: #91d33c;
    transform: translateY(-2px);
}

#message {
    margin-top: 15px;
    font-size: 13px;
    color: #c0392b;
}

/* Mobile responsive design */
@media (max-width: 700px) {
    .login-container {
        grid-template-columns: 1fr;
    }

    .login-left {
        padding: 40px 30px;
    }

    .login-left h2 {
        font-size: 29px;
        margin: 25px 0 15px;
    }

    .login-right {
        padding: 40px 30px;
    }
}

/* ==========================
   PORTFOLIO WEBSITE STYLING
========================== */

.portfolio-page {
    background: #f7f8f5;
    color: #17211f;
}

/* Navigation */
.portfolio-page header {
    background: #172b20;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    max-width: 1150px;
    margin: auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.navbar h2 {
    color: white;
    font-size: 23px;
}

.navbar h2 span,
.portfolio-section h2 span {
    color: #8fc64e;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
}

.navbar ul a {
    color: white;
    font-size: 13px;
    text-decoration: none;
}

.navbar ul a:hover {
    color: #b9f36b;
}

.navbar button {
    padding: 10px 16px;
    border: 0;
    border-radius: 5px;
    background: #b9f36b;
    cursor: pointer;
    font-weight: bold;
}

/* Hero */
.portfolio-hero {
    min-height: 550px;
    display: flex;
    align-items: center;
    padding: 60px 10%;
    background: linear-gradient(120deg, #e6f0dc, #f7f8f5);
}

.hero-content {
    max-width: 750px;
}

.small-heading {
    color: #6b963d;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
}

.hero-content h1 {
    font-size: clamp(38px, 6vw, 65px);
    margin: 20px 0;
}

.hero-content h1 span {
    color: #6b9e37;
}

.hero-content h2 {
    font-size: 23px;
    margin-bottom: 20px;
}

.hero-content p {
    color: #68756c;
    line-height: 1.8;
}

.hero-button {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 22px;
    background: #172b20;
    color: white;
    border-radius: 6px;
    text-decoration: none;
}

.hero-button:hover {
    background: #34513b;
}

/* Common sections */
.portfolio-section {
    padding: 80px 10%;
}

.portfolio-section h2 {
    font-size: 36px;
    margin-bottom: 35px;
}

/* About */
.about-box {
    max-width: 850px;
}

.about-box p {
    font-size: 17px;
    line-height: 1.9;
    color: #68756c;
    margin-bottom: 18px;
}

/* Education */
.education-section {
    background: #edf2e8;
}

.education-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.education-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #8fc64e;
}

.education-card h3 {
    margin-bottom: 15px;
}

.education-card p {
    color: #77827a;
    font-size: 14px;
    margin-bottom: 12px;
}

.education-card strong {
    color: #628f36;
}

/* Skills */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skill {
    padding: 15px 24px;
    background: #e8f2dd;
    color: #34572b;
    border-radius: 7px;
    font-weight: bold;
    transition: 0.3s;
}

.skill:hover {
    background: #b9f36b;
    transform: translateY(-4px);
}

/* Projects */
.projects-section {
    background: #172b20;
    color: white;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.project-card {
    background: #233a2b;
    padding: 28px;
    border: 1px solid #405747;
    border-radius: 10px;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #b9f36b;
}

.project-status {
    color: #b9f36b;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.project-status.in-progress {
    color: #f2ce75;
}

.project-card h3 {
    font-size: 21px;
    margin-bottom: 15px;
}

.project-card p:not(.project-status) {
    color: #c4d0c6;
    font-size: 14px;
    line-height: 1.8;
}

.tech-stack {
    margin-top: 20px;
    color: #b9f36b;
    font-size: 12px;
    font-weight: bold;
}

/* Contact */
.contact-section h3 {
    font-size: 25px;
    margin-bottom: 20px;
}

.contact-section > p {
    max-width: 750px;
    color: #68756c;
    line-height: 1.8;
    margin-bottom: 15px;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 35px;
}

.contact-container a {
    background: white;
    border: 1px solid #e0e8dc;
    border-radius: 9px;
    padding: 22px;
    color: #34572b;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.contact-container a:hover {
    transform: translateY(-4px);
    border-color: #8fc64e;
}

.contact-container span {
    display: block;
    margin-top: 10px;
    color: #77827a;
    font-size: 12px;
    overflow-wrap: anywhere;
}

/* Footer */
.portfolio-page footer {
    background: #101b14;
    color: #c4d0c6;
    text-align: center;
    padding: 25px;
    font-size: 13px;
}

/* Responsive design */
@media (max-width: 900px) {
    .navbar {
        flex-wrap: wrap;
    }

    .navbar ul {
        justify-content: center;
    }

    .education-container {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
    }

    .navbar ul {
        gap: 12px;
    }

    .portfolio-section {
        padding: 55px 7%;
    }

    .projects-container {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 40px;
    }
}
/* Signup page styling */
.signup-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background: #172b20;
    color: #17211f;
}

.signup-page .login-container {
    display: block;
    width: 100%;
    max-width: 450px;
    min-height: auto;
    padding: 40px;
    background: white;
    border-radius: 18px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.signup-page h1 {
    text-align: center;
    color: #172b20;
    margin-bottom: 10px;
}

.signup-page .login-container > p {
    text-align: center;
    margin-bottom: 20px;
}

.signup-page form {
    display: flex;
    flex-direction: column;
}

.signup-page label {
    margin: 10px 0 6px;
    font-weight: 600;
}

.signup-page input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
}

.signup-page button {
    margin-top: 20px;
    padding: 13px;
    background: #172b20;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.signup-page button:hover {
    background: #294b37;
}

.signup-page a {
    color: #294b37;
    font-weight: 600;
}