/* ===== General Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}



/* ===== Header Section ===== */
.header-section {
    width: 100%;
    padding: 25px 10%;
    background: #1F2833;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    top: 0;
    z-index: 1000;
}

.header {
    display: flex;
    align-items: center;
}

.name-header {
    font-size: 2rem;
    font-weight: 700;
    color: #f5f5f5;
}

.name-header span {
    color: white; /* coral accent from new palette */
}

/* Responsive Header */
@media (max-width: 900px) {
    .header-section {
        justify-content: center;
        padding: 20px 5%;
    }

    .name-header {
        font-size: 1.8rem;
    }
}



/* ===== Home Section ===== */
.home-section {
    display: flex;
    align-items: flex-start;
    justify-content: center; 
    gap: 15%;
    padding: 200px 10% 0; 
    background: #292c39;
    color: #f8fafc;
    min-height: 100vh;
    position: relative;
    flex-wrap: wrap;
}

.home-details {
    flex: 1;
    max-width: 600px;
}

.home-header {
    font-size: 3rem;
    margin: 0.5rem 0;
    font-weight: 700;
}

.home-header span {
    color: #38bdf8;
}

.home-details p {
    margin: 20px 0;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 5px;
    margin-bottom: 30px;

}

.about-resume-buttons {
    margin-top: 20px;
}

.about-button,
.resume-button {
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    margin-right: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}



.resume-button {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    
}

.resume-button:hover {
    background-color: #fff;
    color: #000;
}

/* Social Links */
.website-links {
    margin-top: 30px;
}

.website-links a {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.website-links a:hover {
    color: #ffd700;
    transform: scale(1.2);
}

/* Profile Image */
.home-pic {
    flex: 1;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    margin-top: 30px;
}

/* Down Arrow Button */
.button-wrapper {
    width: 100%;
    text-align: center;
    margin-top: 40px;
}

#move-down-button {
    background: transparent;
    border: 2px solid #fff;
    padding: 10px 20px;
    border-radius: 50px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

#move-down-button:hover {
    background-color: #fff;
    color: #000;
}

/* Responsive Home Section */
@media (max-width: 900px) {
    .home-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 5%;
    }

    .home-pic {
        margin-top: 40px;
        max-width: 80%;
    }

    .home-details {
        max-width: 100%;
    }
}

/* ===== Content Section ===== */
.content-section {
    padding: 3%;
    background: #dae1e7;
}

/* ===== Tabs ===== */
.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab {
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    background: #e5e7eb;
    color: #374151;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab:hover {
    background: #d1d5db;
}

.tab.active {
    background: #2563eb;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ===== Tab Panels ===== */
.tab-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    padding: 2%;
    box-shadow: 0 10px 10px 0 rgba(0,0,0,0.2);
    background: whitesmoke;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== About Panel ===== */

.about {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.8;
  color: #444;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #1a1a1a;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-left: 5px solid #4f46e5;
  padding-left: 10px;
}

.about p {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: #555;
  line-height: 1.85;
}

.about-description-box,
.my-hobbies,
.my-future {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 50px;
  padding: 25px;
  border: 1px solid #eee;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.my-hobbies {
  flex-direction: row-reverse;
}

.about-description-box:hover,
.my-hobbies:hover,
.my-future:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15);
}

/* Images in about section */
.about-pic {
  width: 220px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}




/* ===== Education Section ===== */
.education {
    margin-top: 20px;
}

.education h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    color: #2563eb;
}

.EducationBox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(145deg, #f3f4f6, #e5e7eb);
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-wrap: wrap;
}

.EducationBox:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.EducationBox div {
    flex: 2;
    padding-right: 20px;
}

.EducationBox h2 {
    font-size: 1.4rem;
    color: #1e3a8a;
}

.EducationBox h3 {
    font-size: 1rem;
    color: #475569;
}

.EducationBox h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
}

.EducationBox p, .EducationBox ul li {
    color: #374151;
    line-height: 1.5;
    font-size: 0.95rem;
    list-style-type: none;
}

.school-img {
    flex: 1;
    max-width: 180px;
    border-radius: 15px;
    object-fit: cover;
    align-self: center;
}

/* ===== Skills Section ===== */
.skills {
    margin-top: 30px;
}

.skills h2 {
    font-size: 1.8rem;
    color: #2563eb;
    margin-bottom: 10px;
}

.skills h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1e40af;
}

.SkillBox {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    padding: 10px 18px;
    margin: 5px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
    cursor: default;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 900px) {

    .about-description-box,
    .my-hobbies,
    .my-future {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-pic{
        max-width: 100%;
        margin-top: 15px;
    }

    .EducationBox {
        flex-direction: column;
        align-items: flex-start;
    }

    .school-img {
        max-width: 100%;
        margin-top: 15px;
    }
}
