*{
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body {
    font-family: 'inter', Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    color: white;
    background-color: #111;
}

h1, h2, h3, p, li {
    color: white;
}

nav {
    background: rgba(0, 0, 0, 0.80);
    padding: 25px;
    text-align: center;
    position: relative;
    z-index: 1;
}

nav a {
    color: #12102b;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;

    background: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    margin: 5px 4px;
    display: inline-block;
    transition: background 0.3s ease, color 0.3s ease;
}

nav a:hover {
    background: #00d9ff;
    color: #12102b;
    transform: translateY(-2px);
}

#home {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
}

.home content {
    max-width: 850px
}

#home h2 {
    font-size: 20px;
    letter-spacing: 1px
}

#home h1 {
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 2px;
    font-size: 52px;
    font-weight: 700;
    text-transform: uppercase;
    min-height: 70px;
    transition: opacity 0.5s ease, color 0.5s ease;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.6);
}

#rotating-icon {
    font-size: 40px;
    margin-top: 15px;
    transition: opacity 0.5s ease;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

#about {
    max-width: 900px;
    margin: auto;
    padding: 80px 20px;
    text-align: left;
}

#about h2 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

#about p {
    font-size: 18px;
    margin-bottom: 20px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}


.profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #00d9ff;
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.35);
    flex-shrink: 0;
}

.about-text{
    flex: 1;
    min-width: 260px;
}

#quote-section {
    min-height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 30px;
    background-image: url("quotebar.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.quote-box {
    position: relative;
    max-width: 750px;
    width: 100%;
    padding: 40px 60px;
    background: #000000;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.quote-box::after {
    content: "";
    position: absolute;
    bottom: -22px;
    left: 60px;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 24px solid #000000;
}

.quote-box .quote-mark-open{
    position: absolute;
    top: -18px;
    left: 30px;
    font-size: 60px;
    font-weight: 900;
    color: #00d9ff;
    font-family: Georgia, serif;
    line-height: 1;
}

.quote-box .quote-mark-close{
    position: absolute;
    bottom: -18px;
    right: 30px;
    font-size: 60px;
    font-weight: 900;
    color: #00d9ff;
    font-family: Georgia, serif;
    line-height: 1;
} 

.quote-box p{
    font-family: 'Rajdhani', sans-serif;
    color: white;
    font-size: 32px;
    font-weight: 700;
    font-style: italic;
    line-height: 1.4;
    margin: 0;
    letter-spacing: 1px;
}

#projects {
    padding: 100px 300px;
    text-align: left;
}

#projects h2 {
    font-family: 'Orbitron', sans-serit;
    letter-spacing: 1px;
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px
}

.project {
    max-width: 750px;
    margin: 30px auto;
    padding: 30px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08)
}

.project h3 {
    font-size: 24px;
}

.project p {
    font-size: 17px;
}

#skills {
    padding: 100px 30px;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}

#skills h2 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
}

#skills ul {
    list-style-type: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

#skills li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: border-color 0.3s ease, transform 0.2s ease;
}

#skills li:hover {
    border-color: #00d9ff;
    transform: translateY(-2px);
}

#skills li i {
    color: #00d9ff;
    font-size: 20px;
    width: 24px;
    text-align: center;
}

#devlog{
    max-width: 900px;
    margin: auto;
    padding: 100px 30px;
    text-align: left;
}

#devlog h2 {
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

#devlog article {
    padding: 0;
    margin-top: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
} 

.devlog-toggle {
    width: 100%;
    display: flex;
    Justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: white;
    font-family: inherit;
    font-size: 20px;
    font-weight: 700;
    padding: 24px 30px;
    cursor: pointer;
    text-align: left;
}

.devlog-icon {
    font-size: 26px;
    color: #00d9ff;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

.devlog-entry.active .devlog-icon {
    transform: rotate(45deg);
}

.devlog-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
}

.devlog-entry.active .devlog-content {
    max-height: 300px;
    padding: 0 30px 24px;
}

.devlog-content p {
    font-size: 17px;
    margin: 0;
}

#contact {
    padding: 100px 30px;
    text-align: center;
}

#contact h2 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    font-size: 36px;
}

#contact p {
    font-size: 18px;
}

#contact ul {
    list-style: none;
    padding: 0;
    display:inline-block;
    text-align: left;
}

#contact li {
    margin: 15px 0;
}

#contact a {
    text-decoration: none;
    font-size: 18px;
    color: #00aaff;
    transition: color 0.3s ease;
}

#contact a:hover {
    color: white;
}

footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    background: #0a0f1e;
    padding: 60px 40px 30px;
}

.footer-col{
    flex: 1;
    min-width: 200px;


}

.footer-col h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-col p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-col a {
    display: block;
    color: #00d9ff;
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: white;
}

.social-icons a {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
    font-size: 22px;
    display: inline;
}

.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    background: #0a0f1e;
    margin: 0;
    padding: 15px 0 25px;
}

@media (max-width: 900px) {
    nav {
        padding: 18px 10px;
    }

    nav a {
        font-size: 14px;
        padding: 7px 12px;
    }

    #home {
        padding: 50px 30px;
    }

    #homeh1{
        font-size: 42px;
    }

    .quote-box {
        max-width: 750px;
    }

    .quote-box {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    nav {
        padding: 15px 8px;
    }

    nav a {
        font-size: 13px;
        padding: 7px 10px;
        margin: 3px 2px;
    }

    #home {
        min-height: 90vh;
        padding: 40px 20px;
        background-position: center center;
    }

    #home h2 {
        font-size: 17px;
    }

    #home h1 {
        font-size: 34px;
        line-height: 1.15;
        min-height: auto;
    }

    #rotating-icon {
        font-size: 34px;
    }

    #about {
        padding: 70px 20px;
    }

    #about h2 {
        font-size: 29px;
    }

    #about p {
        font-size: 16px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .profile-pic {
        width: 150px;
        height: 150px;
    }

    #quote-section {
        min-height: 380px;
        padding: 35px 20px;
        background-position: center;
    }

    .quote-box {
        padding: 30px 22px;
        max-width: 90%;
    }

    .quote-box p {
        font-size: 20px;
    }

    .quote-box .quote-mark-open,
    .quote-box .quote-mark-close {
        font-size: 40px;
    }

    .quote-box .quote-mark-open {
        top: -14px;
        left: 18px;
    }

    .quote-box .quote-mark-close {
        bottom: -14px;
        right: 18px;
    }

    #projects {
        padding: 70px 20px;
    }

    #projects h2 {
        font-size: 29px
    }

    .project {
        padding: 22px;
    }

    .project h3 {
        font-size: 21px;
    }

    .project p {
        font-size: 16px;
    }

    #skills {
        padding: 70px 20px;
    }

    #skills h2 {
        font-size: 29px;
    }

    #skills ul {
        grid-template-columns: 1fr;
    }

    #devlog {
        padding: 70px 20px;
    }

    #devlog h2 {
        font-size: 29px;
    }

    #devlog article {
        padding: 22px;
    }

    .devlog-toggle {
        font-size: 17px;
        padding: 18px 20px;
    }

    .devlog-content {
        padding: 0 20px;
    }

    .devlog-entry.active .devlog-content {
        padding: 0 20px 18px;
    }

    #contact {
        padding: 70px 20px;
    }

    #contact h2 {
        font-size: 29px;
    }

    footer {
        flex-direction: column;
        padding: 50px 25px 30px;
        gap: 30px;
    }

    .footer-col {
        min-width: 100%;
    }
}

