@import url('https://fonts.googleapis.com/css2?family=Miniver&family=Ubuntu:ital,wght@0,400;0,500;0,700;1,400;1,700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background: #060812;
   /* scroll-behavior: smooth; */
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}


section {
    scroll-margin-top: 95px;/* Adjust to your header height */
}

/*Header*/
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(6, 8, 18, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 12px rgba(0, 191, 255, 0.1);
    z-index: 1000;
    padding: 12px 80px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 45px;
    width: 45px;
    border-radius: 8px;
    background: #0a0f1c;
    padding: 5px;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.2);
    transition: 0.3s ease;
}

.logo img:hover{
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.4);
}

.logo span {
    font-size: 1.4rem;
    font-weight: 600;
    color: #00ffff;
    letter-spacing: 1px;
}


/*Toggle menu*/
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 22px;
    justify-content: space-between;
}

.menu-toggle span {
    height: 3px;
    width: 100%;
    background: #00bfff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/*Toggle active Animation */

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.menu-toggle.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
   /* color: #ccc; */
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.nav-links a:hover {
    color: #00bfff;
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #00bfff;
    left: 0;
    bottom: -4px;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/*Hero-section*/

.hero{
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top left, #060812, #0a0f1c);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    width: 100%;
    gap: 120px;
    padding: 0 80px;
    flex-wrap: wrap;
    /*z-index: 2;*/
}

.hero-text {
    flex: 1;
    text-align: left;
    min-width: 350px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 700;
}

.hero-text .highlight {
   color: #00ffff;
}

.hero-text h2 {
    font-size: 1.9rem;
    color: #ccc;
    margin-bottom: 15px;
}

.typing-text {
    color: #00bfff;
    font-weight: 600;
    border-right: 2px solid #00bfff;
   white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    animation: blink 0.7s step-end infinite;
}

@keyframes blink {
    50%{
        border-color: transparent; }
}

.hero-text p {
    color: #aaa;
    font-size: 1.05rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn, .btn-outline {
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 0px 8px 2px rgba(0, 191, 255, 0.4);
    transition: 0.3s ease;
}
.btn {
    background: #00bfff;
    color: #060812;
}

.btn:hover {
    background: #00ffff;
}

.btn-outline {
    border: 2px solid #00bfff;
    color: #00bfff;
}

.btn-outline:hover {
    background: #00bfff;
    color: #060812;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 350px;
}

.hero-image img {
    width: 100%;
    max-width: 460px;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 0 25px rgba(0, 191, 255, 0.25);
   animation: floatImages 4s ease-in-out infinite alternate;
}

@keyframes floatImages {
    from {transform: translateY(0);}
    to {transform: translateY(-15px);}
} 

/*About Section*/

.about {
    padding: 120px 80px;
    background: linear-gradient(135deg, #0a0f1c #060812);
    color: #fff;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 191, 255, 0.1);
}

.about::before {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.05) 0%, transparent 70%);
    z-index: -1;
    border-radius: 20%; 
    animation: moveLines 10s linear infinite;
}

.about-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
    z-index: 1;
}

.about-image {
    flex: 1;
    min-width: 280px;
    display: flex;
    justify-content: center;
   animation: fadeInMove 1.2s ease forwards;
}

.about-image img {
    width: 100%;
    max-width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 25px rgba(0, 191, 255, 0.3);
    transition: all 0.3s ease;
    animation: floatImages 4s ease-in-out infinite alternate;
}

.about-image img:hover{
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(0, 191, 255, 0.5);
}

.about-text {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 300px;
    animation: fadeInMove 1.2s ease forwards;
}

.about-text::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.05) 0%, transparent 70%);
    z-index: -1;
    border-radius: 20px;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #00ffff;
    margin-bottom: 20px;
   /* text-shadow: 0 0 10px #00ffff, 0 0 20px #00bfff; */
}

.about-text p {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0;
    animation: textFade 1s ease 0.5s forwards;

}

.about-text .highlight {
   color: #00ffff;
   text-shadow: 0 0 8px #00ffff, 0 0 12px #00ffff; 
   animation: glowText 2s ease-in-out infinite alternate;
}


/* ---------- Social Media Links Below Contact Button ---------- */
.social-links {
  margin-top: 25px;
  display: flex;
  justify-content: flex-start; /* aligns under the button */
  gap: 18px;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.15);
  transition: all 0.3s ease;
}

.social-links a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  filter: brightness(0) invert(1); /* makes icons white */
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px #00ffff;
  background: rgba(0, 191, 255, 0.1);
}

.social-links a:hover img {
  filter: drop-shadow(0 0 10px #00ffff);
}


@keyframes floatImages {
    from{transform: translateY(0);}
    to{transform: translateY(-15px);}
}

@keyframes fadeInMove {
    0%{opacity: 0; transform: translateY(30px);}
    100%{opacity: 1; transform: translateY(0);}
}

@keyframes textFade{
    from {opacity: 0;}
    to { opacity: 1;}
}

@keyframes glowText {
    from {text-shadow: 0 0 8px #00ffff, 0 0 12px #00bfff;}
    to {text-shadow: 0 0 15px #00ffff, 0 0 25px #00bfff;}
}
 
@keyframes moveLines {
    0% {transform:  translate(0, 0) rotate(0deg);}
    100%{transform: translate(50px, 50px) rotate(45deg);}
}


.section-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, tranform 0.8s ease;
}

.section-animate.active {
    opacity: 1;
    transform: translateY(0);
}


/*Skills styling*/
.skills {
 /* padding: 100px 20px; */
  background: radial-gradient(circle at top, #060812, #02040a 80%);
  color: #fff;
  overflow: hidden;
  padding-bottom: 200px;
}

.skills-container {
  max-width: 1200px;
  margin: 0 50px; 
  text-align: center;
}

.skills-container h2 {
  font-size: 2.6rem;
  color: #00ffff;
  margin-bottom: 40px;
  margin-top: 20px;
 /* text-shadow: 0 0 60px #00ffff, 0 0 60px #030b13; */
}

/*.skills-dashboard {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
} */

.skills-dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  gap: 50px;
  justify-items: center;
  align-items: center;
}



/* Base circle */
.skill-pie {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: conic-gradient(#222 0deg, #222 360deg);
  display: flex;
  align-items: center;
  justify-content: center;
  /*box-shadow: 0 0 25px rgba(0, 255, 255, 0.15); */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-pie:hover {
  transform: scale(1.08);
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.3);
}

/* Inner dark circle */
.skill-pie::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  background: #060812;
  border-radius: 50%;
  z-index: 1;
 box-shadow: inset 0 0 25px rgba(255, 255, 255, 0.05);
}

/* Skill name below */
.skill-pie::after {
  content: attr(data-skill);
  position: absolute;
  bottom: -35px;
  font-size: 1.1rem;
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff;
  letter-spacing: 1px;
}

/* Percentage text */
.skill-percent {
  position: absolute;
  font-size: 1.5rem;
  color: #fff;
  font-weight: 700;
  z-index: 2;
 /* text-shadow: 0 0 10px #fff; */
}

/* Animate on scroll */
.section-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.section-animate.active {
  opacity: 1;
  transform: translateY(0);
}


/* ---------------- Education Section ---------------- */
.education {
  padding: 100px 60px;
  background: #060812;
  color: #fff;
  text-align: center;
}

.education h2 {
  font-size: 2.4rem;
  color: #00ffff;
  margin-bottom: 60px;
  font-weight: 600;
}

.education-list {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Each education row */
.education-item {
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  align-items: center;
  gap: 25px;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 25px;
  transition: transform 0.3s ease;
}

.education-item:hover {
  transform: translateY(-4px);
}

.edu-img {
  width: 85px;
  height: 85px;
  border-radius: 10px;
  object-fit: cover;
 /* border: 2px solid #00bfff; */
}

.edu-center {
  text-align: left;
}

.edu-center h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 6px;
  font-weight: 600;
}

.edu-center .edu-school {
  color: #aaa;
  font-size: 1rem;
  margin-bottom: 6px;
}

.edu-center .edu-desc {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.5;
}

.edu-right {
  text-align: right;
}

.edu-percent {
  font-size: 1.3rem;
  color: #00ffff;
  font-weight: 600;
 /* border: 2px solid #00bfff; */
  padding: 8px 18px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.edu-percent:hover {
  background: #00bfff;
  color: #060812;
}




/* ---------------- Projects Section ---------------- */

/* Projects Section */
.projects {
  padding: 100px 50px; 
  background: linear-gradient(135deg, #0a0f1c, #060812);
  color: #fff;
}

.projects h2 {
  font-size: 2.8rem;
  text-align: center;
  color: #00ffff;
  margin-bottom: 60px;
}

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

/* Project Card */
.project-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 25px rgba(0, 191, 255, 0.1);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 50px rgba(0, 191, 255, 0.3);
}

/* Project Image */
.project-image img {
  width: 100%;
  height: auto; /* keeps full image without cutting */
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

/* Project Content (title + description) */
.project-content {
  padding: 15px;
}

.project-content h3 {
  font-size: 1.6rem;
  color: #00ffff;
  margin-bottom: 8px;
}

.project-content p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.5;
}

/* Overlay buttons */
.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 8, 18, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
  flex-direction: column;
  padding: 20px;
  text-align: center;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay a {
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.project-overlay .btn {
  background: #00bfff;
  color: #060812;
}

.project-overlay .btn:hover {
  background: #00ffff;
}

.project-overlay .btn-outline {
  border: 2px solid #00bfff;
  color: #00bfff;
}

.project-overlay .btn-outline:hover {
  background: #00bfff;
  color: #060812;
}





/* ---------------- Contact Section ---------------- */
.contact {
   /* padding: 120px 80px; */
    background: linear-gradient(135deg, #0a0f1c, #060812);
    color: #fff;
    padding-bottom: 150px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.contact-image img {
    max-width: 400px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 191, 255, 0.3);
    animation: floatImages 4s ease-in-out infinite alternate;
}

.contact-form{
    flex: 1;
   min-width: 300px;
}

.contact-form h2 {
    font-size: 2.5rem;
    color: #00ffff;
    margin-bottom: 15px;
}

.contact-form p {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 25px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #00bfff;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    resize: none;
    box-sizing: border-box;
    width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 10px #00bfff;
}

.contact-form button {
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    background: #00bfff;
    color: #060812;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-form button:hover {
    background: #00ffff;
}

/* Message text */
.form-msg {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #00ffff;
}

/* Social Links inside contact */
.contact-form .social-links {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.contact-form .social-links a {
    flex: 0 0 auto; 
}

.contact-form .social-links a img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.contact-form .social-links a:hover img {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px #00ffff);
}

/* ---------------- Footer Section ---------------- */
.footer {
  background: linear-gradient(135deg, #0a0f1c, #060812);
  color: #fff;
  padding: 60px 50px 30px 50px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
}

.footer-about,
.footer-links,
.footer-contact {
  flex: 1;
  min-width: 250px;
}

.footer h3, .footer h4 {
  color: #00ffff;
  margin-bottom: 15px;
}

.footer p {
  color: #ccc;
  line-height: 1.6;
}

.footer a {
  color: #00bfff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #00ffff;
}

/* Footer links */
.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.95rem;
  color: #888;
  border-top: 1px solid rgba(0, 191, 255, 0.2);
  padding-top: 15px;
}

