body {
    font-family: 'Arial', sans-serif;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #ddd;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #3498db;
    top: 30px;
    border: 3px solid white;
}

.timeline-item.left::after {
    left: -16px;
}

.timeline-item.right::after {
    right: -16px;
}

.project img {
    max-width: 100%;
    height: auto;
}
.bg-pink {
    background-color: #ff69b4;
}

.bg-dark {
    background-color: #333;
}

.bg-gray {
    background-color: #ccc;
}

.skill-icon {
    width: 100px;
    height: auto;
}

.profile-card {
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.profile-icon {
    width: 50px;
    height: auto;
}

.social-icon {
    color: white;
    margin-left: 10px;
    font-size: 24px;
}
/* Full-page gradient background */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #ffffff, #ffffff, #d99946, #f1b640);
    background-size: 400% 400%;
    animation: gradientBackground 10s ease infinite;
    padding-top:50px; /* Adjust this value based on the height of your navbar */
}

/* Animation for the gradient background */
@keyframes gradientBackground {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
/* Gradient background for the navigation bar */
/* Fixed Navigation Bar */
.navbar {
    position:fixed;
    top:0;
    width: 100%;
    z-index: 1000; /* Ensures the navbar stays on top of other elements */
    background: linear-gradient(90deg, #0a0a0a, #232120);
    color: white;
}

.navbar-brand,
.nav-link {
    color: white !important;
}
/* Custom styles for the download button */
.btn-download {
    background: linear-gradient(90deg, #1484e6, #1484e6);
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    border-radius: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-download:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
/* Profile Image Styling */
.profile-image {
    width: 150px; /* Adjust size as needed */
    height: 150px;
    object-fit:fill; /* Ensures the image fits perfectly within the circle */
    border: 5px solid #fff; /* Adds a white border around the image */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow */
}

/* Download Button Styling */
.btn-primary {
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 20px; /* Makes the button pill-shaped */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.1); /* Slightly enlarges the button on hover */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Adds a hover effect */
}
/* Footer Icon and Text Styling */
footer p {
    margin: 0; /* Removes default margin */
    line-height: 1.5; /* Ensures consistent spacing */
}

footer i {
    margin-right: 5px; /* Adds a small gap between the icon and text */
}
/* Timeline Styling */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #ddd;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    position: relative;
    width: 45%;
    padding: 20px 40px;
    border-radius: 6px;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.timeline-item.left {
    left: 0;
    margin-right: 100px;
}

.timeline-item.right {
    right: 0;
    margin-left: 100px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #3498db;
    top: 30px;
    z-index: 1;
}

.timeline-item.left::after {
    left: 100%;
    margin-left: -10px;
}

.timeline-item.right::after {
    right: 100%;
    margin-right: -10px;
}

.year {
    display: block;
    font-size: 18px;
    color: #3498db;
    margin-bottom: 10px;
}

.timeline-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.timeline-item p {
    font-size: 14px;
    color: #777;
}
/* From Uiverse.io by wilsondesouza */ 
ul {
    list-style: none;
  }
  
  .example-2 {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .example-2 .icon-content {
    margin: 0 10px;
    position: relative;
  }
  .example-2 .icon-content .tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    font-size: 14px;
    transition: all 0.3s ease;
  }
  .example-2 .icon-content:hover .tooltip {
    opacity: 1;
    visibility: visible;
    top: -50px;
  }
  .example-2 .icon-content a {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #4d4d4d;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
  }
  .example-2 .icon-content a:hover {
    box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
  }
  .example-2 .icon-content a svg {
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
  }
  .example-2 .icon-content a:hover {
    color: white;
  }
  .example-2 .icon-content a .filled {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #000;
    transition: all 0.3s ease-in-out;
  }
  .example-2 .icon-content a:hover .filled {
    height: 100%;
  }
  
  .example-2 .icon-content a[data-social="linkedin"] .filled,
  .example-2 .icon-content a[data-social="linkedin"] ~ .tooltip {
    background-color: #0274b3;
  }
  
  .example-2 .icon-content a[data-social="github"] .filled,
  .example-2 .icon-content a[data-social="github"] ~ .tooltip {
    background-color: #24262a;
  }
  .example-2 .icon-content a[data-social="instagram"] .filled,
  .example-2 .icon-content a[data-social="instagram"] ~ .tooltip {
    background: linear-gradient(
      45deg,
      #405de6,
      #5b51db,
      #b33ab4,
      #c135b4,
      #e1306c,
      #fd1f1f
    );
  }
  .example-2 .icon-content a[data-social="youtube"] .filled,
  .example-2 .icon-content a[data-social="youtube"] ~ .tooltip {
    background-color: #ff0000;
  }

/* Contact Button Styling */
.btn-primary {
    background: linear-gradient(90deg, #1a1919, #070707);
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    border-radius: 30px; /* Makes the button pill-shaped */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.1); /* Slightly enlarges the button on hover */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Adds a hover effect */
}
.navbar {
    transition: transform 0.3s ease;
}
/* Custom styles for project cards */
/* Custom styles for project images */
.project-image {
    width: 100%; /* Ensures the image takes up the full width of its container */
    height: 200px; /* Set a consistent height for all images */
    object-fit: cover; /* Ensures the image covers the entire area while maintaining aspect ratio */
    border-radius: 15px; /* Optional: Adds rounded corners to the image */
}

.card {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: bold;
}

.card-text {
    font-size: 14px;
    color: #777;
}
/* Skills Section */
.bg-pink {
    background-color: #4488f5;
}

.skill-icon {
    width: 100px;
    height: auto;
}

/* Profiles Section */
.bg-dark {
    background-color: #333;
    color: white;
}

.profile-card {
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #d99946, #f1b640);
}

.profile-icon {
    width: 50px;
    height: auto;
}
.profile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-icon {
    color: white;
    margin-left: 10px;
    font-size: 24px;
}

/* Skills Section */
.bg-pink {
    background-color: #007bff; /* Change to desired color */
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2px;
}

.skill-icon {
    width: 80px;
    height: auto;
    margin-bottom: 1px;
}


.profile-card {
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #007bff, #007bff);
    margin: 20px;
}

.profile-content {
    display: flex;
    flex-direction: column;
    align-items:center;
}

.profile-icon {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
}

.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
    outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
}

textarea {
    resize: none;
}
/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form {
    animation: fadeIn 1s ease-in-out;
}

.form-group input,
.form-group textarea {
    animation: fadeIn 1s ease-in-out;
}
.btn-contact {
    background: linear-gradient(90deg, #1484e6, #1484e6);
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    border-radius: 20px; /* Makes the button pill-shaped */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-contact:hover {
    transform: scale(1.1); /* Slightly enlarges the button on hover */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Adds a hover effect */
}
/* Add these media queries at the end of your CSS file */

/* Medium devices (tablets, 768px and down) */
@media (max-width: 768px) {
    /* Navigation adjustments */
    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-nav {
        text-align: center;
    }

    /* About section adjustments */
    #about .col-md-6 {
        margin-bottom: 30px;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    /* Social icons adjustments */
    .example-2 {
        justify-content: center;
        margin-top: 20px;
    }

    .example-2 .icon-content {
        margin: 5px;
    }

    .btn-contact {
        margin-top: 15px;
    }

    /* Timeline adjustments */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        margin: 0 0 50px 0;
    }

    .timeline-item::after {
        left: 18px;
    }

    /* Projects section adjustments */
    .project-image {
        height: 150px;
    }

    /* Skills section adjustments */
    .skill-item {
        margin-bottom: 20px;
    }

    .skill-icon {
        width: 70px;
    }

    /* Profiles section adjustments */
    .profile-card {
        margin-bottom: 20px;
    }
}

/* Small devices (phones, 480px and down) */
@media (max-width: 480px) {
    /* Navigation adjustments */
    .navbar-brand {
        font-size: 1rem;
    }

    /* About section adjustments */
    .profile-image {
        width: 100px;
        height: 100px;
    }

    h3 {
        font-size: 1.2rem;
    }

    /* Download button adjustments */
    .btn-download {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* Timeline adjustments */
    .timeline-item {
        padding-left: 50px;
    }

    .timeline-item::after {
        width: 15px;
        height: 15px;
    }

    /* Contact form adjustments */
    .contact-form {
        padding: 15px;
    }

    input, textarea {
        padding: 10px;
    }

    /* Footer adjustments */
    footer p {
        font-size: 0.9rem;
    }

    /* Project cards adjustments */
    .card-title {
        font-size: 1rem;
    }

    .card-text {
        font-size: 0.8rem;
    }
}

/* Add this to fix mobile viewport scaling */
@viewport {
    width: device-width;
    zoom: 1.0;
}
/* Charity Section */
.bg-charity {
    background: linear-gradient(135deg, #18a44b, #076f18);
    color: white;
}

.qr-code {
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-charity {
    background: linear-gradient(90deg, #1484e6, #1484e6);
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    border-radius: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.qr-code {
    max-width: 300px;
    margin: 0 auto 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.timeline-item.right::after {
    right: -16px; /* Fixed typo in class name */
}

.btn-charity:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
