
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    
  }
  body {
    user-select: none; 
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

  body {
    background: url('background.jpg') no-repeat center center fixed;
    background-size: cover; 
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif; 
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}   
html{
    scroll-behavior: smooth;
}

/* custom scroll bar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* all similar content styling codes */
section{
    padding: 100px 0;
}
.max-width{
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}
.about, .services, .skills, .teams, .contact, footer{
    font-family: 'Poppins', sans-serif;
}
.about .about-content,
.services .serv-content,
.skills .skills-content,
.contact .contact-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
section .title{
    position: relative;
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 60px;
    padding-bottom: 20px;
    font-family: 'Ubuntu', sans-serif;
}
section .title::before{
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 180px;
    height: 3px;
    background: #670650;
    transform: translateX(-50%);
}
section .title::after{
    position: absolute;
    bottom: -8px;
    left: 50%;
    font-size: 20px;
    color: #670650;
    padding: 0 5px;
    background: #f8f2f2;
    
    transform: translateX(-50%);
}

/* Education Section Styling */

#education {
  padding: 50px 20px;
  
}
.section-title {
    font-family: 'Ubuntu', sans-serif;
    color: #030303;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
 
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}



.education-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.education-card {
  
  border: 0.5px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.education-card:hover {
  transform: translateY(-5px);
}

.degree {
    font-family: 'Ubuntu', sans-serif;
  font-size: 1.25rem;
  font-weight: bold;
  color: #444;
  margin-bottom: 5px;
}

.institution {
    font-family: 'Ubuntu', sans-serif;
  font-size: 1rem;
  color: #666;
  margin-bottom: 5px;
}

.duration {
    font-family: 'Ubuntu', sans-serif;
  font-size: 0.9rem;
  color: #999;
}

.details {
    font-family: 'Ubuntu', sans-serif;
  font-size: 0.9rem;
  color: #555;
  margin-top: 10px;
}


/* LeetCode Section */
.leetcode-section {
    padding: 50px 20px;
    
  }
  
  .section-title {
    font-family: 'Ubuntu', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #010101;
  }
  
  .profile-summary {
    font-family: 'Ubuntu', sans-serif;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 10%;
    
  }
  
  .profile-info {
    flex-grow: 1;
  }
  
  .profile-name {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #433e3e;
    margin-bottom: 5px;
  }
  
  .profile-rank,
  .profile-description {
    font-size: 0.95rem;
    color: #433e3e;
  }
  
  .skills-overview {
    
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .skills-title {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
  }
  
  .skill-category {
    margin-bottom: 10px;
  }
  
  .skill-category h4 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
  }
  
  .skill-category p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.95rem;
    color: #444;
    margin-left: 10px;
  }
  

/* navbar styling */
.navbar{
    position: fixed;
    width: 100%;
    z-index: 999;
    padding: 30px 0;
    font-family: 'Ubuntu', sans-serif;
    transition: all 0.3s ease;
}
.navbar.sticky{
    padding: 15px 0;
    background: #670650;
}
.navbar .max-width{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar .logo a{
    color: #fff;
    font-size: 35px;
    font-weight: 600;
    text-shadow: 
    1px 1px 0px rgb(7, 7, 7),  
    -1px -1px 0px rgb(8, 8, 8), 
    1px -1px 0px rgb(20, 20, 20),  
    -1px 1px 0px rgb(8, 8, 8);  
}
.navbar .logo a span{
    color: #670650;
    text-shadow: 
    1px 1px 0px rgb(7, 7, 7),   
    -1px -1px 0px rgb(8, 8, 8), 
    1px -1px 0px rgb(20, 20, 20),  
    -1px 1px 0px rgb(8, 8, 8);  
    transition: all 0.3s ease;
}
.navbar.sticky .logo a span{
    color: #fff;
    text-shadow: 
    1px 1px 0px rgb(7, 7, 7),   
    -1px -1px 0px rgb(8, 8, 8), 
    1px -1px 0px rgb(20, 20, 20),  
    -1px 1px 0px rgb(8, 8, 8);  
}
.navbar .menu li{
    list-style: none;
    display: inline-block;
}
.navbar .menu li a{
    display: block;
    color: #fff;
    text-shadow: 
    1px 1px 0px rgb(7, 7, 7),   
    -1px -1px 0px rgb(8, 8, 8), 
    1px -1px 0px rgb(20, 20, 20),  
    -1px 1px 0px rgb(8, 8, 8);  
    font-size: 18px;
    font-weight: 500;
    margin-left: 25px;
    transition: color 0.3s ease;
}
.navbar .menu li a:hover{
    color: #670650;
}
.navbar.sticky .menu li a:hover{
    color: #fff;
    text-shadow: 
    1px 1px 0px rgb(7, 7, 7),   
    -1px -1px 0px rgb(8, 8, 8), 
    1px -1px 0px rgb(20, 20, 20),  
    -1px 1px 0px rgb(8, 8, 8);  
}

/* menu btn styling */
.menu-btn{
    color: #fff;
    font-size: 23px;
    cursor: pointer;
    display: none;
}
.scroll-up-btn{
    position: fixed;
    height: 45px;
    width: 42px;
    background: #670650;
    right: 30px;
    bottom: 10px;
    text-align: center;
    line-height: 45px;
    color: #fff;
    z-index: 9999;
    font-size: 30px;
    border-radius: 6px;
    border-bottom-width: 2px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.scroll-up-btn.show{
    bottom: 30px;
    opacity: 1;
    pointer-events: auto;
}
.scroll-up-btn:hover{
    filter: brightness(90%);
}


/* home section styling */
.home{
    display: flex;
    height: 100vh;
    color: #fff;
    text-shadow: 
    1px 1px 0px rgb(7, 7, 7),   
    -1px -1px 0px rgb(8, 8, 8), 
    1px -1px 0px rgb(20, 20, 20),
    -1px 1px 0px rgb(8, 8, 8);  
    min-height: 500px;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Ubuntu', sans-serif;
}

.home .max-width{
  width: 100%;
  display: flex;
}
.home .max-width .row{
  margin-right: 0;
}
.home .home-content .text-1{
    font-size: 27px;
}
.home .home-content .text-2{
    font-size: 75px;
    font-weight: 600;
    margin-left: -3px;
}
.home .home-content .text-3{
    font-size: 40px;
    margin: 5px 0;
}
.home .home-content .text-3 span{
    color: #670650;
    font-weight: 500;
    text-shadow: 
    1px 1px 0px rgb(255, 255, 255),   
    -1px -1px 0px rgb(255, 255, 255), 
    1px -1px 0px rgb(255, 255, 255),  
    -1px 1px 0px rgb(255, 255, 255);  
}
.home .home-content a{
    display: inline-block;
    background: #670650;
    color: #fff;
    font-size: 25px;
    padding: 12px 36px;
    margin-top: 20px;
    font-weight: 400;
    border-radius: 6px;
    border: 2px solid #670650;
    transition: all 0.3s ease;
}
.home .home-content a:hover{
    color: #670650;
    background: none;
}

/* about section styling */

.about .title::after{
    content: "who i am";
}
.about .about-content .left{
    width: 45%;
}
.about .about-content .left img{
    height: 400px;
    width: 400px;
    object-fit: cover;
    border-radius: 6px;
}
.about .about-content .right{
    width: 55%;
}
.about .about-content .right .text{
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 10px;
}
.about .about-content .right .text span{
    color: #670650;
}
.about .about-content .right p{
    text-align: justify;
}
.about .about-content .right a{
    display: inline-block;
    background: #670650;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 30px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid #670650;
    transition: all 0.3s ease;
}
.about .about-content .right a:hover{
    color: #670650;
    background: none;
}
/* Remove the default link styles */
a {
    text-decoration: none; 
    color: inherit; 
}

a:hover {
    color: #d0e3f7; 
}

/* services section styling */
.services, .teams{
    color:#090808;
    
}
.services .title::before,
.teams .title::before{
    background: #fff;
}
.services .title::after,
.teams .title::after{
    background: #f1f1f1;
    content: "what I've done";
}
.services .serv-content .card{
    width: calc(33% - 20px);
     
    text-align: center;
    border-radius: 6px;
    padding: 50px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 35px;
}
.services .serv-content .card:hover{
    background: #670650;
}
.services .serv-content .card .box{
    transition: all 0.3s ease;
}
.services .serv-content .card:hover .box{
    transform: scale(1.05);
}
.services .serv-content .card i{
    font-size: 50px;
    color: #670650;
    transition: color 0.3s ease;
}

.services .serv-content .card .text{
    font-size: 25px;
    font-weight: 500;
    margin: 10px 0 7px 0;
}
.oneu{
    display: inline;
    color: pink;
}

/* skills section styling */

.skills .title::after{
    content: "what i know";
}
.skills .skills-content .column{
    width: calc(50% - 30px);
}
.skills .skills-content .left .text{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
   
}
.skills .skills-content .left p{
    text-align: justify;
    margin-bottom: 20px;
}
.skills .skills-content .left a{
    display: inline-block;
    background: #670650;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 8px 16px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid #670650;
    transition: all 0.3s ease;
}
.skills .skills-content .left a:hover{
    color: #670650;
    background: none;
}
.skills .skills-content .right .bars{
    margin-bottom: 15px;
}
.skills .skills-content .right .info{
    display: flex;
    margin-bottom: 5px;
    align-items: center;
    justify-content: space-between;
}
.skills .skills-content .right span{
    font-weight: 500;
    font-size: 18px;
}
.skills .skills-content .right .line{
    height: 5px;
    width: 100%;
    background: lightgrey;
    position: relative;
}
.skills .skills-content .right .line::before{
    content: "";
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    background: #670650;
}
.skills-content .right .html::before{
    width: 90%;
}
.skills-content .right .css::before{
    width: 80%;
}
.skills-content .right .js::before{
    width: 80%;
}
.skills-content .right .php::before{
    width: 90%;
}
.skills-content .right .mysql::before{
    width: 70%;
}

/* teams section styling */
.teams .title::after{
    content: "what I like";
}
.teams .carousel .card{
   
    border-radius: 6px;
    padding: 25px 35px;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
}
.teams .carousel .card:hover{
    background: #670650;
}
.teams .carousel .card .box{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.teams .carousel .card:hover .box{
    transform: scale(1.05);
}
.teams .carousel .card .text{
    font-size: 25px;
    font-weight: 500;
    margin: 10px 0 7px 0;
}
.teams .carousel .card img{
    height: 150px;
    width: 150px;
    object-fit: cover;
    border-radius: 10%;
    border: 1px solid #670650;
    transition: all 0.3s ease;
}
.teams .carousel .card:hover img{
    border-color: #fff;
}
.owl-dots{
    text-align: center;
    margin-top: 20px;
}
.owl-dot{
    height: 13px;
    width: 13px;
    margin: 0 5px;
    outline: none!important;
    border-radius: 50%;
    border: 2px solid #670650!important;
    transition: all 0.3s ease;
}
.owl-dot.active{
    width: 35px;
    border-radius: 14px;
}
.owl-dot.active,
.owl-dot:hover{
    background: #670650!important;
}

/* contact section styling */
/* Contact Section */
.contact_wrapper {
    
    padding: 80px 0;
}

.contact_wrapper .container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact_wrapper .subtitle {
    font-family: 'Ubuntu', sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #670650;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact_wrapper h2 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 36px;
    color: #670650;
    font-weight: 600;
    margin-top: 10px;
}

.contact_wrapper .call_details {
    margin-bottom: 30px;
}

.contact_wrapper .call_details label {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    color: #555;
    font-weight: 500;
    margin-top: 100px;
    margin-left: 30px;
    
}

.contact_wrapper .call_details .col-sm-9 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    color: #670650;
   
    margin-left: 30px;
    
}

.contact_wrapper .call_details .col-sm-9 a {
    text-decoration: none;
    color: #670650;
}

.contact_wrapper .call_details .col-sm-9 a:hover {
    text-decoration: underline;
}
.contact-info div {
    margin-bottom: 20px; 
}

.call_details label,
.call_details .col-sm-9 {
    margin-bottom: 15px; 
}

.call_details .col-sm-9 a {
    text-decoration: none;
    color: #670650;
}

.call_details .col-sm-9 {
    padding-left: 10px;
}

/* Form Styling */
.contact_wrapper form {
    margin-top: 30px;
}

.contact_wrapper .form-control {
    font-family: 'Ubuntu', sans-serif;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    padding: 12px;
    width: 100%;
    margin-bottom: 15px;
    transition: border-color 0.3s;
}

.contact_wrapper .form-control:focus {
    border-color: #670650;
    outline: none;
}
.contact-info p {
    color: rgb(62, 59, 59);
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
    margin-bottom: 20px;
    text-align: justify;
}
.contact_wrapper .main-btn {
    font-family: 'Ubuntu', sans-serif;
    background-color: #670650;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact_wrapper .main-btn:hover {
    background-color: #670650;
}
/* Contact section styling */


.contact_wrapper .row {
    display: flex;
    justify-content: space-between; 
}

.contact-info {
    width: 45%; 
}

.message-box {
    width: 45%; 
}

.contact-info h2, .contact-info .subtitle {
    margin-bottom: 20px;
}

.contact-info .call_details {
    margin-bottom: 20px;
}

.contact-info label {
    font-family: 'Ubuntu', sans-serif;
    font-weight: bold;
}

.contact-info a {
    color: #670650;
    text-decoration: none;
}
.contact-info h3 {
    font-family: 'Ubuntu', sans-serif;
    color: #000000;
    font-size: 15px;
    text-align: justify;
}

.message-box form {
    display: flex;
    flex-direction: column;
}

.message-box .form-control {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid lightgrey;
}

.main-btn {
    background-color: #670650;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
}

.main-btn:hover {
    background-color: #5b004c;
}


/* Responsive Design */
@media (max-width: 768px) {
    .contact-info,
    .message-box {
        display: block;
        width: 100%; 
        padding: 15px; 
        box-sizing: border-box; 
    }

    .contact_wrapper h2 {
        font-size: 30px; 
    }

    .contact_wrapper .form-control {
        font-size: 14px; 
    }

    .contact_wrapper .main-btn {
        font-size: 14px;
        padding: 10px 20px; 
    }
}

/* Mobile View (<= 576px) */
@media (max-width: 576px) {
    
    .contact_wrapper,
    .contact-info,
    .message-box {
        display: block;
        padding: 10px; 
    }

    .contact_wrapper .col-lg-6,
    .mb-4 {
        display: block;
        width: 100%;
    }

    .message-box input,
    .message-box textarea {
        display: block;
        font-size: 14px; 
        padding: 10px; 
    }

    .message-box button[type="button"] {
        display: block;
        font-size: 14px; 
        padding: 10px 20px; 
    }

    .call_details label {
        display: block;
        font-weight: bold; 
    }

    .call_details p {
        display: block;
        margin-top: 5px;
        font-size: 16px; 
    }
}
  

footer{
    display: block;
    background: #670650;
    padding: 15px 23px;
    color: #fff;
    text-align: center;
}


@media (max-width: 1104px) {
    .about .about-content .left img{
        display: block;
        height: 350px;
        width: 350px;
    }
}

@media (max-width: 991px) {
    .max-width{
        display: block;
        padding: 0 50px;
    }
}
@media (max-width: 947px){
    .menu-btn{
        display: block;
        z-index: 999;
    }
    .menu-btn i.active:before{
        content: "\f00d";
    }
    .navbar .menu{
        position: fixed;
        height: 100vh;
        width: 100%;
        left: -100%;
        top: 0;
        background: #111;
        text-align: center;
        padding-top: 80px;
        transition: all 0.3s ease;
    }
    .navbar .menu.active{
        left: 0;
    }
    .navbar .menu li{
        display: block;
    }
    .navbar .menu li a{
        display: inline-block;
        margin: 20px 0;
        font-size: 25px;
    }
    .home .home-content .text-2{
        font-size: 70px;
    }
    .home .home-content .text-3{
        font-size: 35px;
    }
    .home .home-content a{
        font-size: 23px;
        padding: 10px 30px;
    }
    .max-width{
        max-width: 930px;
    }
    .about .about-content .column{
        display: block;
        width: 100%;
    }
    .about .about-content .left{
        display: flex;
        justify-content: center;
        margin: 0 auto 60px;
    }
    .about .about-content .right{
        flex: 100%;
    }
    .services .serv-content .card{
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }
    .skills .skills-content .column,
    .contact .contact-content .column{
        display: block;
        width: 100%;
        margin-bottom: 35px;
    }
}

@media (max-width: 690px) {
    .max-width{
display: block;
        padding: 0 23px;
    }
    .home .home-content .text-2{
        display: block;
        font-size: 60px;
    }
    .home .home-content .text-3{
        display: block;
        font-size: 32px;
    }
    .home .home-content a{
        display: block;
        font-size: 20px;
    }
    .services .serv-content .card{
        display: block;
        width: 100%;
    }
}


/* General styling for screens smaller than 600px */
@media (max-width: 500px) {
    .home .home-content .text-2 {
        font-size: 30px;
    }
    .home .home-content .text-3,
    .education-section,
    .leetcode-section,
    .clock-section {
        font-size: 18px;
        text-align: center;
        padding: 10px;
    }
    .about .about-content .right .text,
    .skills .skills-content .left .text {
        font-size: 16px;
    }
    .education-cards .education-card {
        font-size: 14px;
        padding: 10px;
    }
    .contact .right form .fields {
        flex-direction: column;
    }
    .contact .right form .name,
    .contact .right form .email {
        margin: 0;
    }
    .right form .error-box {
        width: 100px;
    }
    .scroll-up-btn {
        right: 10px;
        bottom: 10px;
        height: 30px;
        width: 30px;
        font-size: 20px;
        line-height: 30px;
    }
    iframe {
        width: 100%;
        height: 300px;
    }
    .profile-summary img {
        width: 80px;
        height: auto;
    }
    .profile-info h3 {
        font-size: 16px;
    }
    .skills-overview {
        font-size: 14px;
    }
}

