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

/* SMOOTH SCROLL */
html {
    scroll-behavior: smooth;
}

/* MAIN HOME SECTION */
.main {
    width: 100%;
    height: 100vh;
    position: relative;
    background-color: #f5f5f5;
}

/* NAVBAR */
.navbar {
    width: 86%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

/* LOGO */
.navbar .logo {
    width: 160px;
    cursor: pointer;
}

/* NAV LINKS */
ul {
    display: flex;
    align-items: center;
    gap: 20px;
}

ul li {
    list-style: none;
}

ul li a {
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: darkslategray;
    transition: 0.4s ease;
}

ul li a:hover {
    color: rgb(230, 104, 59);
}

/* HERO INFO SECTION */
.info {
    margin-left: 7%;
    margin-top: 6%;
}

.info h1 {
    font-size: 65px;
    color: rgb(36, 32, 30);
}

.info h3 {
    font-size: 18px;
    letter-spacing: 1px;
    line-height: 24px;
    color: #000;
}

.info span {
    color: rgb(230, 104, 59);
}

.info a {
    text-decoration: none;
    color: #fff;
    background: rgb(36, 32, 30);
    margin: 26px 0;
    padding: 10px 18px;
    border-radius: 10px;
    display: inline-block;
    transition: 0.4s ease;
}

.info a:hover {
    background: rgb(59, 174, 209);
}

/* HERO IMAGE */
.image {
    width: 30%;
    height: 60%;
    position: absolute;
    right: 100px;
    bottom: 0;
}

.image img {
    position: absolute;
    height: 110%;
    left: 70%;
    transform: translate(-45%);
    bottom: 0;
    transition: left 2s ease;
}

.image:hover .photo {
    left: 55%;
}

/* SOCIAL ICONS */
.icons a {
    text-decoration: none;
    color: #000;
}

.icons ion-icon {
    margin-left: 7%;
    color: #000;
    margin-right: -60px;
    font-size: 40px;
    transition: 0.4s ease;
}

.icons ion-icon:hover {
    color: rgb(59, 174, 209);
}

/* SECTION STYLING */
.about,
.skills,
.education,
.interests,
.projects,
.contact {
    padding: 60px 10%;
    background-color: rgba(0, 0, 0, 0.5);
    border-top: 1px solid #ccc;
    border-radius: 10px;
    margin: 20px;
}

.about h2,
.skills h2,
.education h2,
.interests h2,
.projects h2,
.contact h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #000;
}

.about p, .about ul,
.skills p, .skills ul,
.education p, .education ul,
.interests p, .interests ul,
.projects p, .projects ul,
.contact p, .contact ul {
    font-size: 18px;
    line-height: 1.6;
    color: #f1f1f1;
}

/* SKILLS BULLET LIST */
#skills ul {
    list-style-type: disc;
    padding-left: 40px;
    line-height: 1.8;
    margin-top: 20px;
}

#skills li {
    font-size: 1.1em;
    color: #f5f5f5;
}

/* PROJECT BOXES */
.project {
    margin-bottom: 20px;
}

/* CONTACT FORM */
.contact-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-info {
    flex: 1 1 40%;
    color: #f1f1f1;
}

.contact-form {
    flex: 1 1 50%;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    background-color: #fff;
    color: #000;
}

.contact-form button {
    padding: 10px 20px;
    background-color: rgb(59, 174, 209);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: rgb(36, 132, 165);
}

/* EDUCATION SPACING */
#education p {
    margin-bottom: 20px;
}

/* DOWNLOAD CV LINK */
.download-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.download-link:hover {
    background-color: #0056b3;
}

/* FOOTER */
footer {
    background-color: rgba(0, 0, 0, 0.8);
    color: #ccc;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

footer .container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

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

footer .social-links a {
    margin: 0 10px;
    color: #ccc;
    text-decoration: none;
    font-weight: bold;
}

footer .social-links a:hover {
    color: rgb(59, 174, 209);
}

footer .social-links i {
    margin-right: 5px;
}
