
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');

html{
    scroll-behavior: smooth;
}

body {
    font-family:'Ubuntu', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 10px;
    background-color: #000000 ;
    color:#FFFFFF;
    box-sizing: border-box;
    scroll-behavior: smooth;
    user-select: none;
}
#particles-js {
    width: 100%;
    height: 100vh;  /* Takes up the full viewport height */
    background-color: #000;  /* Background color */
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;  /* Ensures the particles are in the background */
}

::-webkit-scrollbar {
    width: 10px;
}
  
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
  
::-webkit-scrollbar-thumb {
    background: black;
    border-radius: 12px;
    transition: all 0.3s ease;
}
  
::-webkit-scrollbar-thumb:hover {
    background: #0077A1;
}

.scroll-button a{
    position: fixed;
    bottom: 40px;
    right: 20px;
    color: white;
    padding: 7px 12px;
    font-size: 30px;
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.15);
    z-index: 999;
}
  
#video-background {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
}

.themeDiv{
    display:flex;
    align-items: center;
    justify-content: space-evenly;
}


.header-container{
    display: flex;
    justify-content: center;
}

header {
    position: fixed;
    background-color:black;
    font-family:'Poppins', sans-serif;
    border: 2px solid white;
    border-radius: 10px;
    width: 95%;
    z-index: 999;
}

h2 {
    color:#0077A1;
    font-family:'Ubuntu', sans-serif;
    font-size: 30px;
    text-align: center;
    font-weight: 800;
    text-decoration: underline;
}

h3{
    color:#0077A1;
    font-family:'Ubuntu', sans-serif;
}

.seesaw{
    position:relative;
    animation: nam 15s linear infinite;
}

@keyframes nam
{
    0%
    {
        transform:perspective(1000px) rotateY(0deg);
    }
    5%
    {
        transform:perspective(500px) rotateY(25deg);
    }
    10%
    {
        transform:perspective(1000px) rotateY(0deg);
    }
    15%
    {
        transform:perspective(500px) rotateY(-25deg);
    }
    20%
    {
        transform:perspective(1000px) rotateY(0deg);
    }
    25%
    {
        transform:perspective(300px) rotateY(360deg);
    }
    30%
    {
        transform:perspective(1000px) rotateY(0deg);
    }
    35%
    {
        transform:perspective(500px) rotateY(25deg);
    }
    40%
    {
        transform:perspective(1000px) rotateY(0deg);
    }
    45%
    {
        transform:perspective(500px) rotateY(-25deg);
    }
    50%
    {
        transform:perspective(1000px) rotateY(0deg);
    }
    55%
    {
        transform:perspective(300px) rotateX(360deg);
    }
    60%
    {
        transform:perspective(1000px) rotateY(0deg);
    }
    65%
    {
        transform:perspective(500px) rotateY(25deg);
    }
    70%
    {
        transform:perspective(1000px) rotateY(0deg);
    }
    75%
    {
        transform:perspective(500px) rotateY(-25deg);
    }
    80%
    {
        transform:perspective(1000px) rotateY(0deg);
    }
    85%
    {
        transform: perspective(300px) rotateZ(360deg);
    }
    90%
    {
        transform: perspective(1000px) rotateY(0deg);
    }
    95%
    {
        transform: perspective(500px) rotateY(-25deg);
    }
    100%
    {
        transform:perspective(1000px) rotateY(0deg);
    }
}

.designation1{
    color:rgba(0,0,0,0);
    -webkit-text-stroke: 0.1vw #0077A1;
}

.designation2{
    color:rgba(0,0,0,0);
    -webkit-text-stroke: 0.1vw #0077A1;
} 

.designation1::before{
    content:attr(data-text);
    position:absolute;
    left:20;
    width:0%;
    height:100%;
    color:#0077A1;
    -webkit-text-stroke: 0.1vw #0077A1;
    overflow: hidden;
    animation: desig1 5s linear infinite;
}

@keyframes desig1
{
    0%,10%,100%
    {
        width:0%
    }
    70%,90%
    {
        width:57%;
    }
}

.designation2::before{
    content:attr(data-text);
    position:absolute;
    left:20;
    width:0%;
    height:100%;
    color:#0077A1;
    -webkit-text-stroke: 0.1vw #0077A1;
    overflow: hidden;
    animation: desig2 5s linear infinite;
}

@keyframes desig2
{
    0%,10%,100%
    {
        width:0%
    }
    70%,90%
    {
        width:61%;
    }
}

@media (max-width:600px) {
    @keyframes desig1
    {
        0%,10%,100%
        {
            width:0%
        }
        70%,90%
        {
            width:85%;
        }
    }
    @keyframes desig2
    {
        0%,10%,100%
        {
            width:0%
        }
        70%,90%
        {
            width:90%;
        }
    }
    .abt{
        transform: translateX(40px);
    }
    #changeTheme{
        font-size: small;
        max-width: 70px;
        transform: translateX(20px);
    }
}

.navbar-custom{
    background-color: #0077A1;
    border-radius: 10px;
}

.hd-txt{
    color: #fff !important;
    font-family:'Ubuntu', sans-serif;
    font-size: 25px;
    font-weight: 800;
    position: relative;
}

.hd-txt::after{
    content:'';
    width:0;
    height:3px;
    background:#fff;
    position:absolute;
    left: 8px;
    bottom:12px;
    transition: 0.6s;
}

.hd-txt:hover::after{ 
    width: 100px;
}

@media (max-width:1000px) {
    .hd-txt::after{
        left:0px;
    }
}

.fon{
    color:#fff !important;
    font-size: 30px;
    font-weight: 1000;
    font-family:'Ubuntu', sans-serif;
}

.navbar-toggler{
    border: none;
}

.navbar-toggler:focus {
    outline: none; 
}

.hamburger-toggler-icon .bar {
    width: 35px;
    height: 5px;
    border-radius: 5px;
    background-color: #fff;
    margin: 5px 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.hamburger-toggler-icon.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(-45deg);
}

.hamburger-toggler-icon.active .bar:nth-child(2) {
    opacity: 1;
}

.hamburger-toggler-icon.active .bar:nth-child(3) {
    transform: translateY(-10px) rotate(45deg);
}

section{
    margin-top:10px ;
}

a.txt { 
    color:#000000;
    text-decoration: none;
    padding-right: 30px;
    padding-left: 30px;
    font-family:'Ubuntu', sans-serif;
    font-size: 25px;
    font-weight: 800;
}

a:hover {
    color: #FFFFFF;
}

p{
    color:#FFFFFF; 
    font-family:'Ubuntu', sans-serif;
    font-size: larger;
}

button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    color: #FFFFFF;
    text-decoration: none;
    border: 6px solid #0077A1;
    transition: background-color 0.3s ease;
}

#submit:hover {
    color:#000000;
    background-color: #FFFFFF;
}

#submit{
    display: inline-block;
    padding: 10px 20px;
    font-size: 18px;
    background-color: rgba(0,0,0,0);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 15px;
    border-width: 3px;
    border-color:#0077A1;
    transition: background-color 0.3s ease;
}

.id{
    background-color: #000000;
}

.achievement-container{
    display: flex;
    align-items: center;
    justify-content: center;
}

.achievements{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #0077A1;
    padding: 5px 0px 40px 0px;
    border: 2px solid white;
    border-radius: 10px;
    width: 60%;
    transition: transform 0.3s ease-in-out;
}

@media (max-width:768px){
    .achievements{
        width: 95%;
    }
}

.achievements i{
    font-size: 25px;
    color:#0077A1;
    background-color: #fff;
    padding:10px;
    border-radius: 50%;
    margin: 10px auto;
}

.achievements img{
    width: 85%;
}

.achievements  p{
    width: 85%;
    text-align: justify;
}

.achievements a .drive{
    width: 60px; 
    transition: all 0.3s ease-in-out;
}

.achievements a .drive:hover{
    transform: scale(1.2);
}

.achievements:hover{
    background-color: #fff;
    transform: scale(1.05);
    border-color: #0077A1;
}

.achievements:hover p{
    color: #0077A1;
}

.achievements:hover i{
    color: white;
    background-color: #0077A1;
}

.coding{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.code{
    width:300px;
    color:#f1f1f1;
    background-color: #0077A1;
    border: 2px solid white;
    border-radius: 10px;
    padding: 10px;
    margin: 30px;
    transition: all 0.4s ease;
}

.code a{
    text-decoration: none;
}

@media (max-width:920px) {
    .coding{
        justify-content: center;
    }
}

.code h4{
    color: #fff;
    display: block;
    font-size:20px;
    font-weight: 600;
    text-align: center;
}

.coding .code center p{
    background-color: #fff;
    width:fit-content;
    color: #0077A1;
    padding:5px 10px;
    border-radius: 5px;
}

.coding .code center{
    padding-top: 15px;
}

.code-img{
    width:40px;
    height:auto;
    display: block;
    margin: 5px auto;
}

.code-logo{
    padding: 2px;
    background-color: #0077A1;
    border-radius: 50%;
    margin:5px auto;
    transition: all 0.4s ease;
    background-color: #fff;
    width: 60px;
    height:60px;
}

.coding .code:hover{
    border: 3px solid #0077A1;
    background: white;
    transform: scale(1.06);
    transition: transform 0.3s ease;
}

.coding .code:hover p{
    color: white;
    background-color: #0077A1;
}

.coding .code:hover .code-logo{
    background: #0077A1;
}

.coding .code:hover .prof-img{
    border: 2px solid #0077A1;
}

.coding .code:hover .platform{
    color: #0077A1;
}

.prof-img{
    width: 275px;
    height: auto;
    margin: 5px 0px;
}

.img-container1 {
    display: flex; 
    align-items: center;
    margin-top: 20px;
    margin-bottom: 30px;
    justify-content: space-evenly;
}

.circle {
    width: 200px; 
    height: 200px;
    border-radius: 50%;
}

.circle img {
    width: 100%; 
    height: 100%;
    object-fit: cover; 
}

.profile-image{
    border-radius: 50%;
    box-shadow: 0 0 20px 10px rgba(255, 255, 255, 1);
}

@media (max-width:750px) {
    .circle{
        margin: auto;
    }
}

.glowing-text {
    font-size: 36px;
    text-align: center;
    color:aliceblue;
}

.glowing-text h1 {
    font-size: 50px;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 900;
    text-align: center;
    color:aliceblue;
    text-shadow: 0 0 25px #FFFFFF;
    animation: glow 1.5s ease-in-out infinite; 
}

.glowing-text h3{
    font-size: 50px;
    font-weight: 900;
}

@keyframes glow {
    0% {
        text-shadow: 10 10 30px #0077A1;
    }
    50% {
        text-shadow: 10 10 40px #0077A1;
    }
    100% {
        text-shadow: 10 10 30px #0077A1;
    }
}

.res
{
    display: flex; 
    justify-content: center; 
    align-items: center;
    text-align: center;
    margin-left: 25px;
}

.skillset{
    display: flex;
    justify-content: center;
    
}

.skills{
    border: 2px solid #0077A1;
    border-radius: 20px;
    height: 230px;
    margin: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

@media (max-width: 500px){
    .skills{
        height: fit-content;
        width: 95%;
        margin: 20px auto;
    }
}

.skills:hover {
    box-shadow: 0px 0px 20px white;
}

.skill{
    background-color: #0077A1;
    display: flex;
    border-radius: 15px;
    height: 45px;
    padding: 10px;
    margin: 10px;
    transition: all 0.3s ease-in-out;
}

.skill:hover{
    transform: scale(1.1);
}

.skill img{
    height: 25px;
    margin-right: 15px;
}

.skill p{
    transform: translateY(-3px);
}

.skillset-topic{
    font-size: 25px;
    text-align: center;
}

.project .boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-grow:1;
}
  
.project .boxes .box {
    border: 2px solid white;
    margin: 20px auto;
    background: #0077A1;
    text-align: center;
    border-radius: 12px;
    padding: 30px 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: transform 0.4s ease;
}
  
.box .topic p{
    font-size: 30px;
    font-weight: 500;
    color: #0077A1;
}

.topic{
    font-size:20px;
    font-weight:800;
    color:#fff;
}

.project .boxes .box:hover {
    transform: scale(1.06);
    background: white;
    border: 2px solid #0077A1;
    color: #0077A1;
}
  
.project .boxes .box .icon  {
    height: 50px;
    width: 50px;
    background: white;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 18px;
    color: #0077A1;
    margin: 0 auto 10px auto;
    transition: all 0.4s ease;
}
  
.box:hover p{
   color:#0077A1;
}

.boxes .box:hover .icon {
    background: #0077A1;
    color: white;
}

.boxes .box:hover .tools{
    color: white;
    background-color: #0077A1;
}

.project .boxes .box:hover .topic{
    color:#0077A1;
}

.box-icon{
    display: flex;
    justify-content: center;
}

.box-icon img{
    height:40px;
    width:auto;
    margin: 20px;
    transition: all 0.4s ease;
}

.box-icon img:hover{
    transform: scale(1.2);
    transition: 0.3s;
}
  
.project-img {
    max-width: 100%; 
    height: auto; 
    margin-bottom:20px;
    transition : transform 0.3s linear;
}

.project-img:hover {
    transform: scale(1.1);
}

.prj-img-flw{
    overflow: hidden;
}

.tools{
    color: #0077A1;
    padding: 5px 10px;
    background-color: #fff;
    border-radius: 5px;
    margin: 5px;
}

.txt2 .tech-title{
    font-weight: 500;
    font-size: 25px;
}

.tech-stack{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

section .content {
    width: 90%;
    margin: 40px auto;
}
    
section .title {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

section .title span {
    color: #0077A1;
    font-size: 30px;
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
}
  
section .title span::after {
    bottom: -7px;
    width: 70%;
    left: 50%;
    transform: translateX(-50%);
}
  
.contact{
    display: flex;
    justify-content: center;
}

.social{
    display:flex;
    justify-content: center;
}

.social img{
    margin: 20px;
    width:50px;
    height:auto;
    transition: transform 0.4s ease;
}

.social img:hover{
    transform: scale(1.2);
    transition: 0.3s;
}

input,textarea{
    border-color: #000000;
    border-radius: 7px;
}

form .contact-inputs{
    width: 350px;
}

@media(max-width:500px){
    form .contact-inputs{
        width: 300px;
    }
}

/* Hamburger Icon Styles */
.hamburger-toggler-icon .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
}

/* Navbar custom styles */
.navbar-custom {
    background-color: #333;  /* Dark background */
    color: #fff;             /* White text */
}

.navbar-light .navbar-nav .nav-link {
    color: white;            /* White text for links */
}

/* Hover effect */
.navbar-light .navbar-nav .nav-link:hover {
    color: #ff6347;  /* Change to a color on hover (tomato) */
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

.timeline {
    position: relative;
    padding: 20px 0;
    list-style: none;
    text-align: left;
}
.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #000080;
    left: 50%;
    margin-left: -2px;
}
.timeline > li {
    position: relative;
    min-height: 50px;
    margin-bottom: 50px;
}
.timeline > li:before, .timeline > li:after {
    content: " ";
    display: table;
}
.timeline > li:after {
    clear: both;
}
.timeline > li:before, .timeline > li:after {
    content: " ";
    display: table;
}
.timeline > li:after {
    clear: both;
}
.timeline > li .timeline-panel {
    width: 46%;
    float: left;
    border: 1px solid #d4d4d4;
    background: black;
    color: #fff;
    border-radius: 2px;
    padding: 20px;
    position: relative;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}
.timeline > li .timeline-panel:before {
    position: absolute;
    top: 26px;
    right: -15px;
    display: inline-block;
    border-top: 15px solid transparent;
    border-left: 15px solid #808080;
    border-right: 0 solid #808080;
    border-bottom: 15px solid transparent;
    content: " ";
}
.timeline > li .timeline-image {
    width: 50px;
    height: 50px;
    left: 50%;
    z-index: 100;
    background-color: #808080;
    color: #fff;
    border-radius: 50%;
    border: 4px solid #000080;
    position: absolute;
    top: 20px;
    margin-left: -25px;
}
.timeline > li .timeline-image img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}
.timeline > li.timeline-inverted > .timeline-panel {
    float: right;
}
.timeline > li.timeline-inverted > .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
}
.timeline-title {
    margin-top: 0;
    color: inherit;
}
.timeline-body > p, .timeline-body > ul {
    margin-bottom: 0;
}
.timeline-body > p + p {
    margin-top: 5px;
}
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #808080;
    color: #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    cursor: pointer;
}
.header {
    text-align: center;
    padding: 20px;
}
.header h1 {
    font-size: 2.5rem;
    color: #4a00e0;
}
.header p {
    font-size: 1.2rem;
    color: #555;
}
.education-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    padding: 20px;
    display: flex;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.education-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.education-item img {
    border-radius: 10px;
    width: 150px;
    height: 100px;
    object-fit: cover;
    margin-right: 20px;
}
.education-item h3 {
    font-size: 1.5rem;
    color: #1a237e;
}
.education-item p {
    margin: 5px 0;
    color: #555;
}
.education-item .status {
    color: #388e3c;
    font-weight: bold;
}
.contact-form {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.contact-form .form-control {
    background-color: #e0e7ff;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.contact-form .btn-primary {
    background-color: #3b82f6;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
}
.contact-form .btn-primary:hover {
    background-color: #2563eb;
}
.contact-form .form-control:focus {
    box-shadow: none;
    border-color: #3b82f6;
}
.contact-form .form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
}
.contact-form .form-group {
    position: relative;
}
.contact-form .form-group input,
.contact-form .form-group textarea {
    padding-left: 40px;
}
.contact-form h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}
.contact-form h2 span {
    color: #8b5cf6;
}
.footer {
    padding: 40px 0;
    background-color: #0a0a23;
}
.footer h5 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.footer p, .footer a {
    color: #ffffff;
    font-size: 1rem;
}
.footer a:hover {
    text-decoration: none;
}
.footer .social-icons a {
    color: #ffffff;
    font-size: 1.5rem;
    margin-right: 15px;
}
.footer .social-icons a:hover {
    color: #ff6347;
}
.footer .designed-by {
    text-align: center;
    margin-top: 20px;
    font-size: 1rem;
}
.footer .designed-by a {
    color: #ff6347;
}

