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

body {
    background: #1f2025;
    color: white;
    font-family: 'Bricolage Grotesque', sans-serif;
}

.page-offset {
    padding-top: 160px;
}

/* ====== HEADER ===== */

.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 30px 60px;

    background: transparent;
    width: 100%;
    max-width: 100%;

    z-index: 1000;
}

.logo {
    font-size: 22px;
    font-weight: 700;
}

.star {
    color: #3ddad7;
    margin-right: 8px;
}

.navbar {
    background: #2b2d34;
    padding: 6px;
    border-radius: 40px;
    display: flex;
    gap: 6px;
}

.navbar a {
    color: #cfcfcf;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s ease;
    text-decoration: none; 

}

.navbar a:hover {
    background: #3ddad7;
    color: #000;
}

.navbar .active {
    background: #3ddad7;
    color: #000;
}

/* ====== HERO ====== */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 70px 100px;
    padding-bottom: 140px;
    gap: 70px;
    margin-top: 90px;
}

/* LEFT */
.hero-text {
    width: 50%;
}

.welcome {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;

}

h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.highlight {
    color: #3ddad7;
}

.description {
    font-family: 'Abhaya Libre', serif;
    font-size: 22px;
    line-height: 1.25;
    color: #d8d8d8;
    margin-top: 18px;
    margin-bottom: 26px;;
}

/* BUTTONS */
.buttons {
    display: flex;
    gap: 18px;
    margin-top: 6px;
}

.btn {
    padding: 12px 28px;
    border-radius: 30px;
    border: none;
    font-size: 15px;
    cursor: pointer;
}

.contact {
    background: white;
    color: black;
}


.cv {
    background: #2b2d34;
    color: #3ddad7;
    text-decoration: none;   
    display: inline-block; 
}

/* RIGHT IMAGE */
.hero-image {
    position: relative;
    width: 40%;
}

/* ====== HEXAGON DESIGN ===== */
.hero-image {
    position: relative;
    width: 42%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hex image wrapper */
.hex-image {
    position: relative;
    width: 420px;
    height: 420px;
}

/* Background hex image */
.hex-bg {
    width: 95%;
    height: auto;
    display: block;
}

/* Profile image centered */
.profile-img {
    position: absolute;
    top: 55%;
    left: 47%;
    width: 80%;
    transform: translate(-50%, -50%);
    border-radius: 24px;
}

/* ===== SOCIAL ICONS ====== */

.socials {
    position: absolute;
    bottom: 20px;
    right: 25px;

    display: flex;
    gap: 25px;

    transform: rotate(-35deg);
}

.socials img {
    width: 22px;
    cursor: pointer;
    transform: rotate(0deg); 
}


.btn {
    transition: 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

.navbar a.active {
  background: #35d5cf;
  color: #000;
  border-radius: 20px;
}

/* ===== ABOUT PAGE ===== */

.about-page {
  background: #1f2025;
  overflow-x: hidden;
}


/* LEFT TRIANGLE IMAGE */
.about-left-design {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 45vw;
  z-index: -1;
}

.about-left-design img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* CONTENT POSITION */
.about-section {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-right: 250px;
  padding-top: 100px;
  position: relative;
  z-index: 2;
  margin-top: 120px;
}

/* TEXT BLOCK */
.about-content {
  max-width: 600px;
}

/* TITLE */
.about-title {
  font-size: 40px;
  margin-bottom: 25px;
  color: white;
}

.about-title span {
  color: #35d6d1;
  border-bottom: 2px solid #35d6d1;
}

/* PARAGRAPH */
.about-content p {
  font-size: 20px;
  line-height: 1.6;
  color: #d8d8d8;
  margin-bottom: 18px;
}

/* ACTIONS */
.about-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.btn-cv {
  background: #e9ffff;
  color: #000;
  padding: 10px 26px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
}

.btn-cv:hover {
  background: #d1f5f3;
}

.social-icons a {
  text-decoration: none;
  outline: none;
}


/* EDUCATION */
.education-section {
  margin: 120px auto;
  max-width: 900px;
  text-align: center;
  margin-top: 40px;
}

.edu-title {
  font-size: 42px;
  color: white;
  margin-bottom: 60px;
}

.edu-title span {
  color: #35d5cf;
  border-bottom: 2px solid #35d5cf;
}

.edu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.edu-card {
  border: 1px solid #777;
  padding: 25px;
  border-radius: 12px;
}

.edu-card h3 {
  color: #35d5cf;
  margin-bottom: 10px;
}

.edu-card.active {
  border-color: #35d5cf;
}

.edu-card:hover {
  transform: translateY(-5px);
  transition: 0.3s;
}

/* ================= PROJECTS ================= */

.projects-section {
    padding: 80px 60px;
    text-align: center;
    margin-top: 50px;
}

.projects-title {
    font-size: 42px;
    margin-bottom: 60px;
}

.projects-title span {
    color: #35d6d1;
    border-bottom: 2px solid #35d6d1;
}

/* GRID */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* CARD */
.project-card {
    background: #2b2d34;
    border-radius: 14px;
    padding: 22px;
    text-align: left;
    transition: 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
}

/* IMAGE */
.project-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 18px;
}

/* TITLE */
.project-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #35d6d1;
    margin-bottom: 10px;
}

/* DESCRIPTION */
.project-card p {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #d0d0d0;
    line-height: 1.4;
    margin-bottom: 22px;
}

/* BUTTONS */
.project-buttons {
    display: flex;
    gap: 14px;
}

.project-buttons .btn {
    padding: 10px 18px;
    border-radius: 22px;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s ease;
}

.project-buttons .view {
    background: #35d6d1;
    color: #000;
}

.project-buttons .repo {
    border: 1px solid #35d6d1;
    color: #35d6d1;
}

.project-buttons .btn:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* ===== ACHIEVEMENTS ===== */

.achievements-section {
    padding: 80px 60px;
    padding-top: 150px;
    text-align: center;
}

.achievements-title {
    font-size: 42px;
    margin-bottom: 60px;
}

.achievements-title span {
    color: #35d6d1;
    border-bottom: 2px solid #35d6d1;
}

/* MAIN CONTAINER */
.achievements-box {
    background: #2b2d34;
    border-radius: 28px;
    padding: 60px;
    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

/* ITEMS */
.achievement-item {
    padding: 35px 30px;
    text-align: left;
    position: relative;
}

/* DIVIDING LINES */
.achievement-item:nth-child(1),
.achievement-item:nth-child(2),
.achievement-item:nth-child(4),
.achievement-item:nth-child(5) {
    border-right: 1px solid rgba(255,255,255,0.35);
}

.achievement-item:nth-child(1),
.achievement-item:nth-child(2),
.achievement-item:nth-child(3) {
    border-bottom: 1px solid rgba(255,255,255,0.35);
}

/* TITLE */
.achievement-item h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #35d6d1;
    margin-bottom: 10px;
}

/* DESCRIPTION */
.achievement-item p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #e0e0e0;
    line-height: 1.5;
}

/* ===== CONTACT PAGE ===== */

.contact-section {
    padding: 80px 60px;
    color: #ffffff;
    margin-top: 120px;
}

.contact-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
}

.contact-title span {
    color: #35d6d1;
    border-bottom: 2px solid #35d6d1;
}

/* MAIN LAYOUT */
.contact-container {
    display: flex;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto 80px;
}

/* FORM */
.contact-form {
    flex: 1;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: #2b2d34;
    border: none;
    border-radius: 12px;
    padding: 14px 16px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 25px;
}

.contact-form textarea {
    height: 180px;
    resize: none;
}

.contact-form button {
    background: #35d6d1;
    border: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 500;
}

/* RIGHT TEXT */
.contact-text {
    flex: 1;
    margin-top: 60px;
}

.contact-text h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.contact-text p {
    font-size: 16px;
    color: #cccccc;
    line-height: 1.6;
}

/* FOOTER */
.contact-footer {
    text-align: center;
}

.footer-links {
    margin-bottom: 25px;
}

.footer-links a {
    color: #ffffff;
    margin: 0 18px;
    text-decoration: none;
    font-size: 14px;
}


.footer-socials a {
    text-decoration: none;
}

.footer-socials img {
    transition: transform 0.25s ease;
    width: 15px;
    margin: 0 10px;
    cursor: pointer;
}

.footer-socials img:hover {
    transform: translateY(-4px);
}

/* ICONS */
.social-icons img {
  width: 22px;
  margin-right: 14px;
  cursor: pointer;
}

a.btn {
    text-decoration: none;
}


/* ===== PUBLICATIONS & BLOGS ===== */

.page-title {
    text-align: center;
    font-size: 42px;
    margin: 80px 0 60px;
    margin-top: 30px;
}

.page-title span {
    color: #35d6d1;
    border-bottom: 2px solid #35d6d1;
}

/* ===== Publications ===== */

.publications-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.publication-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
}

.publication-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.publication-content {
    padding: 25px;
}

.publication-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #000;
}

.publication-content h3 span {
    font-weight: 500;
}

.publication-content p {
    margin: 15px 0;
    font-size: 16px;
    color: #444;
}

.doc-link {
    color: #35d6d1;
    font-weight: 500;
    text-decoration: none;
}

/* ===== Blogs ===== */

.blogs-section {
    margin-bottom: 100px;
}

.blogs-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.blog-card {
    background: #172a2a;
    border-radius: 16px;
    overflow: hidden;
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 22px;
}

.blog-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: white;
}

.blog-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #cfcfcf;
    margin-top: 8px;
    line-height: 1.5;
}

