/*---------IMPORT FONTS-----------*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');


/*---------GLOBAL STYLING---------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

html {
    font-size: 62.5%; 
}

body {
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: black;
    color: white;
}

/*---HEADER & NAV BAR------*/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 9%;
    background-color: black;
    filter: drop-shadow(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

/* Logo */
.logo {
    font-size: 3rem;
    color: #00b3fa;
    font-weight: 800;
    cursor: pointer;
    transition: 0.5s ease;
}


.logo:hover {
    transform: scale(1.1);
}

/* Menu Icon for Mobile */
.menu-icon {
    display: none;
    cursor: pointer;
    font-size: 2.5rem;
    color: white;
    z-index: 200;
}

/* Navigation Links */
nav a {
    font-size: 1.8rem;
    color: white;
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active {
    color: #0caec3;
    border-bottom: 3px solid #0caec3;
}

/* Responsive Navbar */
@media (max-width: 995px) {
  .menu-icon {
    display: block;
    font-size: 20px;
    color: white;
  }

  nav {
    display: none;
    background: #111;
    padding: 10px;
  }

  nav.active {
    display: block;
  }

  nav a {
    display: block;
    color: white;
    margin: 10px 0;
    font-size: 18px;
  }

  nav a:hover {
    color: cyan;
  }
}



/*----SECTION WISE STYLING-------*/
section {
    min-height: 900px;
    padding: 5rem 9% 5rem;
}

/*-------HOME SECTION--------*/
.home {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    background-color: black;
}

.home .home-content h1 {
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;
}

span {
    color: #0caec3;
}

.home-content h3 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.home-content p {
    font-size: 1.6rem;
}

.home-img {
    border-radius: 50%;
}

/*-----HOME IMAGE STYLING---------*/
.home-img img {
    position: relative;
    width: 25vw;
    border-radius: 50%;
    box-shadow: 0 0 25px solid #0caec3;
    cursor: pointer;
    transition: 0.2s linear;
}

.home-img img:hover {
    font-size: 1.8rem;
    font-weight: 500;
    opacity: 1.0;
    filter: drop-shadow(0 0 2em #0caec3);
}

/*----------SOCIAL MEDIA ICONS-------*/
.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem solid #0caec3;
    font-size: 2rem;
    border-radius: 50%;
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
    color: #0caec3;
}

.social-icons a:hover {
    color: black;
    transform: scale(1.3) translateY(-5px);
    background-color: #0caec3;
    box-shadow: 0 0 25px #0caec3;
}


/*Mulearn Logo styling*/
.mulearn-logo {
  height: 24px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.mulearn-logo:hover {
  transform: scale(1.1);
  cursor: pointer;
}

/*-----CV DOWNLOAD BUTTON------*/
.btn2 {
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: black;
    border-radius: 4rem;
    font-size: 1.6rem;
    color: #0caec3;
    letter-spacing: 0.3rem;
    font-weight: 600;
    border: 2px solid #0caec3;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn2:hover {
    transform: scale3d(1.03);
    background-color: #0caec3;
    color: black;
    box-shadow: 0 0 25px #0caec3;
}

/*-------ABOUT SECTION-------*/
.about p {
    font-size: 1.6rem;
}

.about h2 {
    font-size: 30px;
    color: #bac30c;
}

.about .mydetails {
    margin-top: 20px; 
}

/*-------SKILLS SECTION-----*/
.section-title {
  font-size: 35px;    
  color: #bac30c;
}

.skills {
  background-color: #0a0a0a;
  text-align: center;
}

.skills-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.skill-group {
  background-color: #111;
  padding: 2rem;
  border-radius: 1rem;
  border: 2px solid #0caec3;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.skill-group:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px #0caec3;
}

.skill-group h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #0caec3;
}

.skill-group ul {
  list-style: none;
  padding: 0;
}

.skill-group li {
  font-size: 1.6rem;
  color: white;
  margin-bottom: 0.8rem;
}

.skill-group .label {
  background-color: #0caec3;
  color: black;
  font-size: 1.2rem;
  padding: 0.2rem 0.6rem;
  border-radius: 5px;
  margin-left: 0.5rem;
}

/*-------PROJECTS SECTION---------*/
.project {
    background-color: #0a0a0a;
    text-align: center;
}

.project h2{
    font-size: 35px;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding-top: 2rem;
}

.project-card {
    background-color: #111;
    border: 2px solid #0caec3;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card img {
  width: 100%;
  height: auto;
  max-height: 200px;         
  object-fit: contain;      
  display: block;
  margin: 0 auto;
  background-color: #000;    
  padding: 1rem;             
}


.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px #0caec3;
}

.project-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.project-info {
    padding: 2rem;
    color: white;
}

.project-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #0caec3;
}

.project-info p {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.project-info a {
    font-size: 1.5rem;
    color: #0caec3;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.project-info a:hover {
    color: white;
}


/*-------RESPONSIVE - HOME SECTION-----------*/
@media (max-width: 1000px) {
    .home {
        gap: 4rem;
    }
}

@media(max-width: 995px) {
    .home {
        flex-direction: column;
        margin: 5rem 4rem;
    }

    .home .home-content h3 {
        font-size: 2.5rem;
    }

    .home-content h1 {
        font-size: 5rem;
    }

    .home-img img {
        width: 90px;
        margin-top: 4rem;
    }
}

/*-------CONTACT FORM--------*/
form {
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
    background-color: #0caec3;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin-bottom: 15px;
    font-weight: 500;
    color: #333;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    transition: border 0.3s ease;
}

input:focus,
textarea:focus {
    border-color: #0077ff;
    outline: none;
}

button {
    padding: 12px 24px;
    background-color: #0077ff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #005ad4;
}


/*----------FOOTER-----------*/
.footer {
  text-align: center;
  padding: 20px 0;
  color: #aaa;
  font-size: 14px;
}
