body {
    font-family: 'Arial', sans-serif;
    color: #333333;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.navbar {
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333333;
    transition: color 0.3s ease;
}

.nav-link {
    color: #333333;
}

.theme-toggle {
    cursor: pointer;
}

/* Dark theme styles */
body.dark-theme {
    color: #ffffff;
    background-color: #05111e;
}

body.dark-theme .nav-link {
    color: #ffffff;
}

body.dark-theme .navbar-brand {
    color: #ffffff;
}

body.dark-theme .navbar {
    background-color: #05111e;
}

body.dark-theme .card {
    background-color: #05111e;
    color: #ffffff;
}

body.dark-theme .position-relative {
    background-color: #0b1725;
    color: #ffffff;
}

body.dark-theme .position-relative .card {
    background-color: #0b1725;
    border: 1px solid #0b1725; /* Ensure no border */
    color: #ffffff;
}

body.dark-theme .modal-header,
body.dark-theme .modal-body{
    background-color: #05111e;
    color: #ffffff;
}

body.dark-theme .card h6{
    color: #ffffff;
}

body.dark-theme .card-header {
    background-color: #05111e;
    color: #ffffff;
}

body.dark-theme .card-subtitle {
    color: #ffffff;
}

body.dark-theme .card-text {
    color: #ffffff;
}

body.dark-theme .list-unstyled li {
    color: #ffffff;
}

body.dark-theme .skills-dropdown {
    background-color: #05111e;
}

body.dark-theme footer{
    background-color: #000000;
}

section {
    margin: 100px 50px;
}

#home {
    margin-top: 150px;
}

.strawberry-profile {
    width: 250px;
    height: 250px;
    background-color: white;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.social-icons a {
    color: #007bff;
    font-size: 24px;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #6c757d;
}

.social-icons a {
    color: blue;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: scale(1.2);
}

.section-title {
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
}

.text-center {
    align-items: center;
    text-align: center;
}

#about{
    width: 60%;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.about-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
}


#skills {
    width: 50%;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.skills-dropdown {
    cursor: pointer;
    background-color: #ffffff;
    width: 100%;
}

.skills-dropdown .card {
    border: none; /* Ensure no border */
    background-color: #ffffff;
}

.skills-dropdown .card-header {
    background-color: #ffffff;
    border: none; /* Remove border */
    color: #333333;
}

.education {
    border-radius: 5%;
    width: 100%; /* Responsive width */
    padding: 5%;
    background-color: #f8f9fa;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card {
    border: none; /* Ensure no border */
}

.project-slide {
    height: 400px;
    background-size: cover;
    background-position: center;
  }
  
  .project-content {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    height: 100%;
  }

.contact-icon {
    font-size: 2rem;
    color: blue;
}

/* Additional styles */
.skills-dropdown {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.card-header {
    cursor: pointer;
}

.skills-dropdown:not(:last-child) {
    margin-bottom: 1rem;
}

.contact-icon {
    font-size: 2rem;
    color: blue;
}

.social-icons a {
    color: blue;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: scale(1.2);
}

.footer .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



/* Responsive styles */
@media (max-width: 768px) {
    .home-section .row {
        flex-direction: column-reverse;
    }
    .home-section .col-md-6 {
        text-align: center;
    }
    .social-icons {
        justify-content: center;
        margin-bottom: 1rem;
    }
    .about-image {
        width: 200px;
        height: 200px;
    }
    section {
        margin: 50px 20px; /* Adjust section margins for smaller screens */
    }
}

.position-relative {
    margin: 50px auto;
    width: 60%; /* Responsive width */
    padding: 5%;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.position-relative .card {
    border: 1px solid #ffffff; /* Ensure no border */
}
.path-line {
    position: absolute;
    top: 50px;
    left: 50%;
    width: 3px;
    height: 300px; /* Adjust height for spacing */
    background-color: rgb(158, 158, 239);
    transform: translateX(-50%);
}

.circle {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: blue;
}

.left-circle {
    top: 50px; /* Position for B.Tech */
    left: 48.65%; /* Adjust position */
}

.right-circle {
    top: 210px; /* Position for Intermediate */
    left: 48.65%; /* Adjust position */
}

.left-circle-2 {
    top: 350px; /* Position for Secondary School */
    left: 48.65%;
}


.position-relative .card1 {
    float: left;
    margin-bottom: 30px;
}

.position-relative .card2 {
    float: right;
    margin-top: 120px;
    margin-left: 0;
    margin-right: 50px;
    border: none; /* Ensure no border */
}

.position-relative .card3 {
    top: 420px; /* Position for Secondary School */
    left: 49.36%;
    margin-top: 100px;
}

.position-relative .card  h5{
    font-size: 0.9rem;
}

.position-relative .card  p{
    font-size: 0.8rem;
}

.position-relative .card  h6{
    font-size: 0.8rem;
}

.position-relative .card  a{
    font: 0.8rem sans-serif;
}

/* Ensure cards are responsive */
@media (max-width: 768px) {
/*  .position-relative .left-circle,
    .position-relative .right-circle,
    .position-relative .left-circle-2,
    .position-relative .path-line{
        display: none;
    }*/
.position-relative{
    width: 90%;
}

    .circle{
        width: 12px;
        height: 12px;
        left: 48.45%;
    }
    .position-relative .left-circle{
        top: 100px;
    }
    .position-relative .left-circle-2{
        top: 350px;
    }
    .path-line{
        top: 100px;
        width: 1.5px;
        height: 250px;
    }

    .position-relative .card1, 
    .position-relative .card2, 
    .position-relative .card3 {
        height: 40%;
        width: 35%; /* Full width for smaller screens */
    }

    .position-relative .card2{
        margin-right: 10px;
    }
}

/* Responsive styles for medium screens (min-width: 768px and max-width: 992px) */
@media (min-width: 768px) and (max-width: 992px) {
    /* Navbar adjustments */
    .navbar {
        padding: 1rem;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .navbar-nav .nav-link {
        font-size: 1.1rem;
    }

    /* Home Section */
    #home .display-4 {
        margin-top: 70px;
        font-size: 2.5rem;
    }

    #home p.lead {
        font-size: 1.2rem;
    }

    /* About Section */
    #about .about-image {
        width: 250px; /* Adjust width for medium screens */
        height: 250px;
    }

    /* Skills Section */
    #skills .card {
        margin-bottom: 1.5rem;
    }

    /* Education Section */
    .card1, .card2, .card3 {
        margin-bottom: 2rem;
    }

    /* Projects Section */
    .project-slide {
        height: 300px; /* Maintain consistent height */
        background-size: cover;
        background-position: center;
    }

    /* Contact Section */
    #contact .form-label {
        font-size: 1.1rem;
    }

    #contact .btn {
        width: 100%; /* Make button full-width for better accessibility */
    }

    /* Footer */
    footer .text-center {
        font-size: 1rem;
    }
}

