.navbar-brand{
    font-family: "Caveat", cursive;
    font-weight: 700;
    font-size: x-large;
   color:blanchedalmond;
}

.navbar-brand img {
    width: 35px; 
    height: auto; 
}

.navbar-brand:hover {
    color:#BDDF63;
}

i {
    padding: 20px 5px;
}

h1 {
    font-family: "Caveat", cursive;
    font-weight: 700;
    font-size:xx-large;
   color:#BDDF63;
}



.custom-navbar {
    font-family: 'Poppins', sans-serif; 
    font-size: 1em;
    color: blanchedalmond;
    background-color:#2A5FCD;
}

.custom-navbar .navbar-toggler {
    background-color: blanchedalmond !important;  
    border: none !important;  
}

.custom-navbar .navbar-toggler-icon {
    background-color: blanchedalmond !important; 
}

.custom-navbar .navbar-toggler:hover {
    background-color: blanchedalmond !important;  
}

.custom-navbar .navbar-toggler:focus {
    background-color: blanchedalmond !important;  
}

.custom-navbar .navbar-nav .nav-link {
    color: blanchedalmond !important;  
}

.custom-navbar .navbar-nav .nav-link:hover {
    color: #BDDF63 !important; 
}

.custom-navbar .navbar-nav .nav-link.active,
.custom-navbar .navbar-nav .nav-link:focus {
    color:blanchedalmond !important; 
}




.accordion-body img {
    width: 30%; 
    max-width: 100%; 
    height:auto; 
    display: block; 
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px; 
}

.about {
    background-color:#BDDF63;
    margin: 0;
    padding: 0;
}

.about img {
    margin: 0;
    padding: 0;
    display: block; 
  }

#about, .about {
    margin: 0;
    padding: 0;
    overflow: hidden;  
}




.container-about {
    background-color:#2A5FCD;
    padding:20px;
    border-radius: 0px;
}




.expertise-section {
    background-color:#BDDF63;
    padding: 15px;
    border-radius: 15px;
}

.experience-section {
    background-color:#BDDF63;
    padding: 15px;
    border-radius: 15px;
}

.skills-section {
    background-color:#BDDF63;
    padding: 15px;
    border-radius: 15px;
}

.expertise-section .accordion-button {
    font-family: 'Caveat', cursive;
    font-size: 0.8em; 
    color: #2A5FCD;
    background-color:blanchedalmond; 
}

.experience-section .accordion-button {
    font-family: 'Caveat', cursive;
    font-size: 0.8em; 
    color: #2A5FCD;
    background-color:blanchedalmond; 
}

.skills-section .accordion-button {
    font-family: 'Caveat', cursive;
    font-size: 0.8em; 
    color: #2A5FCD;
    background-color:blanchedalmond; 
}

.skills-section .skill-img {
    width: 60px; 
    height: 60px; 
    border-radius: 8px; 
    object-fit: cover; 
    margin: 5px; 
}

.skills-section .skills-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    padding: 10px 0;
}

.experience-box img,
.education-box img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: left center; 
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}

.expertise-section .accordion-body img {
    width: 90%; 
    max-width: none; 
    height: auto; 
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 0 auto; 
    transform: translateX(0%); 
}

.experience-section .accordion-body {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    background-color: #BDDF63; 
    padding: 15px;
    border-radius: 15px;
}

.experience-section .accordion-body img {
    width: 180%; 
    max-width: none; 
    height: auto; 
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    margin: 0 auto; 
    transform: translateX(7%);
}

.additional-image-section {
    display: flex;
    justify-content: center; 
    align-items: center;
    padding: 15px; 
    width: 90%;
    overflow: visible;
}

.additional-image {
    width: 120%; 
    max-width: none; 
    height: auto; 
    flex-grow: 1; 
    flex-shrink: 0;
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}

@media (max-width: 767px) {
    .experience-section .accordion-body img {
        width: 100%;
        height: auto;
        transform: translateX(0%); 
    }

    .skills-section .skills-images {
        display: flex;
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 0; 
        padding: 10px 0; 
    }

    .skills-images .col-1 {
        flex: 0 0 10%; 
        max-width: 10%;
    }
    
    .skills-section .skill-img {
        width: 25px; 
        height: 25px;
        margin: -10px; 
    }

    .additional-image {
        width: 100%; 
        height: auto;
    }

    .expertise-section, .experience-section, .skills-section {
        padding: 10px;
    }
}



.projects {
    background-color:#BDDF63;
    padding: 50px 0;
}




.projects h1 {
    color: #BDDF63;
}

.card-body {
    color: #BDDF63; 
}




.contact .social-icons {
    display: flex;
    justify-content: center; 
    gap: 80px;  
    margin-top: 20px;
}

.contact .social-icons a {
    text-decoration: none; /
}

.contact .social-icons i {
    transition: transform 0.3s ease;  
    cursor: pointer;
    color: #BDDF63; 
}

.contact .social-icons i:hover {
    transform: scale(1.1); 
}

.contact {
    background-position: top center;
    background-repeat: no-repeat;
    height: 800px;
    padding-top: 30px;
    position: relative;
    background-size: cover; 
  }

  @media (max-width: 767px) {
    .contact {
        background-size: contain; 
        height: 600px; 
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .contact {
        background-size: contain; 
        height: 700px; 
    }
}



.fullscreen-image {
    position: fixed; 
    top: 0;          
    left: 0;          
    width: 100vw;     
    height: 100vh;   
    object-fit: cover; 
    z-index: -1;     
}


body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;  
}



.image-collapse-section {
    position: relative; 
    width: 100%; 
    height: auto; 
}

.first-image {
    width: 100%; 
    height: auto; 
    display: block; 
}

.second-image {
    position: absolute; 
    top: 2%; 
    left: 3%;
    width: 90%; 
    height: auto; 
    z-index: 10; 
}

.third-image {
    position: absolute; 
    top: 4%; 
    left: 4%; 
    width: 88%; 
    height: auto;
    z-index: 6;  
}

.fourth-image {
    position: absolute; 
    top: 15%; 
    left: 13%;
    width: 70%; 
    height: auto;
    z-index: 3; 
}



.new-slide {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    background-size: cover;
    background-position: center;
    z-index: 1; 
}

@media (max-width: 767px) {
    .background-image {
        background-size: contain; 
        background-repeat: no-repeat; 
        height: 100%; 
    }

    .new-slide {
        min-height: auto; 
        padding: 20px; 
    }
}

.foreground-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 2;
}

.foreground-image {
    max-width: 700px;
    height: auto;
    border-radius: 10px;
    position: absolute;
    top: 5%;      
    left:-110%;      
    transform: translate(-5%, -10%);
}

.carousel-container {
    position: relative;
    right: -250px;
    width: 100%;
    max-width: 500px;
    height: 600px;
    overflow: hidden;
    background-color: #BDDF63;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
    .carousel-container {
        width: 90%; 
        height: auto; 
        padding: 10px; 
        right: -25px; 
    }
    
    .card-carousel .card {
        width: 280px; 
        margin-right: 10px; 
    }

    .carousel-controls .left {
        left: 10px;
    }

    .carousel-controls .right {
        right: 10px;
    }
}

input[type="radio"] {
    display: none;
}

.new-slide .card-carousel {
    display: flex;
    transition: transform 6.5s ease;
    width: calc(500px * 3); 
    justify-content: center;
}




.card p {
    font-family: 'Caveat', cursive;
    font-size: 1.8em;  
    font-weight: 500; 
    color:blanchedalmond; 
    margin-top: 5px;  
}
  
.card:hover p {
    color: #BDDF63;  
}
  


.projects {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 20px; 
}

.projects .card {
    width:360px;
    height: 550px;
    flex-shrink: 0;
    background-color:#2A5FCD;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
}

.projects .card-img-top {
    width: 550px;
    height: 400px;
    object-fit: contain;
}

.projects .card-title {
    font-family: 'Caveat', cursive;
    font-size: 1.8em;
    font-weight: 600;
    color: blanchedalmond;
}

.projects .card-subtitle {
    color: #BDDF63 !important;
}

.projects .card-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    font-weight: 400;
    color: #BDDF63;
}

.projects .card .btn {
    color: #2A5FCD;
    background-color: #BDDF63;
}

@media (min-width: 992px) {
    .shift-right {
        padding-left: 40px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #projectsSection .card {
        width: 90%; 
        margin: 10px auto; 
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .project-card {
        width: 90%;
        margin: 10px auto;
    }
    
    .project-card .card-img-top {
        max-width: 70%; 
        height: 80%; 
        height: auto;
        max-height: 180px; 
        object-fit: cover; 
        margin: 0 auto;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .project-card .card-title {
        font-size: 1em; 
    }

    .project-card .card-subtitle {
        font-size: 0.7em; 
    }

    .project-card .btn {
        font-size: 0.5em; 
        padding: 8px 12px; 
    }
}





.card-carousel .card {
    width: 360px;
    height: 550px;
    flex-shrink: 0;
    background-color: #2A5FCD;
    border-radius: 10px;
    margin-right: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
}

.card-carousel .card-images {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.card-carousel .card img.card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
}

.card-carousel .card-images img.card-image:last-child {
    margin-bottom: 2px;
}

#slide1:checked ~ .card-carousel {
    transform: translateX(380px); 
}

#slide2:checked ~ .card-carousel {
    transform: translateX(-350px);
}

#slide3:checked ~ .card-carousel {
    transform: translateX(-1000px); 
}

.carousel-controls label {
    position: absolute;
    top: 50%;
    font-size: 24px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 10px 20px;
    border-radius: 50%;
    z-index: 10;
}

.carousel-controls .left {
    left: -40px;
}

.carousel-controls .right {
    right: -40px;
}

.carousel-controls label:hover {
    background-color: #2A5FCD;
    color: #BDDF63;
}





  .btn-primary {
    background-color:blanchedalmond; 
    color: #2A5FCD; 
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease; 
  }

  .btn-primary:hover {
    background-color: #7c9142; 
    color:#d8fd73; 
  }
