/* General Reset */
@import url("https://fonts.googleapis.com/css2?family=Asap&family=Roboto:ital,wght@0,500;0,900;1,500&display=swap");

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

:root {
    --primary-color: #1bacf4;
    --secondary-color: #333;
    --font-size-large: 24px;
}

body, html {
    overflow: visible; 
    scroll-behavior: smooth;
}

body.dark-theme {
    background-color: #121212; 
    color: white;
}

@keyframes  alpha1{
    0%{
        transform: translateY(-100px);
        opacity: 0;
    }
    100%{
        transform: translateY(0px);
        opacity: 1;
    }
}
html {
    scroll-behavior: smooth;
}

.header {
    width: 100%;
    height: 60px;
    background-color: #01222a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; 

    box-shadow: 0px 1px 2px rgba(1, 94, 116, 0.5), 
    0px 2px 4px rgba(0,255,255,0.5), 
    
    0px 8px 16px rgba(7, 51, 51, 0.5);
    animation: alpha1 1s ease forwards;
    animation-delay: calc(.2s * var(--vlr));
        
    
}

.logo {
    font-family: "Roboto", sans-serif;
  font-weight: 600;
  color: #1bacf4;
  font-size: 20px;
  margin-left: 30px;
  cursor: pointer;

}
#theme-btn {
    margin-right: 8px; /* Space between icon and text */
    font-size: 18px; /* Size of the icon */
}
.menu {
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.menus {
    color: rgb(33, 92, 144);
    list-style: none;
    display: flex;
    margin: 25px;
    font-size: 18px;
    cursor: pointer;
    
}

.menus:hover {
    color: #fff;
  background-color: #333;
  box-shadow: inset 0px 2px 4px rgba(0,255,255,0.3), 
              inset 0px 4px 8px rgba(0,255,255,0.3), 
              inset 0px 8px 16px rgba(0,255,255,0.3);
  transition: 0.2s;
  transform: translateY(4px);
}

/* #touch {
    padding: 10px 15px;
    background-color: #005f92;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
} */

a {
    text-decoration: none;
    color: inherit;
}

#touch:hover {
    background-color: rgba(3, 69, 80, 0.596);
    color: white;
}

.bio {
    width: 100%;
    height: 77vh;
    display: flex;
    justify-content: space-between;
    margin: auto;
    margin-top: 70px;
}

.mypic {
    width: 400px;
    margin-top: 20px;
    margin-right: 40px;
    height: 400px;
    background-position: 50%;
    border: 3px solid white;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 35%;
    box-shadow: 0 0 35px rgba(79, 34, 192, 0.373);
    animation: anim12 6s ease-in-out infinite;
}
.mypic:hover {
  
    box-shadow: 0 0 50px rgba(79, 34, 192, 0.6); 
    border-color: #6642f3; 
}

@keyframes anim12 {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 35%;
    }
    50% {
        border-radius: 30% 60% 75% 40% / 55% 60% 30% 60%;
    }
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 35%;
    }
}

.left {
    margin-left: 40px;
    font-size: 55px;
    text-align: center;
    margin-top: 140px;
    font-weight: 750;
}

#acolor {
    color: rgb(59, 31, 241);
}

#element {
    color: rgb(59, 31, 241);
}

.about-box {
    display: none;
    position:absolute;
    top: 65%;
    left: 26%;
    transform: translate(-50%, -50%);
    width: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ccc;
    box-shadow: 0 0 35px rgba(2, 10, 245, 0.373);
    border-radius: 10px;
    padding: 20px;
    animation: fadeIn 0.5s ease;
}
/* for dar theme :-) */
.about-box.dark-theme {
    background: rgba(27, 27, 27, 0.624); 
    border: 1px solid #444; 
    color: white; 
   
}
.about-box p {

    text-align: left;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    display: block;
}

#aboutBtn {
    padding: 10px 40px;
    margin: 0 10px;
    transform: skewX(-10deg);
    cursor: pointer;
    border: 1px solid #97079062;
    background-color: transparent;
    color: #ffffff;
    text-align: center;
    width: 150px;
    transition: background-color 0.3s ease, color 0.3s ease;
    background: linear-gradient(45deg, #2599f8cf 15%, #1a6e7d 48%, #105587a3 90%);
}

#aboutBtn1 {
    padding: 10px 40px;
    margin: 0 10px;
    transform: skewX(-10deg);
    cursor: pointer;
    border: 1px solid #97079062;
    background-color: transparent;
    color: #ffffff;
    text-align: center;
    width: 165px;
    transition: background-color 0.3s ease, color 0.3s ease;
    background: linear-gradient(45deg, #2599f8cf 15%, #1a6e7d 48%, #105587a3 90%);
}

#aboutBtn:hover,
#aboutBtn1:hover {
    background: linear-gradient(45deg, #0885eb 15%, #034152 90%);
    color: white;
    transition: all 0.3s ease;
}

hr {
    width: 80%;
    margin: auto;
}

h1 {
    margin-top: 10px;
    font-size: 30px;
    display: flex;
    justify-content: center;
    font-weight: 700;
}

.program {
    text-align: center;
    padding: 20px;
    width: 100%;
    height: 100%;
}

.image-carousel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    padding: 20px;
}

.language-card {
   
    position: relative;
    text-align: center;
    width: 150px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.language-card.dark-theme {
    background: #2c2c2c; 
    color: white; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); 
  
}
.language-card:hover {
    transform: scale(1.1);
    box-shadow: 0 0 35px rgba(2, 10, 245, 0.373);
}

.language-card img {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.language-card:hover img {
    transform: scale(1.05);
}
#language-title{
    margin-bottom: 10px;

    color: #606363;
}
/* dark theme for language card information */
.language-info.dark-theme{
    background: #2c2c2c; 
    color: white; 
    box-shadow: 0 0 35px rgba(99, 102, 201, 0.373);
}
.language-info {
   
    margin-top: 20px;
    display: none;
    background-color: #ffffff;
   
    border: 1px solid #ddd;
    box-shadow: 0 0 35px rgba(103, 2, 245, 0.373);
    border-radius: 10px;
   
    padding: 20px;
    max-width: 600px;
    margin: 20px auto;
    text-align: left;
}
/* Education Section */
.education {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 40px 0;
    width: 100%;
}

.education .title {
    margin-bottom: 20px;
    text-align: center;
    font-size: 36px;
    color: #333;
}

.education .title span {
    color: #0c14ed; /* Highlight color */
}
.education h3 {
    
    color: #827d7d; 
    font-size: 24px; 
}
.education .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the boxes in the row */
    gap: 20px;
}

.education .box {
    width: 60%;
    margin: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(97, 116, 240, 0.645);
    padding: 20px;
    transition: background-color 0.3s ease; 
}

/* dark theme for education box */
.education .box.dark-theme {
    background-color: #2c2c2c9d; 
    color: white; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}


.education .box:hover {
    background-color:  rgba(23, 30, 230, 0.471);
    color: white;
    border-right: 2px solid #4c5fed;
   
}

.education-content {
    margin-bottom: 20px;
}

.education-content .content {
    border-left: 5px solid #1f07d6;
    padding-left: 20px;
    margin-bottom: 20px;
}

.education-content .year {
    font-size: 16px;
    color: #777;
}

.education-content h3 {
    font-size: 22px;
    margin: 10px 0;
    color: #333;
}




.project {
    width: 100%;
    
    height: 100vh;
    margin-top: 30px;
}
.projectbio #pro{
    color: #0c14ed;
}
.projectbio {
    margin-top: 10px;
    font-size: 30px;
    display: flex;
    justify-content: center;
    font-weight: 700;
}

.slider {
    width: 100%; /* Use 100% width for responsiveness */
    max-width: 1300px; /* Set a maximum width */
    height: auto;
    max-height: 600px; /* Let the height adjust based on content */
    background-color: black;
    overflow: hidden;
    position: relative;
    margin: 40px auto; /* Center the slider with margin */
    border-radius: 20px;
    box-shadow: 10px 20px 15px rgba(0, 0, 0, 0.4);
}

.img-container {
    display: flex;
    transition: transform 0.5s ease; 
    width: 100%; 
}

.pr-img {
    min-width: 100%;
    height: auto; 
    object-fit: fill; 
}

.btnGit{
    display: flex;
    justify-content: center;
 
}
.button-62 {
  background: linear-gradient(to bottom right, #5b47ef, #172671);
  border: 0;
  border-radius: 12px;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-block;
  font-family: -apple-system,system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 2.5;
  outline: transparent;
  padding: 0 1rem;
  text-align: center;
  text-decoration: none;
  transition: box-shadow .2s ease-in-out;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
}

.button-62:not([disabled]):focus {
  box-shadow: 0 0 .25rem rgba(0, 0, 0, 0.5), -.125rem -.125rem 1rem rgba(124, 6, 221, 0.5), .125rem .125rem 1rem rgba(1, 27, 85, 0.5);
}

.button-62:not([disabled]):hover {
  box-shadow: 0 0 .25rem rgba(0, 0, 0, 0.5), -.125rem -.125rem 1rem rgba(46, 3, 95, 0.5), .125rem .125rem 1rem rgba(90, 140, 255, 0.5);
}



.btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 40px;
    opacity: 0.6;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.btn:hover {
    opacity: 1;
}

footer {
    width: 100%;
    height: 25vh;
    background-color: black;
    margin-top: 40px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    box-shadow: inset 0px 2px 4px rgba(132, 7, 228, 0.3), 
    inset 0px 4px 8px rgba(0,255,255,0.3), 
    inset 0px 8px 16px rgba(143, 65, 226, 0.496);



}

h2 {
    color: white;
    font-size: 40px;
    font-weight: 700;
}

.media {
    color: white;
    font-size: 30px;
    margin-top: 20px;
    transition: all 0.3s;
}

.media:hover {
    color: rgb(34, 91, 248);
    font-size: 32px;
}

.social {
    display: flex;
    gap: 30px;
}


@media (max-width: 768px) {

    .header {
      left: 0;
        width: 100%;
        height: 40px;
        background-color: #01222a;
        display: flex;
        justify-content: space-between;
        align-items: center;
       position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000; 
    
        box-shadow: 0px 1px 2px rgba(1, 94, 116, 0.5), 
        0px 2px 4px rgba(0,255,255,0.5), 
        
        0px 8px 16px rgba(7, 51, 51, 0.5);
            
        
    }


 .menu {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
  
    background-color: #333;
    width: 100%;
    z-index: 100;
}

/* Show the menu when the hamburger is clicked */
.menu.active {
    display: block;
}

/* Hamburger Icon Styles */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 30px;
    height: 4px;
    margin: 5px;
    background-color: #fff; /* hamburger bar color */
}


body {
    padding: 0 10px;
}

.bio {
    flex-direction: column-reverse; 
    align-items: center;
}

.mypic {
    order: -1; 
    width: 220px; 
    height: 220px; 
    margin-top: 20px;
}

.left {
    margin-top: 40px;
    font-size: 30px;
    text-align: center;
   margin-bottom: 70px;
}

#aboutBtn {
    padding: 10px 40px;
    margin: 10px 10px;
    transform: skewX(-10deg);
    cursor: pointer;
    border: 1px solid #97079062;
    background-color: transparent;
    color: #ffffff;
    text-align: center;
    width: 160px;
    height: 45px;
    transition: background-color 0.3s ease, color 0.3s ease;
    background: linear-gradient(45deg, #2599f8cf 15%, #1a6e7d 48%, #105587a3 90%);
}

.language-card {

    text-align: center;
    height: 120px;
    width: 100px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.language-card img {
    width: 60px;
    height: 50px;
    margin-bottom: 10px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}
#aboutBtn1 {
    height: 45px;
    padding: 10px 40px;
    margin: 10px 10px;
    transform: skewX(-10deg);
    cursor: pointer;
    border: 1px solid #97079062;
    background-color: transparent;
    color: #ffffff;
    text-align: center;
    width: 170px;
    transition: background-color 0.3s ease, color 0.3s ease;
    background: linear-gradient(45deg, #2599f8cf 15%, #1a6e7d 48%, #105587a3 90%);
}

.education .title {
    font-size: 24px; /* Even smaller font size for mobile screens */
}

.education .box {
    width: 90%; /* Further increase box width */
}

.education-content h3 {
    font-size: 18px; /* Smaller font size for headings */
}

.education-content .year {
    font-size: 12px; /* Smaller year text */
}

.projectbio {
    font-size: 24px;
}
.project {
    width: 100%;
    height: 70vh;
    margin-top: 30px;
}

.slider {
    width: 90%; /* Reduce width for tablets */
    margin: 20px auto; /* Adjust margin */
}

.pr-img {
    min-width: 100%; 
}

.leftcolumn {
    width: 100%;
    padding: 10px;
}

.card h2 {
    font-size: 18px;
}

.card p {
    font-size: 13px;
}
.about-box {
    width: 80%; 
    left: 50%; 
    transform: translateX(-50%); 
    top: 70%; 
    padding: 15px; 
    font-size: 14px; 
    border-radius: 8px; 
}

.about-box p {
    
    font-size: 12px; 
    line-height: 1.2; 
}
footer {
    height: 200px; 
    padding: 20px;
    
    text-align: center; 
}
footer h2 {
    font-size: 24px; /* Adjust heading size for mobile */
}

footer .media {
    font-size: 20px; /* Adjust media icon/text size */
}

footer .social {
  
    gap: 15px; 
}
}

.hamburger.active + .menu .menus {
    display: flex;
}
.alaboutme {
    margin: 40px auto;
    text-align: center;
}

.row {
    display: flex;
    flex-direction: column-reverse; 
    align-items: center; 
    flex-wrap: nowrap; 
    padding: 20px;
}

.leftcolumn {
    width: 100%;
    max-width: 700px;
    overflow: visible; 
    
}

.card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 10px 0;
    text-align: left;
    overflow: visible;
    height: auto; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card:hover {
    transform: scale(1.05); 
    box-shadow: 0 10px 25px rgb(0, 0, 0); 
}

.card img.fakeimg {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, filter 0.3s ease; /* Smooth image transition */
    box-shadow: 0px 1px 2px rgba(1, 80, 137, 0.5), 
    0px 2px 4px rgba(0,255,255,0.5), 
    0px 4px 8px rgba(6, 47, 64, 0.5), 
    0px 8px 16px rgba(0,255,255,0.5);
}

.card img.fakeimg:hover {
    filter: brightness(1.1); /* Slight brightness increase on hover */
    transform: scale(1.05); 
}

.card h2 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #333333;
}

.card h5 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #666666;
}

.card p {
    font-size: 14px;
    line-height: 1.6;
    color: #444444;
}



 
