/*Navbar */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html {
    overflow-y: scroll;
}

header {
    font-family: sans-serif;
    font-weight: bold;
}


.navbar {
    padding: 1.6rem;
    background-color: #ffffff;
}


.skyblue-box {
    width: 14px;
    height: 14px;
    background-color: #007bff;
    margin-right: 10px;
}


.background-section {
    padding-top: 80px;
}

.navbar-brand {
    font-size: 1.4rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    font-family: 'Poppins', 'sans-serif';
}


.nav-link {
    font-size: 1rem;
    margin-left: 15px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    color: black !important;
}


.nav-link:hover:not(.active) {
    color: #007bff !important;
    transition: color 0.3s ease;
}
 

.active {
    color: #007bff !important;
}


/* Navbar Toggle Button Styling */
.navbar-toggler:focus {
    outline: none;
}

.navbar-toggler {
    border: none;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-toggler-icon {
    background-image: none;
    width: 24px;
    height: 2px;
    background-color: black;
    display: inline-block;
    position: relative;
}


/* Top and bottom lines for the hamburger icon */
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: black;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}


@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.3rem; /* Smaller font size for small screens */
    }

    .nav-link {
        font-size: 0.95rem; /* Smaller font size for small screens */
    }

    .hide-text {
        display: none;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem; /* Smaller font size for extra small screens */
    }

    .nav-link {
        font-size: 0.9rem; /* Smaller font size for extra small screens */
    }
}


@media (max-width: 425px) { /* Targeting very small devices */
    .navbar-brand {
        font-size: 1.15rem; /* Further reduce font size */
    }

    .nav-link {
        font-size: 0.95rem; /* Further reduce font size */
    }
}

@media (max-width: 375px) { /* For the smallest mobile devices */
    .navbar-brand {
        font-size: 1rem; /* Further reduction */
    }

    .nav-link {
        font-size: 0.80rem; /* Further reduction */
    }
}


/*end navbar*/

/*main content part*/


.background-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: white;
    position: relative;
}


.background-left {
    background-color: #E6DACE;
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    z-index: 0;
}


.center-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 70%;
    max-width: 1200px;
    padding: 20px;
    z-index: 1;
    margin-left: 150px;
}

.hide-text {
    font-size: 15px;
    margin-bottom: 15px !important;
}


@media (max-width: 1120px) {
    .center-box {
        margin-left: 90px;
    }
}

@media (max-width: 1050px) {
    .center-box {
        margin-left: 70px;
    }
}


@media (max-width: 992px) {
    .center-box {
        margin-left: 30px;
    }
}
@media (max-width: 910px) {
    .center-box {
        margin-left: 10px;
    }
}

@media (max-width: 850px) {
    .center-box {
        margin-left: 0px;
    }


}



.profile-box {
    display: flex;
    flex-direction: column;
    align-items: center;    
    justify-content: center;   
    padding: 45px 60px 25px 60px;    
    text-align: center; 
    position: relative;
    margin-right: 25px;
    background-color: #F4ECE6;
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.2);
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 25px;
}

.line {
    background-color: #007bff;
    height: 2px;
    width: 80px;
    margin-top: 10px;
}

h2 {
    margin: 15px 0;
}

.text-box a{
    padding: 7px 25px;
    border-radius: 30px;
    color: white;
    font-size: 15px;
}

.btn-primary{
    border: solid 2px #007bff;
    margin-bottom: 5px;
}

.profile-button .btn-primary{
   border-radius: 50px;
   padding: 5px 20px;
   margin: 5px;
   border: solid 1px #007bff;
   font-size: 14px;
}

.profile-button .btn-secondary{
    background-color: white;
    border: 1px solid #007bff;
    font-size: 14px;
    color: #000 !important;
    border-radius: 50px;
    margin: 0;
    padding: 5px 10px;
}

.btn-primary:hover {
    border: solid 2px #007bff;
    background-color: white;
    color: #000;
}

.profile-button .btn-primary:hover {
    border: solid 1px #007bff;
    background-color: white;
    color: #000;
}

.btn-secondary{
    background-color: transparent;
    border: 2px solid #007bff;
    color: #000 !important;
    margin-bottom: 5px;
}

.btn-secondary:hover{
    border: solid 2px #007bff;
    background-color: #007bff;
    color: white !important;
}

.profile-button .btn-secondary:hover{
    border: solid 1px #007bff;
    background-color: #007bff;
    color: white !important;
}


/*big image*/

.profile-box {
    text-align: center;
}

.profile-pic {
    cursor: pointer;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.2); /* Black w/ opacity */
    backdrop-filter: blur(3px); /* Blur background */
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 75%; /* Limit max width */
    max-height: 75%; /* Limit max height */
    width: auto; /* Allow original width */
    height: auto; /* Allow original height */
    position: relative;
    top: 58%; /* Center vertically */
    transform: translateY(-50%); /* Adjust for centering */
}


.close {
    position: absolute;
    top: 90px;
    right: 30px;
    color: white;
    font-size: 25px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transform: scale(1.1);
    transition: 0.3s, transform 0.3s;
    box-shadow: none;
}

.close:hover {
  color: black;
}

.close:active {
    transform: scale(0.95); 
}

/*end big image*/



.text-button{
    visibility: visible;
}

.profile-button{
    visibility: hidden;
}


.social-links a {
    margin: 0 10px;
    color: #000;
    background-color: white;
}

.social-links {
    background-color: white;
    padding: 15px;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.social-links a:hover {
    color: #007bff;
}

/* Text Box */
.text-box {
    max-width: 600px;
    margin-left: 10px;
}

.textbox{
    margin-top: 10px;
}

.textbox p{
    font-size: 16px;
    text-align: left;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Mobile View */
/* Adjust for navbar overlap */
.background-section {
    padding-top: 80px; /* Adjust based on navbar height */
}

/* Mobile View */

@media (max-width: 768px) {
    .background-section {
        padding-top: 450px;
    }

    .index-footer{
        margin-top: 300px;
    }
    .background-left {
        width: 100%;
        height: 50%;
    }

    .center-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-box {
        margin-bottom: 30px;
        margin-right: 0;
    }

    .text-button{
        visibility: hidden;
    }

    .line {
        margin-bottom: 20px;
    }

    .profile-button{
        visibility: visible;
    }


    .profile-box { 
        padding: 45px 60px 80px 60px;    
    }
}


@media (max-width: 568px) {
    .background-section {
        padding-top: 550px;
    }

    .index-footer{
        margin-top: 400px;
    }
}


@media (max-width: 500px) {
    .background-section {
        padding-top: 600px;
    }

    .index-footer{
        margin-top: 500px;
    }
    
}


/*footer*/

.footer {
    background-color: white;
    padding: 20px;
    text-align: center;
}

.footer-info {
    display: flex;
    justify-content: flex-end;   
    gap: 40px;            
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;   
}

.footer-section h6 {
    margin-bottom: 5px;
    text-align: center;
}

.footer-section p {
    margin: 0;
    font-size: 16px;
}

.social-icons {
    display: flex;
    gap: 15px;               
}

.social-icons i {
    font-size: 17px;
    color: #000;
}


@media (max-width: 768px) {

    .footer {
        text-align: center;      
    }
    
    .footer-info {
        flex-direction: column;   
        align-items: center;     
        gap: 20px;       
    }
    
    .footer-section {
        align-items: center;
        text-align: center;
    }

    .textbox{
        margin-top: -25px;
    }
}




/*resume html css*/

.resume-body{
    background-color: #F4ECE6;
}


.main-content {
    background-color: #F4ECE6;
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
    margin-top: 100px;
    position: relative;
    width: 100%;
}

.resume-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

.resume-header-cert {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 60px;
}




.resume-header-cert {
    display: flex;              
    flex-direction: column;  
    position: absolute;
    top: -160px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    background-color: white;
    padding: 25px;
    border-bottom: 1px solid black; 
    width: 100%;
    max-width: 1500px;
    box-sizing: border-box;
    word-wrap: break-word;
}

.header-content {
    display: flex;                   
    align-items: center;
    justify-content: center;    
    justify-items: center;  
}



.resume-header-cert p {
    margin-top: 15px;
    font-size: 16px;
    text-align: center;
}



h2 {
    margin: 0;
}

.experience-section {
    margin-bottom: 20px;
}

.experience-box, .education-section,
.skills-section {
    background-color: #ffffff;
    padding: 15px;
    margin-bottom: 20px;
}

h3 {
    margin-bottom: 10px;
}


.btn-download {
    padding: 7px 15px;
    background-color: #007bff;
    border: 2px solid #007bff;
    color: white;
    border-radius: 60px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.btn-download:hover {
    background-color: transparent;
}

@keyframes buttonClick {
    0% {
        background-color: transparent;
    }
    100% {
        background-color: #007bff;
    }
}

.btn-download:active {
    animation: buttonClick 0.5s ease forwards; /* 'forwards' to keep the final state */
}

/* Add focus to keep the color after clicking */
.btn-download:focus {
    background-color: #007bff;
    border-color: #007bff;
}



.info-box {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #f5f5f5;
    margin-bottom: 20px;
}

.details {
    flex-basis: 40%;
}

.time {
    color: #007bff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.institute, .degree, .location {
    margin: 0;
    font-size: 14px;
}

.description {
    flex-basis: 55%;
    padding-left: 20px;
}

.description p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}





.container {
    text-align: center;
  }
  
  .service-boxes {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .service-box {
    background: #fff;
    padding: 30px;
    box-shadow: -1px 1px 15px rgba(0, 0, 0, 0.09);
    text-align: center;
    transition: transform 0.3s;
    margin: 10px;
  }

  .service-button {
    padding: 6px 15px;
    border: none;
    margin-top: 10px;
    background-color: #007BFF;
    color: white;
    cursor: pointer;
    outline: none;
    transition:ease-in-out 0.2s;
 
  }

  .service-button:hover {
    background-color: #0056b3;
  }
  
  .service-box:hover {
    transform: translateY(-3px);
  }

  
  .img-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    overflow: hidden;
  }
  
  .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  p {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
  }
  
  .button {
    padding: 10px 20px;
    border: none;
    margin-top: 10px;
    background-color: #007BFF;
    color: white;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .button:hover {
    background-color: #0056b3;
  }
  
  /* Responsive design for desktop screens */
  @media (min-width: 768px) {
    .service-boxes {
      flex-direction: row;
      justify-content: space-between;
    }
  
    .service-box {
      flex-basis: calc(33.333% - 20px);
    }
  }









/*project css*/



.project-box {
    display: flex;
    padding: 30px;
    margin: 20px;
    align-items: center;
    background-color: white;
}

.text-section {
    width: 60%;
    padding-right: 20px;
    position: relative;
}

.text-section h2 {
    margin: 0;
    padding: 0;
    font-size: 24px;
    position: relative;
}

.text-section h2::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 0;
    height: 100%;
    width: 5px;
    background-color: #007bff;
}

.text-section p {
    margin-top: 10px;
    font-size: 16px;
}

.image-section {
    width: 40%;
    text-align: center;
}

.image-section img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.image-section a {
    display: inline-block;
    margin-top: 10px;
    padding: 7px 15px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 50px;
}

.image-section a:hover {
    background-color: #0056b3;
}


/*button*/
.wrapper {
    display: flex;
    justify-content: center;
  }
  
  .cta {
      display: flex;
      padding: 1px 5px;
      text-decoration: none;
      font-family: 'Poppins', sans-serif;
      font-size: 13px;
      color: white;
      transition: 1s;
  }
  
  .cta:focus {
     outline: none; 
  }
  
  .cta:hover {
      transition: 0.5s;
  }
  
  .cta span:nth-child(2) {
      transition: 0.5s;
      margin-right: 0px;
  }
  
  .cta:hover  span:nth-child(2) {
      transition: 0.5s;
  }
  
    span {
      transform: skewX(15deg) 
    }
  
    span:nth-child(2) {
      width: 15px;
      margin-left: 5px;
      position: relative;
    }
    
  /**************SVG****************/
  
  path.one {
      transition: 0.4s;
      transform: translateX(-60%);
  }
  
  path.two {
      transition: 0.5s;
      transform: translateX(-30%);
  }
  
  .cta:hover path.three {
      animation: color_anim 1s infinite 0.2s;
  }
  
  .cta:hover path.one {
      transform: translateX(0%);
      animation: color_anim 1s infinite 0.6s;
  }
  
  .cta:hover path.two {
      transform: translateX(0%);
      animation: color_anim 1s infinite 0.4s;
  }
  
  /* SVG animations */
  
  @keyframes color_anim {
      0% {
          fill: white;
      }
      50% {
          fill: #007bff;
      }
      100% {
          fill: white;
      }
  }


  /*language box*/

  .language-box {
    display: flex;
    justify-content:space-around;
    flex-direction: row;
}

.language-section {
    width: 30%;
    /*background-color: #007bff13;*/
    
    padding: 15px;
    border-radius: 5px;
}

.language-section h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}

.language-section p {
    font-size: 15px;
    color: #666;
    text-align: center;
}

@media (max-width: 568px) {
    .language-box {
        flex-direction: column;
        align-items: center;
    }

    .language-section {
        width: 80%;
        padding: 15px;
        border-radius: 5px;
        margin: 10px;
    }

}

/*skills*/
.skills-box {
    padding: 20px;
}


.skills-box ul {
    list-style: none;
    padding: 0;
}

.skills-box ul li {
    font-size: 17px;
    margin-bottom: 8px;
    color: #555;
}

.skills-box ul li span {
    font-weight: bold;
    color: #007bff;
}

/*interest*/

.interest-box {
    padding: 10px;
}


.interest-box ul {
    list-style: none;
    padding: 0;
}

.interest-box ul li {
    font-size: 16px;
    margin-bottom: 10px;
    color: #555;
}


/*certification*/

.cert-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.cert-box:last-of-type hr {
    display: none;
}

.cert-box div.text {
    max-width: 60%;
}

.cert-box h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
}

.cert-box p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.cert-box a {
    display: block;
    max-width: 30%;
    text-decoration: none;
}

.cert-box img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

hr {
    border: none;
    height: 1px;
    background-color: #ddd;
    margin: 20px 0;
}

.cert-box .leftside {
    order: 2;
}


.background-cert {
    background-image: url(../assets/v904-nunny-014-l.jpg);
    background-repeat: no-repeat;
    height: 210px;
    width: 100%;
}


/* Shine */
.hover14 figure {
    position: relative;
    overflow: hidden; /* Add this line */
}

.hover14 figure::before {
    position: absolute;
    top: 0;
    left: -50%; /* Change this to -50% */
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}

.hover14 figure:hover::before {
    -webkit-animation: shine 1s;
    animation: shine 1s;
}

@-webkit-keyframes shine {
    100% {
        left: 125%;
    }
}

@keyframes shine {
    100% {
        left: 125%;
    }
}

.photo:hover{
    transform: scale(1.011);
}


.form-container {
    background-color: white;
    color: #fff;
    border-radius: 8px;
    margin-top: 15px;
}

.form-container .form-control {
    border: none;
    padding: 20px;
    border-radius: 13px;
    background-color: rgba(0, 123, 255, 0.09);
    color: #333;
}

.form-group .form-control:hover {
    background-color: rgba(0, 123, 255, 0.14);
}

.form-group .form-control:focus {
    outline:#007bff;
    border: #007bff solid 1px;
    background-color: white;
}

.form-container .form-control::placeholder {
    color: gray;
}

.form-container .form-control:focus::placeholder {
    color: rgb(88, 86, 86);
}

.form-container .btn-primary {
    background-color: #007bff;
    border: none;
    text-transform: uppercase;
    color: white;
    border-radius: 50px;
    font-size: 13px;
    font-family: 'poppins';
    width: 49.1%;
}

.btn-attach{
    background-color: rgb(236, 236, 236);
    border-radius: 50px;
    width: 49%;
    padding: 3px;
    color: #696969;
}

.btn-attach:hover {
    background-color:rgb(221, 221, 221);
    color: rgb(88, 86, 86);
}

.attach {
    display: inline;
}


.attach i{
    margin-right: 5px;
    font-size: 13px;
}



.form-container .btn-primary:hover {
    background-color: #0056b3;
}

/*contact page -> location email*/

.contact-info {
    display: grid;
    gap: 20px;
    padding: 0;
    list-style: none;
}


.contact-info li {
    display: grid;
    grid-template-columns: 50px 1fr;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 15px 10px;
}


.contact-info i {
    color: white;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    background-color: gray;
    margin: 0 10px 10px 0;
    width: 50px;
    height: 50px;
    font-size: 20px;
    border-radius: 80px;
    transition: ease-in-out 0.4s;
}

.contact-info i:hover{
    background: #007bff;
}

@media (max-width: 468px) {
    .contact-info li {
        display: flex;
        flex-direction: column;
    }
}

.info-heading {
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
}

.info-data {
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    word-wrap: break-word;
    color: #666;
}



.background-box {
    background-color: white;
    padding:70px 40px 50px 40px;
    border-radius: 20px;
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.2);
}

.tooltip {
    visibility: hidden;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px 10px;
    position: absolute;
    z-index: 1;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip.show {
    visibility: visible;
    opacity: 1;
}

.email-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
p {
    margin: 0;
}


@media (max-width: 768px) {
    .contact-form {
        margin: 0px !important;
        padding: 0px !important;
    }
    .attach {
        display: block;
    }
    .btn-attach {
        width: 100%;
    }

    .send-btn {
        width: 100% !important;
    }
}