@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: #121212;
    color: #e0e0e0;
}

header {
    background-color: #1e1e1e;
    width: 100%;
    height: 80px;
    position: fixed;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 100px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.logo {
    text-decoration: none;
    color: #4da6ff;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.8em;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #82caff;
}

.nav-bar a {
    color: #cccccc;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 700;
    padding-left: 30px;
    transition: 0.3s ease;
}

.nav-bar a:hover {
    color: #4da6ff;
}

/** Main Section */

section {
    padding: 100px 200px;
}

.main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url(../images/background-img.jpg) no-repeat center center fixed;
    background-size: cover;
    position: relative;
    z-index: 1;
}

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

.main h3, 
.main h4, 
.main .social-icons,
.main-btn {
    position: relative;
    z-index: 1;
}

.main h3 {
    color: #e0e0e0;
    font-size: 1.4em;
    font-weight: 500;
}

.main h3 span {
    display: inline-block;
    margin-top: 10px;
    color: #4da6ff;
    font-size: 3em;
    font-weight: 600;
}

.main h4 {
    color: #ffffff;
    font-size: 2em;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.main-btn {
    color: #ffffff;
    background: #1e90ff;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    display: inline-block;
    padding: 0.9375em 2.187em;
    letter-spacing: 1px;
    border: none;
    border-radius: 25px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.main-btn:hover {
    transform: translateY(-8px);
    background: linear-gradient(45deg, #2575fc, #6a11cb);
}

.main .social-icons a{
    color: #ffffff;
    font-size: 1.8em;
    padding-right: 30px;
    transition: 0.3s ease;
}

.main .social-icons a:hover{
    color: #1e90ff;
}

/** About Section */
.about {
    padding: 50px 200px;
    background: #121212;
}

.about .title {
    text-align: center;
    color: #4da6ff;
    font-size: 2.4em;
    font-weight: 800;
    margin-bottom: 40px;
    position: relative;
}
.about .title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #4da6ff;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* container layout */
.about-container {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
    justify-content: center;
}

/* left column */
.about-left {
    width: 330px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.profile-box {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.03);
    text-align: center;
    width: 100%;
}

.profile-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 12px;
    border: 4px solid rgba(77,166,255,0.12);
    box-shadow: 0 8px 20px rgba(77,166,255,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.profile-box:hover .profile-img {
    animation: upDown 0.7s infinite alternate ease-in-out;
    box-shadow: 0 18px 30px rgba(77,166,255,0.18);
}

.profile-name h3 {
    color: #e0e0e0;
    font-size: 1.2em;
    margin-bottom: 4px;
}
.profile-name span {
    color: #cccccc;
    font-size: 0.95em;
}

/* stats */
.about-stats {
    display: flex;
    gap: 12px;
    width: 100%;
    justify-content: space-between;
}
.about-stats .stat {
    background: #1e1e1e;
    padding: 12px;
    border-radius: 10px;
    width: calc(33.333% - 8px);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.03);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}
.about-stats .stat h4 {
    color: #4da6ff;
    font-size: 1.2em;
    margin-bottom: 6px;
}
.about-stats .stat p {
    color: #cccccc;
    font-size: 0.9em;
}

/* right column */
.about-right {
    flex: 1;
    background: #1e1e1e;
    padding: 26px;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.03);
}

.bio {
    color: #e0e0e0;
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 18px;
}

.highlights {
    list-style: none;
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
    padding: 0;
}

.highlights li {
    color: #cccccc;
    font-size: 0.95em;
}

.highlights li i {
    color: #4da6ff;
    margin-right: 8px;
}

/* action buttons */
.about-actions {
    margin-top: 6px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.download-cv, .contact-me {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.download-cv {
    color: #ffffff;
    background: transparent;
}

.contact-me {
    color: #1e90ff;
    background: transparent;
    border: 1px solid rgba(77,166,255,0.12);
}

.download-cv:hover, .contact-me:hover {
    transform: translateY(-6px);
    opacity: 0.95;
}

/* skill pills */
.about-languages {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.language-pill {
    background: rgba(77,166,255,0.07);
    color: #cfe9ff;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9em;
    border: 1px solid rgba(77,166,255,0.06);
}

/** Skills Section */

.skills {
    padding: 50px 20px;
    background: #121212;
}

.skills .title {
    text-align: center;
    color: #4da6ff;
    font-size: 2.4em;
    font-weight: 800;
    margin-bottom: 50px;
    position: relative;
}

.skills .title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #4da6ff;
    margin: 10px auto 0;
    border-radius: 2px;
}

.content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.content .card {
    background-color: #1e1e1e;
    width: 21em;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border-radius: 14px;
    padding: 35px 25px;
    text-align: center;
    transition: 0.4s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.content .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(77, 166, 255, 0.4);
    border-color: rgba(77, 166, 255, 0.6);
}

.content .card .icon {
    color: #4da6ff;
    font-size: 5em;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.content .card:hover .icon{
    animation: upDown 0.7s infinite alternate ease-in-out;
    color: #cccccc;
}

@keyframes upDown {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-10px);
    }
}

.content .card .info h3 {
    color: #4da6ff;
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.content .card:hover .info h3 {
    color: #cccccc;
}

.content .card .info p {
    color: #cccccc;
    text-align: left;
    font-size: 0.95em;
    line-height: 1.6;
}

/** Projects Section */
.projects {
    padding: 50px 20px;
    background: #121212;;
}

.projects .title {
    text-align: center;
    color: #4da6ff;
    font-size: 2.4em;
    font-weight: 800;
    margin-bottom: 50px;
    position: relative;
}

.projects .title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #4da6ff;
    margin: 10px auto 0;
    border-radius: 2px;
}

.projects .content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.project-card {
    background: #1e1e1e;
    border-radius: 14px;
    overflow: hidden;
    width: 340px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(77, 166, 255, 0.4);
    border-color: rgba(77,166,255,0.6);
}

.project-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.project-info {
    padding: 20px;
    text-align: center;
}

.project-category {
    font-size: 0.9em;
    color: #aaaaaa;
    margin-bottom: 8px;
}

.project-title {
    font-size: 1.3em;
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 15px;
}

/* Links (buttons) */
.project-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.btn {
    color: #1e90ff;
    padding: 8px 16px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9em;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn:hover {
    transform: translateY(-8px);
    color: #fff;
    background: linear-gradient(45deg, #2575fc, #6a11cb);
}

/** Education & Certificates Section */
.education {
    padding: 50px 20px;
    background: #121212;
}

.education .title {
    text-align: center;
    color: #4da6ff;
    font-size: 2.4em;
    font-weight: 800;
    margin-bottom: 50px;
    position: relative;
}

.education .title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #4da6ff;
    margin: 10px auto 0;
    border-radius: 2px;
}

.education .content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

/* Education Card */
.edu-card {
    display: flex;
    align-items: flex-start;
    background: #1e1e1e;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.edu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(77,166,255,0.35);
    border-color: rgba(77,166,255,0.5);
}

.edu-icon {
    font-size: 2.5em;
    color: #4da6ff;
    margin-right: 20px;
    flex-shrink: 0;
}

.edu-info h3 {
    font-size: 1.3em;
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 5px;
}

.edu-info .edu-place {
    display: block;
    font-size: 1em;
    color: #cccccc;
    margin-bottom: 4px;
}

.edu-info .edu-date {
    display: block;
    font-size: 0.9em;
    color: #aaaaaa;
    margin-bottom: 10px;
}

.edu-info p {
    font-size: 0.95em;
    color: #cccccc;
    line-height: 1.6;
}

.certificate-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: none;
    color: #1e90ff;
    font-weight: 700;
    font-size: 1em;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.certificate-btn:hover {
    color: #ffffff;
    transform: translateY(-8px);
    background: linear-gradient(45deg, #2575fc, #6a11cb);
}


/** Contact Section */
.contact {
    padding: 50px 20px;
    background: #121212;
}

.contact .title {
    text-align: center;
    color: #4da6ff;
    font-size: 2.4em;
    font-weight: 800;
    margin-bottom: 50px;
    position: relative;
}

.contact .title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #4da6ff;
    margin: 10px auto 0;
    border-radius: 2px;
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background: #1e1e1e;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.05);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: #2a2a2a;
    color: #fff;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #4da6ff;
}

.contact-form textarea {
    resize: none;
}

.recaptcha-wrapper {
    display: inline-block;
    padding: 5px;
    border-radius: 15px;
}

.recaptcha-error {
    color: red;
    font-size: 0.9em;
    margin-top: 10px;
}

.contact-form .btn {
    display: inline-block;
    background: none;
    color: #1e90ff;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form .btn:hover {
    color: #ffffff;
    background: linear-gradient(45deg, #2575fc, #6a11cb);
}

/** Footer Section */
.footer {
    background: #020202;
    color: #c9d1d9;
    text-align: center;
    padding: 10px 10px;
    margin-top: 50px;
    border-top: 1px solid #21262d;
}

.footer .container {
    max-width: 1200px;
    margin: auto;
}

.footer p {
    margin: 0;
    font-size: 0.95em;
}

.footer .social-icons {
    margin-top: 10px;
}

.footer .social-icons a {
    color: #ffffff;
    font-size: 1.5em;
    margin: 0 12px;
    transition: 0.3s ease;
}

.footer .social-icons a:hover {
    color: #1e90ff;
}