* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body {
    background: linear-gradient(135deg, #0f2027, #2c5364);
    color: white;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
}
.logo {
    font-size: 22px;
    font-weight: 600;
}
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}
nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 14px;
}
.nav-link {
    text-decoration: none;
    color: white;
    padding: 5px 10px;
    transition: 0.3s;
}
.nav-link.active {
    color: #a78bfa;
    border-bottom: 2px solid #a78bfa;
    text-shadow: 0 0 10px rgba(167,139,250,0.7);
}
section {
    min-height: 100vh;
    padding-top: 100px;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background: #1f3a44;
}
nav {
  padding: 10px 10%;  
}
.logo {
  font-size: 24px;
  color: white;
  font-weight: bold;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: white;
  font-size: 15px;
  position: relative;
  padding: 5px 0;
  transition: 0.3s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: #00f7ff;
  transition: 0.3s;
}
.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: #00f7ff;
}
.nav-link.active {
  color: #00f7ff;
}
html {
  scroll-behavior: smooth;
}
.hero {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.hero h1 {
    font-size: 65px;
    font-family: 'Great Vibes', cursive;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}
.hero p {
    margin-top: 10px;
    font-size: 18px;
    opacity: 0.8;
}
.icons {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}
.icons i {
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
}
.icons i:hover {
    transform: scale(1.2);
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#element {
    margin-top: 10px;
    font-size: 18px;
    color: #a78bfa;
}
.buttons {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}
.btn {
    padding: 10px 18px;
    border-radius: 25px;
    border: none;
    cursor: pointer;

    background: rgba(255,255,255,0.1);
    color: white;

    border: 1px solid rgba(255,255,255,0.2);

    transition: 0.3s;
}
.btn:hover {
    background: rgb(44, 74, 74);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(167,139,250,0.6);
}
.about {
    padding: 80px 40px;
    text-align: center;
}

.about h2 {
    font-size: 35px;
    margin-bottom: 40px;
}
.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    max-width:1100px;
    margin: auto;
}
.about-text {
    flex: 1;
    text-align: left;
    background: rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: 0.3s;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}
.about-text p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
}
.about-text:hover {
    transform: translateY(-5px);
}
.about-img {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}
.about-img img {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.3);
    transition: 0.4s ease;
}
.about-img img:hover {
    transform: scale(1.08);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5);
}
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }
   .about-img {
        justify-content: center;
    }
}
.education h2 {
  text-align: center;
  font-size: 32px;
   color: #ffffff;
  margin-bottom: 40px;
}
.edu-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 900px;   
  margin: auto;       
  max-width: 1100px;  
}
.edu-card {
  width: 100%;  
  padding: 30px;  
  border-left: 4px solid rgb(179, 134, 222);
}
.edu-card:hover {
  transform: translateX(8px);
}
.edu-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #334155;
  transition: all 0.3s ease;
}
.edu-card:hover {
  transform: translateY(-5px);
  border-color: rgb(179, 134, 222);
  box-shadow: 0 0 20px rgba(179, 134, 222, 0.5);
}
.edu-card h3 {
  color: white;
  margin-bottom: 8px;
}
.institution {
  color: #94a3b8;
  font-weight: 500;
}
.year {
  color: #64748b;
  font-size: 14px;
}
.details {
  margin-top: 10px;
  color: #cbd5f5;
}
.skillsSection {
    max-width: 80vw;
    margin: auto;
    padding: 60px 0;
}
.skillsSection h1 {
    text-align: center;
    margin-bottom: 40px;
}
.skills-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 30px;
  max-width: 1000px;
  margin: auto;
}
.skill-card {
    background:rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 12px;
    transition: 0.3s;
    text-align: center;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(127,90,240,0.4);
}

.skill-card h3 {
    color:lightcyan;
    margin-bottom: 10px;
}
.projectsSection {
    max-width: 80vw;
    margin: auto;
    padding: 60px 0;
}
.projects-container {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}
.project-card {
    background:rgba(255, 255, 255, 0.08);
    padding: 20px;
    width: 300px;
    border-radius: 12px;
    transition: 0.3s;
}
.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(127,90,240,0.4);
}
.projectsSection {
  text-align: center;
}
.project-card h3{
  color: lightcyan;
}
.projectsSection {
    padding: 80px 40px;
    text-align: center;
}
.projectsSection h1 {
    font-size: 32px;
    margin-bottom: 40px;
}
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}
.project-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: 0.3s;
    display: flex;
    align-items: center;
}
.project-content {
    text-align: left;
}
.project-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: white;
}
.project-content p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(167, 139, 250, 0.4);
}
.project-card {
    min-height: 150px;
}
.project-content h3 {
    color:lightcyan;
}
.github-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 16px;
    background-color: #2c5364;
    color: gray;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.2s;
}

.github-btn:hover {
    background-color: #0f2027;
}
.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #2c5364;
  padding: 40px 60px;
  border-radius: 20px;
  margin: 40px auto;
  width: 90%;
}
.left-section {
  width: 60%;
}
.left-section h2 {
  color: white;
  margin-bottom: 20px;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
input, textarea { 
width: 100%; 
padding: 12px; 
border-radius: 10px;
border: none; 
outline: none; 
background: rgba(255,255,255,0.1); 
color: white;
}
textarea {
  height: 120px;
  resize: none;
}
.right-section {
  width: 35%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
button {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
}
button:hover {
  transform: scale(1.05);
}
.right-section p {
  color: white;
}
.right-section a {
  color: #b8b8ff;
  text-decoration: none;
}
.contact-container {
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.contactSection {
    scroll-margin-top: 80px; 
}
footer {
  text-align: center;
  padding: 20px;
  font-size: 14px;
  opacity: 0.7;
  background: #2c5364;
}

