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

body {
    font-family: Arial, sans-serif;
    background: #0f172a;
    color: #ffffff;
}


html,
body {
    height: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
}

.container {
    width: 90%;
    margin: auto;
    text-align: center;
    flex: 1;
}

/* HEADER */
header {

    display: flex;
    justify-content: space-between;
    padding: 25px 30px;
}

.logo {
    font-style: italic;
    font-family: 'Courier New', Courier, monospace;
    font-size: 22px;
    font-weight: bold;
}

/* FOOTER */
footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    background: #020617;
    padding: 20px 30px;
    border-top: 1px solid #1e293b;
    margin-top: auto;
    color: #cbd5e1;
}

.inner {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.page-heading {

    position: relative;
    display: inline-block;
    margin-top: 30px;
    margin-bottom: 30px;
    color: white;
}

.page-heading::after {
    content: "";
    width: 60%;
    height: 3px;
    background: #00d9ff;
    position: absolute;
    left: 20%;
    bottom: -10px;
    border-radius: 10px;
}

nav a {
    font-size: 18px;
    color: #e2e8f0;
    text-decoration: none;
    margin: 0 15px;
    transition: 0.3s;
}

nav a:hover {
    color: #00d9ff;
}

nav a.active {
    border-bottom: 2px solid #00d9ff;
    color: #00d9ff;
    font-weight: bold;
}



.icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
}

.icons a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}

.icons i {
    font-size: 32px;
}

.icons img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.fa-github {
    color: white;
}

.fa-linkedin {
    color: #0A66C2;
}

.fa-envelope {
    color: #EA4335;
}

.icons a:hover {
    transform: scale(1.15);
}

.home {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    gap: 90px;
    padding: 40px 0;
    margin-top: 50px;
}

.profile img {

    width: 320px;
    height: 320px;
    border-radius: 20px;
    object-fit: cover;
    border: 3px solid #00d9ff;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.4);
    transition: 0.4s;
}

.profile img:hover {

    transform: scale(1.05);
}

.info h1 {
    font-size: 42px;
    color: white;
}

.info p {
    color: #c0c0c0;
    margin: 20px 0;
}

.typing {
    font-size: 18px;
    margin: 10px 0;
}

#typing {
    color: #00d9ff;
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 24px;
}

button {
    margin-top: 20px;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    background: lightblue;
    color: black;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(0, 217, 255, 0.25);
}

button:hover {
    background: linear-gradient(135deg, #3b82f6, #00d9ff);
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 217, 255, 0.35);
}


.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 15px;
}

/* EDUCATION */
.boxes {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

.box {
    border: 1px solid #334155;
    padding: 20px;
    cursor: pointer;
}

.details {
    margin-top: 20px;
    display: none;
}

.follow {
    display: flex;
    align-items: center;
    gap: 15px;
}

.follow .icons {
    margin-top: 0;
}

.follow span {
    font-size: 16px;
    color: #cbd5f5;
}

.edu-box,
.skills-box,
.contact-info,
.contact-form-box,
.project-card,
.details,
.about-section {

    transition: 0.3s;
}

.edu-box:hover,
.skills-box:hover,
.contact-info:hover,
.contact-form-box:hover,
.project-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 10px 25px rgba(0, 217, 255, 0.15);
}


@media (max-width: 768px) {
    .home {
        flex-direction: column;
        text-align: center;
    }

    .profile img {
        width: 230px;
        height: 230px;
    }

    .inner {
        flex-direction: column;
        gap: 10px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}