*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

:root {
    --bg-color: #36454F;
    --second-bg-color: #131313;
    --text-color: #fff;
    --main-color: #06b5f4ae;
}
html{
    font-size: 62.5%;
    overflow-x: hidden;
}

body{
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: var(--second-bg-color);
    backdrop-filter: blur(50px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.logo{
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;

}

.logo:hover{
    transform: scale(1.1);
}

.logo span{
    text-shadow: 0 0 25px var(--main-color);
}



.navbar a{
    font-size: 1.8rem;
    color: var(--text-color);
    margin-left: 4rem;
    transition: 0.3s ease;
    border-bottom: 2px solid transparent;
}

.navbar a:hover,
.navbar a.active{
    border-bottom: 2px solid var(--main-color);
        color: #00bfff; 
        font-weight: bold;
}
    

#menu-icon{
    font-size: 3.6rem;
    color: var(--main-color);
    cursor: pointer;
    display: none;
}

section{
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}


strong{
    color: var(--main-color);
}

.home{
    display: flex;
    justify-content: center;
    align-items: center;   
    gap: 12rem;
}

.home-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
    text-align: left;

}

span{
    color: var(--main-color);
}

.logo span{
    color: var(--main-color);
}

.home-content h3{
    margin-bottom: 2rem;
    margin-top: 2rem;
    font-size: 3.2rem;
}

.home-content h1{
    font-size: 5.6rem;
    font-weight: 700;
    margin-top: 2rem;
    line-height: 1.3;
}
home-img{
    height: 400px;
    width: 400px;
    border-radius: 50%;
}

.home-img img{
    position: relative;
    top: 2rem;
    width: 30vw;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    cursor: pointer;
    transition: 0.3s ease-in-out;

    
}

.home-img img:hover{
    box-shadow: 0 0 25px var(--main-color);
    box-shadow: 0 0 50px var(--main-color);
    box-shadow: 0 0 100px var(--main-color);
              
    
}
.home-content p{
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 2rem;
    color: #faf5e9;
}


.btn {
  display: inline-block;
  padding: 4px 8px;
  font: 500 16px/1.5 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: #00bfff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(156, 203, 219, 0.1);
  transition: 0.2s;
  user-select: none;
}

.btn:hover {
  background: #5faecb;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(133, 185, 207, 0.1);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus {
  outline: 2px solid #4c8cbe;
  outline-offset: 2px;
}

.btn:disabled, .btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-secondary {
  background: transparent;
  color: #059ecc;
  border: 1px solid #2394bd;
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.05);
}

.btn-accent {
  background: #00bfff;
}

.btn-accent:hover {
  background: #00bfff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 12px;
}




/* Section Styling */
.about {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(0, 123, 255, 0.05);
  z-index: 0;
}

.about::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(0, 123, 255, 0.03);
  z-index: 0;
}

/* Heading Styling */
.heading {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  color: #fff;
}

.heading span {
  color: #00bfff;
  position: relative;
}

.heading::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background: #00bfff;
  border-radius: 2px;
}

/* Content Layout */
.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Image Styling */
.about-img {
  flex: 0 0 38%;
  position: relative;
}

.about-img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-img::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  right: 1px;
  bottom: 20px;
  border: 3px solid #00bfff;
  border-radius: 10px;
  z-index: -1;
  transition: all 0.3s ease;
}

.about-img:hover img {
  transform: translateY(-10px);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.15);
}

.about-img:hover::before {
  top: -15px;
  left: -15px;
}

/* Text Styling */
.about-text {
  flex: 0 0 55%;
}

.about-text h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #00bfff;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.about-text h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: #00bfff;
  border-radius: 2px;
}

.about-text p {
  font-size: 2rem;
  line-height: 1.8;
  color: #f8f9fa;
  margin-bottom: 30px;
}

.about-text strong {
  color: #00bfff;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .about-img, .about-text {
    flex: 0 0 100%;
  }
  
  .about-img {
    max-width: 500px;
    margin: 0 auto;
  }
  
}

@media (max-width: 576px) {
  .heading {
    font-size: 2rem;
  }
  
  .about-text h3 {
    font-size: 1.5rem;
  }
  
  .about {
    padding: 70px 0;
  }
}

/* Responsive styling for small screens */
@media (max-width: 768px) {
    .about-img {
      display: none;
    }
  
    .home-img {
      max-width: 250px;
    }
  }


  
  

/* Responsive Design */
@media screen and (max-width: 1200px) {
    html {
        font-size: 55%;
    }
}

@media screen and (max-width: 991px) {
    .header {
        padding: 2rem 3%;
    }

    section {
        padding: 10rem 3% 2rem;
    }

    .home {
        gap: 6rem;
    }

    .home-img img {
        width: 50%;
    }
}

@media screen and (max-width: 768px) {
    #menu-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: var(--second-bg-color);
        border-top: .1rem solid rgba(0, 0, 0, .2);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
        display: none;
    }

    .navbar.active {
        display: block;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }

    .home {
        flex-direction: column;
    }

    .home-content h3 {
        font-size: 2.6rem;
    }

    .home-content h1 {
        font-size: 5rem;
    }

    .home-img img {
        width: 70%;
        margin-top: 4rem;
    }

    #about {
        flex-direction: column-reverse;
    }

    .about-content {
        max-width: 100%;
    }

    .about-img {
        width: 60vw;
        height: 60vw;
        margin-bottom: 4rem;
    }

    .social-media a {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.8rem;
        margin: 2rem 1rem 2rem 0;
    }

    .social-media {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .social-media a {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.8rem;
        margin: 1.5rem 0.8rem;
    }
}

@media screen and (max-width: 450px) {
    html {
        font-size: 50%;
    }

    .home-img img {
        width: 90%;
    }

    .about-img {
        width: 80%;
        height: auto;
    }

    .social-media a {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
        margin: 1.5rem 0.8rem 1.5rem 0;
    }

    .social-media a {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
        margin: 1rem 0.5rem;
    }
}


.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    margin: 2rem 1rem 2rem 0;
    transition: .5s ease;
}

.social-media a:hover {
    background: var(--main-color);
    color: var(--second-bg-color);
    box-shadow: 0 0 1rem var(--main-color);
}

/* Social media styles */
.social-media {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: 0.2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    margin: 1rem 1rem 1rem 0;
    transition: 0.5s ease;
}

.social-media a:hover {
    background: var(--main-color);
    color: var(--second-bg-color);
    box-shadow: 0 0 1rem var(--main-color);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .social-media {
        justify-content: center;
    }

    .social-media a {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.8rem;
        margin: 1rem 0.8rem;
    }
}

@media screen and (max-width: 450px) {
    .social-media a {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
        margin: 0.8rem 0.5rem;
    }
}


@media screen and (max-width: 768px) {
    .social-media a {
        display: inline-flex !important;
        width: 3.5rem !important;
        height: 3.5rem !important;
        font-size: 1.8rem !important;
        margin: 1rem 0.8rem !important;
    }
}

@media screen and (max-width: 450px) {
    .social-media a {
        width: 3rem !important;
        height: 3rem !important;
        font-size: 1.5rem !important;
        margin: 0.8rem 0.5rem !important;
    }
}




/* Project Section Container */
.projects {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.projects::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 5% 20%, rgba(13, 110, 253, 0.03) 0%, transparent 25%),
              radial-gradient(circle at 95% 80%, rgba(13, 110, 253, 0.03) 0%, transparent 25%);
  pointer-events: none;
}

.projects-heading {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  color: #00bfff;
}

.projects-heading span {
  color: #00bfff;
}

.projects-heading::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background: #00bfff;
  border-radius: 2px;
}

/* Project Cards Container */
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Project Card */
.project-card {
  background-color: #131313;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

/* Project Image Container */
.project-img {
  position: relative;
  overflow: hidden;
  padding-top: 60%; /* 5:3 aspect ratio */
}

.project-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

/* Project Overlay */
.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.project-link-btn {
  background-color: #00bfff;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
  cursor: pointer;
  text-decoration: none;
}

.project-card:hover .project-link-btn {
  transform: translateY(0);
  opacity: 1;
}

.project-link-btn:hover {
  background-color: #00bfff;
}

/* Project Content */
.project-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #00bfff;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.project-card:hover .project-title {
  color: #00bfff;
}

.project-description {
  font-size: 1rem;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Project Tags */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.project-tag {
  background-color: #131313;
  color: #00bfff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Project Footer */
.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  border-top: 1px solid #f0f0f0;
}

.project-date {
  font-size: 0.85rem;
  color: #00bfff;
}

.project-links {
  display: flex;
  gap: 15px;
  
}




/* Responsive Design */
@media (max-width: 992px) {
  .projects-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .projects {
    padding: 80px 0;
  }
  
  .projects-heading {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  .projects-container {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  
  .projects-heading {
    font-size: 2rem;
  }
}


/* contact form styles */
.contact-section {
    padding: 60px 20px;
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.contact-intro {
    text-align: center;
    margin-bottom: 40px;
}

.contact-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--main-color);
}

.contact-description {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.contact-section form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    background-color: var(--second-bg-color);
}

.contact-section form input,
.contact-section form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--main-color);
    border-radius: 10px;
    font-size: 1.2rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    resize: vertical;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-section form input:focus,
.contact-section form textarea:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 5px var(--main-color);
    outline: none;
}

.contact-section form textarea {
    min-height: 150px;
}

.contact-section button[type="submit"] {
    padding: 15px;
    font-size: 1.5rem;
    border: none;
    border-radius: 10px;
    background-color: var(--main-color);
    color: var(--text-color);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-section button[type="submit"]:hover {
    background-color: var(--main-color);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .contact-section .contact-title {
        font-size: 2rem;
    }

    .contact-section form {
        padding: 20px;
    }
}


/* Footer styles */

.footer {
    width: 100%;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--second-bg-color);
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 20px;
  }
  
  .footer-about,
  .footer-links,
  .footer-socials {
    flex: 1 1 250px;
  }
  
  .footer-about h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  
  .footer-about p {
    font-size: 1.1rem;
    color: #ccc;
  }
  
  .footer-links h3,
  .footer-socials h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: bold;
  }
  
  .footer-links ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-links ul li {
    margin: 8px 0;
  }
  
  .footer-links ul li a {
    text-decoration: none;
    color: #bbb;
    transition: color 0.3s ease;
  }
  
  .footer-links ul li a:hover {
    color: #fff;
  }
  
  .footer-socials .social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
    padding: 0;
  }
  
  .footer-socials .social-icons a {
    font-size: 28px;
    color: #fff;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    line-height: 1;
  }
  
  .footer-socials .social-icons a:hover {
    transform: scale(1.2);
    color: #00aced;
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 1rem;
    color: #aaa;
    border-top: 1px solid #333;
    padding: 15px 20px;
  }
  
  /* Responsive: Stack items on small screens */
  @media (max-width: 768px) {
    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px; 
        padding: 5px; 
    }

    .footer-about,
    .footer-links,
    .footer-socials {
        margin: 5px 0; 
        padding: 5px;
        text-align: center; 
    }

    .footer-links ul {
        padding: 0;
        margin: 0;
    }

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

    .footer-bottom {
        margin-top: 10px; 
        padding: 10px; 
    }
  }
  
/* Education Section Responsive */
@media (max-width: 768px) {
    .education-background {
        padding: 30px 15px;
    }

    .education-content {
        padding: 0 10px;
    }

    .education-content h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .education-item {
        padding: 15px 20px;
        margin-bottom: 20px;
    }

    .education-item h3 {
        font-size: 2rem;
        margin-bottom: 5px;
    }

    .details, .date {
        font-size: 1.6rem;
        margin-bottom: 5px;
    }

    .description {
        font-size: 1.4rem;
    }
}

/* Projects Section Responsive */
@media (max-width: 768px) {
    .projects {
        padding: 50px 0;
    }

    .projects-container {
        padding: 0 15px;
        gap: 20px;
    }

    .project-card {
        margin-bottom: 20px;
    }

    .project-content {
        padding: 15px;
    }

    .project-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .project-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .project-tags {
        gap: 8px;
    }

    .project-tag {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    .project-footer {
        padding: 10px 15px;
    }
}
