/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1e1e2f;
    color: #fff;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background-color: #2a2a40;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff6b6b;
}

.navbar .nav-links {
    display: flex;
    gap: 20px;
}

.navbar .nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar .nav-links a:hover {
    color: #ff6b6b;
}

/* Header */
header {
    background: linear-gradient(135deg, #2a2a40, #1e1e2f);
    padding: 100px 20px;
    text-align: center;
}

header h1 {
    font-size: 3rem;
    margin: 0;
    font-weight: 700;
    color: #ff6b6b;
}

header p {
    font-size: 2rem;
    color: #a5a5b8;
}
/* Sections */
.section {
    padding: 60px 20px;
    background-color: #2a2a40;
    margin: 20px auto;
    max-width: 1200px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ff6b6b;
}
/* Download CV Button */
.download-cv {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #ff6b6b;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.download-cv:hover {
    background-color: #ff4c4c;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

/* About Section */
#about ul {
    list-style-type: none;
    padding: 0;
}

#about ul li {
    margin-bottom: 10px;
    color: #a5a5b8;
}

#about ul li strong {
    color: #ff6b6b;
}

/* Portfolio Section */
#portfolio .projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.project-card {
    background-color: #3a3a5a;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.project-card img {
    width: 100%;
    border-radius: 8px;
}

.project-card h3 {
    margin-top: 15px;
    font-size: 1.5rem;
    color: #ff6b6b;
}

.project-card p {
    color: #a5a5b8;
}

.project-card a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 500;
}

.project-card a:hover {
    text-decoration: underline;
}

/* Contact Section */
#contact .contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info a {
    color: #ff6b6b;
    text-decoration: none;
    font-size: 1.1rem;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #2a2a40;
    color: #a5a5b8;
    padding: 20px;
    text-align: center;
}

footer a {
    color: #ff6b6b;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* From Uiverse.io by vinodjangid07 */ 
.button {
  display: none;
  bottom: 50px;
  right: 50px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #2a2a40;
  border: none;
  font-weight: 600;
  text-align: center;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 0px 4px rgba(180, 160, 255, 0.253);
  cursor: pointer;
  transition-duration: 0.3s;
  overflow: hidden;
  position: fixed;
}

.svgIcon {
  width: 15px;
  transition-duration: 0.3s;
}

.svgIcon path {
  fill: white;
}

.button:hover {
  width: 160px;
  border-radius: 50px;
  transition-duration: 0.3s;
  background-color: rgb(181, 160, 255);
}

.button:hover .svgIcon {
  /* width: 20px; */
  transition-duration: 0.3s;
  transform: translateY(-200%);
}

.button::before {
  position: absolute;
  bottom: -20px;
  content: "Back to Top";
  color: white;
  /* transition-duration: .3s; */
  font-size: 0px;
}

.button:hover::before {
  font-size: 13px;
  opacity: 1;
  bottom: unset;
  /* transform: translateY(-30px); */
  transition-duration: 0.3s;
}


/* Responsive Design */
@media screen and (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }

    .navbar .nav-links {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    header h1 {
        font-size: 2rem;
    }

    .section {
        padding: 40px 15px;
    }
}
/* Responsive Design */
@media screen and (max-width: 768px) {
    /* Navbar */
    .navbar .nav-links {
        display: none;
    }

    .navbar .menu-icon {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
    }

    /* Header */
    header h1 {
        font-size: 2.5rem;
    }

    header p {
        font-size: 1rem;
    }

    /* Sections */
    .section {
        padding: 40px 15px;
    }

    .section h2 {
        font-size: 2rem;
    }

    /* Portfolio */
    #portfolio .projects {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    /* Contact */
    .contact-info a {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    /* Header */
    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 0.9rem;
    }

    /* Sections */
    .section h2 {
        font-size: 1.8rem;
    }

    /* Portfolio */
    #portfolio .projects {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-info a {
        font-size: 0.9rem;
    }
}
/* Mobile Menu */
.menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: #2a2a40;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.nav-links.active a {
    margin: 10px 0;
}
/* From Uiverse.io by Creatlydev */ 
.btn-github {
  cursor: pointer;
  display: flex;
  gap: 0.5rem;
  border: none;

  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-radius: 100px;
  font-weight: 800;
  place-content: center;

  padding: 0.75rem 1rem;
  font-size: 0.825rem;
  line-height: 1rem;

  background-color: rgba(0, 0, 0, 0.4);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.04),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  color: #fff;
}

.btn-github:hover {
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(252, 232, 3, 0.08);
  color: #fce803;
  transform: translate(0, -0.25rem);
  background-color: rgba(0, 0, 0, 0.5);
}
/* From Uiverse.io by barisdogansutcu */ 
button1 {
 border: none;
 position: relative;
 width: 200px;
 height: 73px;
 padding: 0;
 z-index: 2;
 -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='868' width='2500' viewBox='0 0 726 252.17'%3E%3Cpath d='M483.92 0S481.38 24.71 466 40.11c-11.74 11.74-24.09 12.66-40.26 15.07-9.42 1.41-29.7 3.77-34.81-.79-2.37-2.11-3-21-3.22-27.62-.21-6.92-1.36-16.52-2.82-18-.75 3.06-2.49 11.53-3.09 13.61S378.49 34.3 378 36a85.13 85.13 0 0 0-30.09 0c-.46-1.67-3.17-11.48-3.77-13.56s-2.34-10.55-3.09-13.61c-1.45 1.45-2.61 11.05-2.82 18-.21 6.67-.84 25.51-3.22 27.62-5.11 4.56-25.38 2.2-34.8.79-16.16-2.47-28.51-3.39-40.21-15.13C244.57 24.71 242 0 242 0H0s69.52 22.74 97.52 68.59c16.56 27.11 14.14 58.49 9.92 74.73C170 140 221.46 140 273 158.57c69.23 24.93 83.2 76.19 90 93.6 6.77-17.41 20.75-68.67 90-93.6 51.54-18.56 103-18.59 165.56-15.25-4.21-16.24-6.63-47.62 9.93-74.73C656.43 22.74 726 0 726 0z'/%3E%3C/svg%3E") no-repeat 50% 50%;
 mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='868' width='2500' viewBox='0 0 726 252.17'%3E%3Cpath d='M483.92 0S481.38 24.71 466 40.11c-11.74 11.74-24.09 12.66-40.26 15.07-9.42 1.41-29.7 3.77-34.81-.79-2.37-2.11-3-21-3.22-27.62-.21-6.92-1.36-16.52-2.82-18-.75 3.06-2.49 11.53-3.09 13.61S378.49 34.3 378 36a85.13 85.13 0 0 0-30.09 0c-.46-1.67-3.17-11.48-3.77-13.56s-2.34-10.55-3.09-13.61c-1.45 1.45-2.61 11.05-2.82 18-.21 6.67-.84 25.51-3.22 27.62-5.11 4.56-25.38 2.2-34.8.79-16.16-2.47-28.51-3.39-40.21-15.13C244.57 24.71 242 0 242 0H0s69.52 22.74 97.52 68.59c16.56 27.11 14.14 58.49 9.92 74.73C170 140 221.46 140 273 158.57c69.23 24.93 83.2 76.19 90 93.6 6.77-17.41 20.75-68.67 90-93.6 51.54-18.56 103-18.59 165.56-15.25-4.21-16.24-6.63-47.62 9.93-74.73C656.43 22.74 726 0 726 0z'/%3E%3C/svg%3E") no-repeat 50% 50%;
 -webkit-mask-size: 100%;
 cursor: pointer;
 background-color: transparent;
 transform: translateY(8px)
}

button1:after {
 content: '';
 position: absolute;
 left: 0;
 right: 0;
 bottom: 0;
 box-shadow: 0px 0 0 0 white;
 transition: all 2s ease;
}

button1:hover:after {
 box-shadow: 0px -13px 56px 12px #ffffffa6;
}

button1 span {
 position: absolute;
 width: 100%;
 font-size: 1rem;
 font-weight: 700;
 color: #ff6b6b;
 left: 50%;
 top: 39%;
 letter-spacing: 3px;
 text-align: center;
 transform: translate(-50%,-50%);
 transition: all 2s ease;
}

button1:hover span {
 color: white;
}

button1:before {
 content: '';
 position: absolute;
 width: 0;
 height: 100%;
 background-color: black;
 left: 50%;
 top: 50%;
 transform: translate(-50%, -50%);
 transition: all 1s ease;
}

button1:hover:before {
 width: 100%;
}
/* From Uiverse.io by Codecite */ 
.anchor {
  text-decoration: none;
  color: #fff;
  display: inline-block;
  font-family: sans-serif;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid #ed553b;
  padding: 14px 40px 13px;
  overflow: hidden;
  position: relative;
}

.anchor:hover {
  color: #4e484a;
}

.button2 a::before {
  position: absolute;
  content: "";
  z-index: 0;
  background-color: #ed553b;
  left: -5px;
  right: -5px;
  bottom: -5px;
  height: 111%;
  transition: all .3s ease;
}

.button2 a:hover::before {
  height: 11%;
}

.button2 span {
  position: relative;
  z-index: 2;
  transition: all .3s ease;
}


