/* General Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}
body {
    background-color: #f7f8fc;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    min-height: 100vh;   /* Ensure body fills at least the viewport height */
    display: flex;
    flex-direction: column; /* Align elements vertically */
    
}
html {
    overflow-x: hidden; 
}

/* Ensure body takes full height and pushes footer to bottom */
main {
    flex: 1;
}

/* Footer Section */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    width: 100%;
}

/* Header Section */
.main-header {
    background-color: #333; /* Dark background */
    padding: 15px 0;
    position: fixed; /* Keeps it fixed at the top */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex; /* Ensures flex layout for horizontal arrangement */
    justify-content: space-between; /* Puts logo on the left and nav on the right */
    align-items: center;
}

/* Wrapper to contain the header content */
.wrapper {
    width: 100%; /* Removes any extra margins */
    display: flex;
    justify-content: space-between; /* Aligns logo left & nav right */
    align-items: center;
    padding: 0 20px; /* Keeps some space between content and screen edges */
}

/* Logo & Name */
.logo {
    display: flex;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    justify-content: flex-start; /* Aligns logo to the left */
    flex: 1; /* Ensures it takes the left side space */
    padding-left: 0;
}

.logo i {
    font-size: 1.8rem;
    margin-right: 10px;
}

.hamburger {
    display: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

/* Navigation */
.navlinks {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    justify-content: flex-end; /* Aligns nav items to the right */
    flex: 2; /* Ensures the nav links take the right side space */
    padding-right: 0; /* Removes padding */
}
.navlinks.active {
    right: 0;
}

/* Navigation Links */
.navlinks li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease-in-out;
    padding: 5px;
}

.navlinks li a:hover {
    color: #00c6ff;
}

@media (max-width: 768px) {
    .navlinks {
        position: fixed;
        top: 0;
        bottom: 0; /* Ensure it stretches to the full height */
        right: -100%; /* Start hidden offscreen */
        width: 180px;
        background-color: rgba(0, 0, 0, 0.95); /* Slightly darker for better visibility */
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Align links to the left */
        justify-content: flex-start; /* Align content at the top */
        padding: 60px 20px;
        transition: right 0.3s ease;
        z-index: 1200; /* Ensure it's on top of other elements */
    }

    .navlinks.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 30px;
        color: white;
        cursor: pointer;
        z-index: 1300;
    }
}

.main-content{
    background: linear-gradient(135deg, #1f1f1f, #007ced);  /* Gradient background */
    padding: 120px 20px 60px 20px; /* Extra padding for spacing */
    color: #fff;
}
.main-content h2 {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(90deg, #007bff, #00c6ff);
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin: 20px auto;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
    transition: transform 0.2s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer; /* Makes it clear that it's clickable */
    text-decoration: none; /* Remove underline */
}

.main-content a {
    text-decoration: none; /* Ensures no default underline */
}

.main-content h2:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

/* About Me Section */
.about-header {
    background: linear-gradient(135deg, #1f1f1f, #007ced);  /* Gradient background */
    padding: 120px 20px 60px 20px; /* Extra padding for spacing */
    color: #fff;
    animation: fadeIn 2s ease-in-out; /* Fade-in animation for the whole about section */
    position: relative;
    display: flex;
    justify-content: center; /* Horizontally center content */
    align-items: center; /* Vertically center content */
    height: 100vh; /* Full viewport height */
    overflow: hidden;
    flex-direction: column; 
    text-align: center; /* Center the text */
}

/* About Me Image Styling */
.about-pic {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    animation: bounceIn 2s ease-in-out;
    margin-bottom: 20px;
    opacity: 1;  /* Ensure no unwanted opacity */
}
@media (max-width: 600px) {
    .about-pic {
        width: 200px; /* Adjust the image size for small screens */
        height: 200px; /* Maintain aspect ratio */
        max-width: 250px; /* Prevent the image from getting too large */
        max-height: 250px; /* Prevent height from growing too large */
        margin: 0 auto; /* Center the image horizontally */
    }
}

/* About Me Image inside .about-pic */
.about-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hover effect for the image */
.about-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
}

/* About Me Text Styling */
.about-text {
    max-width: 600px; /* Limit the width of the text */
    margin: 2rem auto; /* Center the text horizontally */
    animation: fadeInText 1.5s ease-in-out; /* Fade-in effect for the text */
}

.about-text .dynamic-text {
    color: #00c6ff;
    font-size: 1.3rem;
    font-weight: bold;
}

/* Buttons Styling */
.btn-group {
    display: flex;
    justify-content: center;
    gap: 1rem; /* Add space between buttons */
    margin-top: 2rem;
}

.btn-group .btn {
    padding: 10px 20px;
    background: #fff;
    color: #007ced;
    border: 2px solid #007ced;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-group .btn:hover {
    background: #007ced;
    color: white;
}





/* Social Icons Container */
.social-bar {
    position: fixed; /* Fixed position on the right */
    top: 50%; /* Center vertically */
    right: 20px; /* 20px from the right */
    transform: translateY(-50%); /* Center it vertically */
    z-index: 9999; /* Ensure the social icons are above everything */
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto; /* Make sure icons are clickable */
}

/* Social Media Icons Styling */
.social-bar a {
    font-size: 40px;         /* Bigger icon size */
    margin-bottom: 20px;     /* More space between icons */
    text-decoration: none;   /* Remove underline */
    transition: all 0.3s ease; /* Smooth hover effect */
}

/* Colors for each social platform */
.social-bar a.linkedin {color: #fff;}  
.social-bar a.github { color: #333;}  
.social-bar a.instagram { color: #e4405f;}  /* Instagram */
.social-bar a.twitter { color: #1da1f2;}    /* Twitter */
.social-bar a.facebook {color: #fff;}    

/* Hover Effect */
.social-bar a:hover {
    transform: scale(1.3);    /* Slightly enlarge icons */
    filter: brightness(1.3);  /* Make icons brighter on hover */
}

/* Adjust for Mobile Screens */
@media (max-width: 768px) {
    .social-bar {
        right: 10px; /* Keep icons away from screen edge */
        top: 60%; /* Lower icons for better visibility */
    }

    .social-bar a {
        font-size: 24px; /* Smaller icons for mobile */
        margin-bottom: 12px;
    }

    body.nav-open .social-bar {
        display: none;
    }
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInText {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}





.vlog-section {
    text-align: center;
    padding: 60px 20px;
    background: #121212; /* Dark background for better contrast */
    color: #f0f0f0; /* Light text color */
    border-bottom: 3px solid #444; /* Soft bottom border */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6); /* Subtle shadow */
}

/* Vlog Title */
.vlog-title {
 
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9e8cfd; /* Elegant purple for title */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4); /* Soft text shadow */
    font-size: clamp(1.5rem, 5vw, 2.8rem); /* Scales between 1.5rem and 2.8rem */
    text-align: center;
    margin-bottom: 15px;
}

/* Vlog Subtitle */
.vlog-subtitle {
    font-size: 1.3rem;
    color: #ceb4d6; /* Softer gray for subtitle */
    margin-bottom: 40px;
    font-style: italic;
}

/* Vlog Grid Layout */
.vlog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 30px;
    max-width: 1300px;
    margin: auto;

}

/* Vlog Card Styling */
/* Vlog Card Styling */
.vlog-card {
    position: relative;
    background : rgba(255, 255, 255, 0.08); /* Slightly off-white for card */
    background-color: #0c4cec3f;
    backdrop-filter: blur(8px); /* Subtle blur */
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column; /* Stack content vertically */
    justify-content: space-between; /* Make space between content and button */
    height: 589px; /* Set a fixed height for consistency */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); /* Subtle card shadow */
}

/* Align button at the bottom of the card */
.vlog-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Space between description and button */
    flex-grow: 1; /* Allow content to fill the space */
}

/* Card Heading */
.vlog-content h3 {
    margin-bottom: 20px; /* Add margin to separate from text */
    font-size: 1.7rem;
    color: #b174ae;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 1px;
}

/* Card Paragraph */
.vlog-content p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.6;
    font-style: italic;
}


.vlog-content .btn {
    align-self: center; 
    margin-top: auto; 
    padding: 12px 18px;
    background: #acaab7;
    color: white;
    border-radius: 30px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease-in-out;
    font-size: 1.1rem;
    
}


.vlog-content .btn {
    margin-top: auto;
    margin-top: 15px; 
    align-self: center; 
}


/* Hover Effect */
.vlog-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 12px 40px rgba(0, 198, 255, 0.4); 
    background: rgba(0, 198, 255, 0.05);
}

/* Glow Effect */
.vlog-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(255, 255, 255, 0.05)); /* Soft glowing effect */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vlog-card:hover::before {
    opacity: 1;
}



.btn:hover {
    background: #45782a; /* Slightly darker shade on hover */
    transform: translateY(-5px); /* Button lift effect */
}


.vlog-section {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 1024px) {
    .vlog-title {
        font-size: 2.5rem;
    }
    .vlog-subtitle {
        font-size: 1.2rem;
    }
   
    .vlog-grid {
        grid-template-columns: repeat(1, 1fr);
        justify-content: center;
        
    }
}

@media (max-width: 768px) {
    .vlog-title {
        font-size: 1.8rem;
    }
    .vlog-subtitle {
        font-size: 1.1rem;
    }
    .vlog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        justify-content: center;
    }
    .vlog-card {
        height: auto;
        padding: 25px;
    }
    .vlog-content h3 {
        font-size: 1.5rem;
    }
    .vlog-content p {
        font-size: 1rem;
    }
    .vlog-content .btn {
        font-size: 1rem;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    
    .main-content .vlog-title{
        font-size: 1.2rem;
        line-height: 1.2;

    }
    .vlog-subtitle {
        font-size: 1rem;
    }
    .vlog-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 15px;
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
    }
    .vlog-card {
        padding: 20px;
        width: 100%;
        max-width: 280px;
    }
    .vlog-content h3 {
        font-size: 1.4rem;
    }
    .vlog-content p {
        font-size: 0.95rem;
    }
    .vlog-content .btn {
        font-size: 0.9rem;
        padding: 8px 14px;
    }
}




.mini-portfolio {
    text-align: center;
    padding: 50px 20px;
    background: #5137a076;
    color: #f8f8f8;
    border-radius: 20px; /* Soft rounded corners */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); /* Subtle shadow */
    max-width: 1100px;
    margin: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 50px;
    margin-top: 50px;
}


/* Add a hover effect for a slight pop-up */
.mini-portfolio:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Make sure everything inside is well-spaced */
.mini-portfolio .mini-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffbf69; /* Eye-catching color */
    margin-bottom: 15px;
}

.mini-portfolio .mini-subtitle {
    font-size: 1.2rem;
    color: #ddd;
    margin-bottom: 30px;
    font-style: italic;
}


.mini-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #9e8cfd;
}

.mini-subtitle {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 30px;
}

.mini-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: auto;
}

.mini-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    padding: 20px;
    border-radius: 12px;
    width: 280px;
    text-align: center;
    transition: transform 0.3s ease;
}

.mini-card img {
    width: 100%;
    border-radius: 10px;
}

.mini-card h3 {
    font-size: 1.3rem;
    margin: 15px 0;
    color: #ff9b80;
}

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

.mini-btn {
    display: inline-block;
    padding: 10px 18px;
    background: #7f6df2;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
}

.mini-btn:hover {
    background: #5a4bc8;
}

.mini-view-more {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 22px;
    background: #00c6ff;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
}

.mini-view-more:hover {
    background: #0086b3;
    transform: translateY(-3px);
}


/* Responsive Design for Small Screens */
@media (max-width: 1024px) {
    .mini-portfolio {
        max-width: 90%;
        padding: 40px 15px;
        border-radius: 15px;
    }

    .mini-portfolio .mini-title {
        font-size: 1.2rem;
       
    }
    

    .mini-subtitle {
        font-size: 1rem;
    }

    .mini-grid {
        max-width: 100%;
        gap: 15px;
    }

    .mini-card {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .mini-portfolio {
        padding: 30px 10px;
        border-radius: 12px;
    }

    .mini-title {
        font-size: 1.8rem;
    }

    .mini-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .mini-card {
        width: 100%;
        max-width: 250px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .mini-portfolio {
        padding: 25px 8px;
        border-radius: 10px;
    }

    .mini-title {
        font-size: 1.2rem;
    }

    .mini-subtitle {
        font-size: 0.9rem;
    }

    .mini-card {
        width: 100%;
        max-width: 230px;
        padding: 12px;
    }
}




.certificates {
    padding: 50px 20px;
    text-align: center;
}

.certificates h2 {
    font-size: 2.0rem;
    color: #333;
    margin-bottom: 20px;
}

.certificates p {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 40px;
}

/* Background ONLY for the certificates container */
.certificate-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.05); /* Light background */
    padding: 30px;
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

/* Styling for each individual certificate card */
.certificate-card {
    width: calc(33.333% - 20px); /* 3 cards per row */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: rgba(56, 43, 146, 0.311); /* White card background */
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Light shadow */
    border: 1px solid rgba(0, 0, 0, 0.1); /* Light border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.certificate-image {
    width: 90%; /* Ensures image stays within card */
    height: auto; /* Keep aspect ratio */
    object-fit: contain; /* No cropping */
    padding-top: 10px;
    margin-bottom: 15px;
}

.main content .certificate h2{
    font-size: 2.2rem;
}

.certificate-info h5 {
    color: #ccb5b5; 
}

.certificate-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.certificate-description {
    font-size: 1rem;
    color: #777;
    margin-bottom: 15px;
    line-height: 1.5;
}

.certificate-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Ensures spacing */
    flex-grow: 1; /* Makes sure all cards expand equally */
    height: 100%; /* Ensures equal height for all cards */
}

.certificate-btn {
    margin-top: auto; /* Pushes the button to the bottom */
    display: inline-block;
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}


.certificate-btn:hover {
    background-color: #0056b3;
}

/* Responsive design */
@media (max-width: 1200px) {
    .certificate-card {
        width: calc(50% - 20px); /* 2 cards per row on medium screens */
    }
}

@media (max-width: 768px) {
    .certificate-card {
        width: calc(100% - 20px); /* 1 card per row on small screens */
    }
}

@media (max-width: 480px) {
    .certificates h2 {
        font-size: 1.5rem;
    }

    .certificates p {
        font-size: 0.95rem;
    }

    .certificate-gallery {
        gap: 10px;
    }

    .certificate-card {
        max-width: 280px;
        padding: 10px;
    }

    .certificate-image {
        max-width: 150px;
    }

    .certificate-title {
        font-size: 1rem;
    }

    .certificate-description {
        font-size: 0.8rem;
    }
}














/* Newsletter Section */
.newsletter {
    text-align: center;
    padding: 60px 20px;
    background: none; /* No harsh sections, seamless integration */
    color: #f5f5f5;
    max-width: 800px;
    margin: 50px auto 0 auto;
}

/* Title */
.newsletter-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #00c6ff;
    margin-bottom: 10px;
}

/* Subtitle */
.newsletter-text {
    font-size: 1.2rem;
    color: #cfcfcf;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Form */
.newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Input */
.newsletter-form input {
    padding: 14px 18px;
    font-size: 1rem;
    border-radius: 50px;
    border: 2px solid #00c6ff;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 60%;
    min-width: 250px;
    outline: none;
    transition: 0.3s;
}

.newsletter-form input:focus {
    border-color: #fff;
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.5);


}

/* Button */
.newsletter-form button {
    padding: 14px 20px;
    font-size: 1rem;
    border-radius: 50px;
    border: none;
    background: #00c6ff;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #0096c7;
    transform: translateY(-3px);
}

/* Privacy Note */
.newsletter-note {
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 15px;
    font-style: italic;
}
.subscribe-message {
    font-size: 1.2rem;
    margin-top: 20px;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}
/* Responsive */
@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

.subscribe-message {
    font-size: 1.2rem;
    margin-top: 20px;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    text-align: center;
}



























/* === Portfolio Wrapper - Adds More Space from Header === */
.portfolio-wrapper {
    padding-top: 100px; /* Increased spacing from the header */
    text-align: center;
}

/* === Portfolio Title & Subtitle - Centered & Styled === */
.portfolio-title {
    font-size: 3rem;
    font-weight: bold;
    color: #007ced; /* Changed color */
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    animation: fadeInDown 1s ease-in-out; /* Title Animation */
}

/* Underline effect under the title */
.portfolio-title::after {
    content: "";
    width: 60%;
    height: 4px;
    background: #007ced;
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Subtitle Styling */
.portfolio-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #444;
    font-style: italic;
    animation: fadeInUp 1s ease-in-out; /* Subtitle Animation */
}

/* === Portfolio Grid - Larger and More Spacious === */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Increased min size */
    gap: 30px; /* More space between items */
    padding: 40px;
    max-width: 1200px; /* Increased max width */
    margin: 0 auto;
}

/* === Portfolio Items - Modern Look === */
.portfolio-item {
    background: linear-gradient(135deg, #007ced, #005bb5); /* Gradient effect */
    color: white;
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease-in-out;
}

/* Hover Effects */
.portfolio-item:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

/* === Portfolio Images - Bigger & Styled === */
.portfolio-item img {
    width: 100%;
    max-height: 250px; /* Bigger images */
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

/* Image Hover Effect */
.portfolio-item:hover img {
    transform: scale(1.1);
}

/* === View Project Button - Styled & Animated === */
.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 20px;
    background: white;
    color: #007ced;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s, transform 0.2s;
}

.btn:hover {
    background: #005bb5;
    color: white;
    transform: scale(1.1);
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* responsicve for the portfoloio */


@media only screen and (max-width: 758px) {

    .portfolio-wrapper {
        padding-top: 100px; /* Increased spacing from the header */
        text-align: center;
    }
  
    /* === Portfolio Title & Subtitle - Centered & Styled === */
    .portfolio-title {
        font-size: 2rem; /* Adjusted for mobile */
    }
  
    .portfolio-subtitle {
        font-size: 1.2rem; /* Adjusted for mobile */
    }
  
    /* === Portfolio Grid - Larger and More Spacious === */
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjusted min size for mobile */
        gap: 20px; /* Less space between items for mobile */
        padding: 20px; /* Reduced padding */
        max-width: 100%; /* Full width for smaller screens */
    }
  
    /* === Portfolio Items - Modern Look === */
    .portfolio-item {
        padding: 20px; /* Reduced padding */
        border-radius: 10px; /* Reduced border radius */
    }
  
    /* === Portfolio Images - Bigger & Styled === */
    .portfolio-item img {
        max-height: 200px; /* Adjusted image size for mobile */
    }
  
    /* === View Project Button - Styled & Animated === */
    .btn {
        padding: 10px 18px; /* Adjusted padding for mobile */
    }
  
  }

  

/* === Skills Section === */
.skills {
    padding: 80px 20px;
    background-color: #f4f4f9; /* Light gray background for a clean, classic look */
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

/* Skills Title */
.skills h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50; /* Classic deep blue-gray */
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    opacity: 0;
    animation: floatIn 1.5s ease-out forwards, glowPulse 3s infinite alternate;
}

/* 3D Floating Effect */
.skills h2::before {
    content: attr(data-text); /* Creates a duplicate text */
    position: absolute;
    top: 0;
    left: 0;
    color: rgba(44, 62, 80, 0.3);
    transform: translate(-4px, -4px);
    z-index: -1;
    transition: transform 0.3s ease-in-out;
}

.skills h2:hover::before {
    transform: translate(-2px, -2px);
}

/* Elegant Shimmer Animation */
.skills h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #2c3e50, #6D9DC5);
    transform: translateX(-50%);
    animation: shimmer 2s infinite;
}

/* Keyframes */
@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes glowPulse {
    0% {
        text-shadow: 0 0 10px rgba(52, 152, 219, 0.2);
    }
    100% {
        text-shadow: 0 0 20px rgba(52, 152, 219, 0.4);
    }
}

@keyframes shimmer {
    0% { width: 0; opacity: 0.5; }
    50% { width: 100%; opacity: 1; }
    100% { width: 0; opacity: 0.5; }
}




/* Skills Container (Grid Layout for Flexibility) */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Flexible Grid */
    gap: 30px;
    justify-items: center;
    margin-top: 40px;
    padding-bottom: 40px;
}

/* Skill Category */
.skill-category {
    background: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 350px;
    text-align: left;
}

.skill-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

/* Skill Category Title */
.skill-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #34495e; /* Darker gray-blue for category titles */
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Icons in Skill Category */
.skill-category h3 i {
    color: #7f8c8d; /* Soft muted gray for icons */
    font-size: 1.8rem;
}

/* Skill Item */
.skill {
    margin-bottom: 20px;
}

/* Skill Name */
.skill span {
    font-size: 1.2rem;
    color: #34495e; /* Dark gray for the skill names */
    font-weight: 500;
}

/* Progress Bar Container */
.progress {
    margin-top: 10px;
    background-color: #bdc3c7; /* Light gray for the background of the progress bar */
    border-radius: 8px;
    height: 8px;
    overflow: hidden;
}

/* Progress Bar */
.bar {
    height: 100%;
    border-radius: 8px;
    transition: width 0.5s ease-in-out;
}

/* Skill Category Bar Color */
.skill-category .skill:nth-child(1) .bar {
    background: linear-gradient(to right, #2980b9, #3498db); /* Classic blue for programming */
}

.skill-category .skill:nth-child(2) .bar {
    background: linear-gradient(to right, #e74c3c, #c0392b); /* Deep red for web development */
}

.skill-category .skill:nth-child(3) .bar {
    background: linear-gradient(to right, #2ecc71, #27ae60); /* Rich green for UI/UX */
}

.skill-category .skill:nth-child(4) .bar {
    background: linear-gradient(to right, #f39c12, #e67e22); /* Warm yellow for multimedia */
}

/* Hover Effects */
.skill-category:hover .bar {
    background-color: #95a5a6; /* Subtle change to a muted gray on hover */
}



.work-experience {
    padding: 40px;
    background: #f7f7f7;
    border-radius: 15px;
    margin-top: 50px;
    text-align: center;
}

.work-experience h2 {
    font-size: 2.3rem;
    font-weight: 600;
    color: #1C2833; /* Dark navy for a strong, authoritative presence */
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 4px solid transparent;
    animation: fadeInSlide 1.2s ease-in-out;
}

.work-experience h2::before {
    content: "💼"; /* Briefcase icon for professionalism */
    font-size: 2rem;
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    animation: slideInBriefcase 1.2s ease-in-out;
}

.work-experience h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background: linear-gradient(to right, #FFD700, transparent);
    transition: width 0.5s ease-in-out;
}

.work-experience h2:hover::after {
    width: 100%;
    left: 0;
}

@keyframes fadeInSlide {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideInBriefcase {
    0% { left: -80px; opacity: 0; }
    100% { left: -50px; opacity: 1; }
}




.work-experience h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #8B0000; /* Deep crimson for a professional, authoritative look */
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.work-experience h3::before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    height: 4px;
    background: linear-gradient(to right, #8B0000, transparent);
    transition: width 0.5s ease-in-out;
}

.work-experience h3:hover::before {
    width: 100%;
}


.work-experience .timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.work-experience .timeline-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

.work-experience .timeline-item:hover {
    background: #ffecf4;
    transform: translateX(10px);
}


/* Education Section */
.education {
    background: linear-gradient(135deg, #ffe0b3, #ff9a8b); /* Soft gradient background */
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    margin-top: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* Subtle Animation for Background */
.education::before {
    content: '';
    position: absolute;
    top: -15%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: #ff5f6d;
    animation: backgroundMove 5s linear infinite;
    opacity: 0.07;
}

/* Smaller Background Animation */
@keyframes backgroundMove {
    0% {
        transform: translateX(-50%) translateY(-50%);
    }
    50% {
        transform: translateX(50%) translateY(50%);
    }
    100% {
        transform: translateX(-50%) translateY(-50%);
    }
}

/* Section Title */
.education h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 30px;
    position: relative;
    font-weight: bold;
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease-in-out;
}

/* Reduced Animation for Section Title */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Education Cards */
.education .edu-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    margin: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    z-index: 1;
    animation: slideUp 0.4s ease-out;
}

/* Slight Hover Effect */
.education .edu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Animation for Education Cards */
@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Education Card Title */
.edu-item h4 {
    font-size: 1.5rem;
    color: #ff6347;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Education Details */
.edu-item p {
    font-size: 1rem;
    color: #333;
    line-height: 1.4;
}

/* Adding some hover animations for more effect */
.edu-item i {
    font-size: 1.5rem;
    color: #ff6347;
    margin-right: 8px;
}

/* Adding a cool hover animation to the icon */
.edu-item i:hover {
    transform: rotate(180deg);
    transition: transform 0.4s ease;
}

/* Responsive Design for Small Screens */
@media (max-width: 768px) {
    .education {
        padding: 30px 20px;
    }

    .edu-item {
        margin: 10px 0;
    }
}



/* Certifications */
.certifications {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
    text-align: center;
}
.certifications h2 {
    font-size: 2.3rem;
    font-weight: 600;
    color: #34495e; /* Cool, deep slate gray */
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
    overflow: hidden;
    display: inline-block;
    animation: textAnimation 1s ease-out;
}

.certifications h2::before {
    content: "📜";
    font-size: 2.2rem;
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%) rotate(25deg);
    animation: slideInIcon 1.2s ease-out;
    opacity: 0;
}

.certifications h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background-color: #f39c12; /* Bold golden color */
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.5s ease-in-out;
}

.certifications h2:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.certifications h2:hover {
    color: #f39c12; /* Golden text color on hover */
}

@keyframes textAnimation {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(10px);
        opacity: 0.7;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInIcon {
    0% {
        opacity: 0;
        left: -80px;
    }
    100% {
        opacity: 1;
        left: -60px;
    }
}


.certifications .certificate {
    background: #f9f9f9;
    border: 2px solid #f0e5f7;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.certifications .certificate:hover {
    background: #f7e4ff;
    transform: translateY(-8px);
}

.certifications h3 {
    font-size: 1.8rem;
    color: #c839b0;
}

/* Language Skills */
.language-skills {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    margin-top: 50px;
    text-align: center;
}
.language-skills h2 {
    font-size: 2.3rem;
    font-weight: 600;
    color: #154360; /* Deep blue for a sophisticated, confident feel */
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    border-bottom: 4px solid transparent;
    transition: color 0.5s ease-in-out;
    animation: fadeInSlide 1.2s ease-in-out;
}

.language-skills h2::before {
    content: "🗣️"; /* Speaking icon for language skills */
    font-size: 2rem;
    position: absolute;
    left: -45px;
    top: 50%;
    transform: translateY(-50%);
    animation: slideInIcon 1.2s ease-in-out;
}

.language-skills h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background: linear-gradient(to right, #FFD700, transparent);
    transition: width 0.5s ease-in-out;
}

.language-skills h2:hover {
    color: #1A5276; /* Slightly darker blue on hover for a premium feel */
}

.language-skills h2:hover::after {
    width: 100%;
    left: 0;
}

@keyframes fadeInSlide {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideInIcon {
    0% { left: -80px; opacity: 0; }
    100% { left: -45px; opacity: 1; }
}




.language-skills h3 {
    color: #1e88e5;
    font-size: 2rem;
    margin-bottom: 30px;
}

.language-skills ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.language-skills li {
    background: #f5f8ff;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease-in-out;
}

.language-skills li:hover {
    transform: translateX(10px);
}

/* Volunteering */
.volunteering {
    background: #e3f2fd;
    padding: 40px;
    border-radius: 15px;
    margin-top: 50px;
    text-align: center;
}

.volunteering h2 {
    font-size: 2.3rem;
    font-weight: 600;
    color: #1e88e5; /* Soft blue for a calm yet impactful feel */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    display: inline-block;
    text-align: center;
}

.volunteering h2::before {
    content: "🤝";
    font-size: 2.5rem;
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    animation: slideInIconVolunteering 1.2s ease-out;
    opacity: 0;
}

.volunteering h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background-color: #8e44ad; /* Vibrant purple color */
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.5s ease-in-out;
}

.volunteering h2:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.volunteering h2:hover {
    color: #8e44ad; /* Change to purple when hovered */
}

@keyframes slideInIconVolunteering {
    0% {
        opacity: 0;
        left: -70px;
    }
    100% {
        opacity: 1;
        left: -50px;
    }
}

.volunteering .volunteer-item {
    background: #ffffff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.volunteering h3 {
    font-size: 1.6rem;
    color: #1e88e5;
    margin-bottom: 30px;
}

.volunteering p {
    color: #333;
    font-size: 1rem;
}

/* Achievements */
.achievements {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    margin-top: 50px;
    text-align: center;
}
/* Achievements Section Header */
.achievements h2 {
    font-size: 2.3rem;
    font-weight: 600;
    color: #f39c12; /* Golden yellow color to represent success */
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 20px;
    display: inline-block;
    text-align: center;
    overflow: hidden; /* Ensure no content is spilling out */
}

/* Golden Underline with Hover Effect */
.achievements h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background-color: #f39c12; /* Golden underline */
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.4s ease-in-out;
}

/* Hover Animation for Underline */
.achievements h2:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Trophy Icon Animation */
.achievements h2::before {
    content: "🏆";
    font-size: 3rem;
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    opacity: 0;
    animation: trophyBounce 1s ease-out forwards;
}

/* Bounce Animation for the Trophy Icon */
@keyframes trophyBounce {
    0% {
        opacity: 0;
        transform: translateY(-50%) rotate(45deg) scale(0);
    }
    60% {
        opacity: 1;
        transform: translateY(-50%) rotate(45deg) scale(1.2);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) rotate(45deg) scale(1);
    }
}

/* Hover Color Change */
.achievements h2:hover {
    color: #e67e22; /* Darker shade of orange for hover */
}


.achievements .achievement-item {
    background: #f0f5ff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease-in-out;
}

.achievements .achievement-item:hover {
    background: #e0f7fa;
    transform: translateX(8px);
}

/* Hobbies */

.hobbies {
    padding: 50px 30px;
    background-color: #f0f8ff;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
}

/* Center the title */
.hobbies h3 {
    font-size: 2.3rem;
    font-weight: 600;
    color: #1e3d58; /* Dark blue color for a refined look */
    letter-spacing: 1.5px;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    padding-bottom: 10px;
}

.hobbies h3::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #4682b4; /* Steel blue for the underline */
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.4s ease-in-out;
}

.hobbies h3:hover::before {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Displaying hobby items in a grid format */
.hobby-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Grid layout with flexible column width */
    gap: 20px;
    justify-items: center;
}

/* Individual hobby item styling */
.hobby-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    width: 200px; /* Fixed width for the hobby items */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: #555;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease-in-out;
    opacity: 0;
    animation: fadeIn 1s forwards;
}

/* Icon styling */
.hobby-item i {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 10px;
    transition: transform 0.4s ease-in-out;
}

/* Hover effect for hobby items */
.hobby-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: #f8f9fa;
}

.hobby-item:hover i {
    transform: rotate(20deg);
    color: #00c6ff;
}

/* Animations for fadeIn */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Animation for fadeInUp effect */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .hobbies h3 {
        font-size: 1.6rem; /* Further reduce font size for very small screens */
        margin-bottom: 20px;
    }

    .hobby-list {
        grid-template-columns: repeat(2, 1fr);  /* Stack hobbies in a single column */
        gap: 10px;
        padding: 0 5px; /* Adjust padding for very small screens */
    }

    .hobby-item {
        width: 100%; /* Ensure hobby items take full width */
        font-size: 0.9rem; /* Smaller text size */
        padding: 15px;
    }

    .hobby-item i {
        font-size: 2rem; /* Smaller icons for very small screens */
    }
}


@media (max-width: 768px) {
    /* General Section Padding Adjustments */
    .work-experience, .education, .certifications, .language-skills, .volunteering, .achievements {
        padding: 20px 15px; /* Uniform padding for all sections */
    }

    /* Skill Titles Font Adjustments */
    .skill h2 {
        font-size: 1.4rem;
    }

    .hobbies h2 {
        font-size: 1.6rem;
    }

    /* Adjusting font sizes for better readability */
    .work-experience h2, .education h3, .certifications h2, .language-skills h2, .volunteering h2, .achievements h2 {
        font-size: 1.6rem; /* Smaller font size for mobile */
    }

    /* Skills Section - Adjust Grid Layout */
    .skills-container {
        grid-template-columns: 1fr; /* Stack items vertically on very small screens */
        padding: 0 10px; /* Adjust padding for smaller screens */
    }

    .skills-container .skill-item {
        width: 100%; /* Ensure no overflow */
        margin-bottom: 15px; /* Space between items when stacked */
    }
    
    /* Hobbies Section Adjustments */
    .hobbies-container {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Two columns for small screens */
        gap: 10px;
        padding: 10px 0;
    }

    .hobbies .hobby-item {
        padding: 10px;
        text-align: center;
        background-color: #f4f4f9;
        border-radius: 8px;
    }

    /* Icons Adjustments */
    .skills h2::before, .certifications h2::before, .language-skills h2::before, .volunteering h2::before {
        font-size: 1.8rem; /* Smaller icon size */
    }

    /* Adjust the Timeline Items for Work Experience */
    .work-experience .timeline-item {
        padding: 15px 18px; /* Adjusted padding */
    }

    /* Responsiveness for the Certification Section */
    .certifications .certificate {
        padding: 15px 18px; /* Reduced padding */
    }

    /* Ensure no horizontal scroll on the body */
    body {
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }
}
@media (max-width: 480px) {
    .skills-container {
        grid-template-columns: 1fr; /* Stack items vertically on very small screens */
        padding: 0 10px; /* Adjust padding for smaller screens */
    }

    .skills-container .skill-item {
        margin-bottom: 15px; /* Space between stacked items */
    }
}










/* Blog Section Styling */
/* Blog Section Styling */
.blog {
    padding: 40px 10%;
    background: #f4f4f9;
    font-family: 'Arial', sans-serif;
    border-radius: 12px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

/* Title Styling */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: #007bff;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-top: 30px;
}


/* Description Styling */
.blog-description {
    font-size: 1.2rem;
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Main Content Styling */
.blog-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    
}

/* Text Styling */
.blog-text {
    width: 55%;
}

.blog-details {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
}


.meta-line {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;    /* gives breathing space */
}

.meta-line .date {
    font-size: 0.78rem;
    color: #6033a0;
    opacity: 0.85;          /* softens color, more elegant */
    letter-spacing: 0.3px;  /* premium, subtle spacing */
}


/* Quote Styling */
.quote {
    font-size: 1.2rem;
    font-style: italic;
    color: #007bff;
    text-align: center;
    margin-top: 20px;
    font-weight: 600;
}

/* Blog Image Styling */
.blog-image {
    width: 45%;
    position: relative;
    
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.blog-image:hover img {
    transform: scale(1.05); /* Zoom effect on hover */
}

/* Image Slider Styling */
.slider-container {
    width: 100%;
    max-width: 600px; /* Adjust as needed */
    height: 400px; /* Keeps a fixed height */
    position: relative;
    overflow: hidden; /* Hides other images */
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.slider-images {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slider-images img {
    flex: 0 0 100%;
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}


.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 1.8rem;
    z-index: 99;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 5px;
}

.next {
    right: 5px;
}

/* Pagination Styling */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.pagination-container button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 50px;
    transition: background-color 0.3s ease;
    margin: 0 10px;
}

.pagination-container button:hover {
    background-color: #0056b3;
}

.pagination-container button:disabled {
    background-color: #d6d6d6;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .blog {
        padding: 40px 5%;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .blog-description {
        font-size: 1.1rem;
    }

    .blog-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .blog-text {
        width: 100%;
    }

    .blog-image {
        width: 100%;
    }

    .quote {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .blog {
        padding: 20px 5%;
    }

    .section-title {
        font-size: 2rem;
    }

    .blog-description {
        font-size: 1rem;
    }

    .blog-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .blog-text {
        width: 100%;
    }

    .blog-details {
        font-size: 1rem;
    }

    .quote {
        font-size: 1rem;
    }

    .slider-container {
        width: 100%;
    }

    .slider-images img {
        height: 250px;
    }

    .slider-btn {
        font-size: 1.5rem;
        padding: 10px;
    }
}

/* Responsive Styling */
@media (max-width: 768px) {
    .blog-content {
        flex-direction: column;
        align-items: center;
    }

    .blog-text, .blog-image {
        width: 100%;
    }

    .blog-image img {
        width: 80%;
    }
}




@media (max-width: 768px) {
    .blog {
        padding: 20px 10%; /* Reduced padding for mobile */
    }

    /* Blog Content - Change to a Column Layout */
    .blog-content {
        flex-direction: column;
        align-items: center;
        gap: 20px; /* Reduced gap between elements */
    }

    .blog-text {
        width: 100%; /* Full width for mobile */
    }

    /* Adjusting Text and Image */
    .blog-description {
        font-size: 1rem; /* Smaller description font for mobile */
    }

    .blog-details {
        font-size: 0.9rem; /* Slightly smaller text for mobile */
        margin-bottom: 15px; /* Reduced margin on mobile */
    }

    .quote {
        font-size: 1rem; /* Slightly smaller quote text */
    }

    /* Adjusting Slider Image Size */
    .slider-container {
        width: 100%;
    }

    .slider-images img {
        height: 250px; /* Reduced height for images on mobile */
        object-fit: cover;
    }

    /* Adjust Slider Buttons for Mobile */
    .slider-btn {
        font-size: 1.5rem; /* Smaller buttons for mobile */
        padding: 8px;
    }
}







/* Contact Section */
.contact-main {
    padding: 100px 0;
    background-color: #f7f7f7;
    color: #333;
}

/* Wrapper */
.contact-wrapper {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Contact Info & Form */
.contact-info,
.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Contact Info Header */
.contact-info h2,
.contact-form h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1d3557;
}

/* Contact Info Text */
.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
}

/* Contact Info List */
.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info ul li {
    font-size: 1.1rem;
    color: #333;
    padding: 12px 18px;
    border-radius: 8px;
    background-color: #f1f1f1;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

/* Contact Info Icons */
.contact-info ul li i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #4f88b1;
}

/* Hover Effect for Contact Info */
.contact-info ul li:hover {
    background-color: #e2e8f0;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Social Media Links */
.social-media {
    display: flex;
    gap: 1.5rem;
    margin-top: 20px;
}

.social-media a {
    font-size: 1.7rem;
    color: #4f88b1;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-media a:hover {
    color: #1d3557;
    transform: translateY(-5px);
}

/* Contact Form */
.contact-form input,
.contact-form textarea {
    padding: 15px;
    margin-bottom: 1.5rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1.1rem;
    width: 100%;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

/* Focus Effect on Form Inputs */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #4f88b1;
    outline: none;
    box-shadow: 0 0 8px rgba(79, 136, 177, 0.4);
}

/* Submit Button */
.contact-form button {
    background-color: #4f88b1;
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%;
}

.contact-form button:hover {
    background-color: #2a3d66;
    transform: translateY(-5px);
}

/* Fade-In Animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Applying Fade-in to Both Sections */
.contact-info, .contact-form {
    animation: fadeIn 1s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info h2,
    .contact-form h2 {
        font-size: 1.8rem;
    }

    .social-media a {
        font-size: 1.5rem;
    }
}














/* Limit the size of images in the slider */
.swiper-container {
    width: 100%;
    max-width: 800px;
    margin: auto;
    position: relative;
    padding-bottom: 50px; /* Add space at the bottom for pagination */
}

.swiper-slide {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.swiper-slide img {
    width: 100%; /* Make the image responsive */
    max-width: 600px; /* Set a max-width to prevent huge images */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Optional: rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional: add shadow */
}

/* Adjust text and buttons */
.swiper-slide h3 {
    margin-top: 10px;
    font-size: 1.5rem;
}

.swiper-slide p {
    font-size: 1rem;
    max-width: 80%;
}

.swiper-slide .btn {
    margin-top: 10px;
    display: inline-block;
    padding: 8px 16px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.swiper-slide .btn:hover {
    background: #0056b3;
}

/* Ensure navigation buttons are visible */
.swiper-button-next, .swiper-button-prev {
    color: black; /* Change to your preferred color */
    background: rgba(255, 255, 255, 0.8); /* Optional: Add a background to make buttons visible */
    border-radius: 50%;
    padding: 10px;
    width: 40px;
    height: 40px;
}

.swiper-pagination {
    position: absolute;
    bottom: 10px; /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}


/* Pagination Container */
.pagination-container {
    text-align: center;
    margin-top: 20px;
}

.pagination-container button {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 15px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

.pagination-container button:hover {
    background-color: #555;
}

.pagination-container button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#page-numbers {
    font-size: 18px;
    font-weight: bold;
    margin: 0 10px;
}


@media (max-width: 768px) {
    /* Contact Wrapper - Change to single column */
    .contact-wrapper {
        grid-template-columns: 1fr; /* Single column layout on small screens */
        padding: 0 20px; /* Add padding for better spacing */
    }

    /* Contact Info and Form - Adjust padding */
    .contact-info, .contact-form {
        padding: 20px; /* Reduce padding for smaller screens */
    }

    /* Section Headings - Adjust font size for mobile */
    .contact-info h2,
    .contact-form h2 {
        font-size: 1.5rem; /* Slightly smaller font for mobile */
    }

    /* Contact Info list items - Adjust text size and padding */
    .contact-info ul li {
        font-size: 1rem; /* Smaller font size for mobile */
        padding: 10px 14px; /* Adjust padding for mobile */
    }

    /* Contact Form Inputs - Adjust field size and padding */
    .contact-form input,
    .contact-form textarea {
        padding: 10px;
        margin-bottom: 1rem; /* Adjust margin to reduce vertical space */
    }

    /* Submit Button - Adjust button size */
    .contact-form button {
        font-size: 1rem;
        padding: 10px;
    }

    /* Adjust Swiper Container Images for Mobile */
    .swiper-container {
        max-width: 100%; /* Ensure the swiper takes full width on small screens */
        padding-bottom: 20px; /* Adjust padding for better spacing */
    }

    .swiper-slide img {
        max-width: 100%; /* Ensure images fit well on small screens */
        height: auto;
    }

    /* Adjust text and buttons in swiper */
    .swiper-slide h3 {
        font-size: 1.2rem; /* Smaller text for mobile */
    }

    .swiper-slide p {
        font-size: 0.9rem; /* Adjust font size */
    }

    .swiper-slide .btn {
        padding: 6px 12px; /* Smaller button padding for mobile */
        font-size: 0.9rem;
    }

    /* Ensure navigation buttons in swiper are accessible */
    .swiper-button-next, .swiper-button-prev {
        padding: 8px; /* Adjust button padding */
        width: 35px; /* Reduce button size */
        height: 35px;
    }

    .swiper-pagination {
        bottom: 5px; /* Adjust pagination position */
    }
}


@media (max-width: 468px) {

    /* Wrapper adjustments */
    .contact-wrapper {
        width: 100%; /* Ensure content spans full width */
        padding: 0 10px; /* Add padding to avoid content touching screen edges */
    }

    /* Form and Contact Info - Adjust padding */
    .contact-info, .contact-form {
        padding: 15px; /* Reduced padding for smaller screens */
    }

    /* Contact Form Inputs - Adjust field size and padding */
    .contact-form input,
    .contact-form textarea {
        padding: 8px; /* Smaller padding for inputs */
        font-size: 0.85rem; /* Smaller font size */
    }

    /* Submit Button - Adjust size */
    .contact-form button {
        font-size: 0.9rem; /* Smaller font for mobile */
        padding: 8px 12px; /* Adjust button padding */
    }

    /* Section Headings */
    .contact-info h2,
    .contact-form h2 {
        font-size: 1.3rem; /* Adjust heading size for mobile */
    }

    /* Contact Info list items - Adjust font size and padding */
    .contact-info ul li {
        font-size: 0.9rem; /* Smaller font size */
        padding: 8px 10px; /* Adjust padding */
    }

    /* Contact Info List Icons - Adjust icon size */
    .contact-info ul li i {
        font-size: 1.1rem; /* Smaller icon size */
        margin-right: 8px; /* Reduce space between icon and text */
    }

    /* Ensure inputs and buttons do not overflow */
    .contact-form input, 
    .contact-form textarea, 
    .contact-form button {
        max-width: 100%; /* Prevent overflow */
    }

    /* Adjust Swiper Container Images for Mobile */
    .swiper-container {
        max-width: 100%;
        padding-bottom: 15px; /* Adjust padding */
    }

    .swiper-slide img {
        max-width: 100%; /* Ensure images scale to container */
        height: auto;
    }

    /* Adjust text and buttons in swiper */
    .swiper-slide h3 {
        font-size: 1.1rem; /* Smaller text for mobile */
    }

    .swiper-slide p {
        font-size: 0.9rem; /* Adjust font size */
    }

    .swiper-slide .btn {
        padding: 6px 12px; /* Adjust button padding for small screens */
        font-size: 0.9rem;
    }

    /* Ensure navigation buttons in swiper are accessible */
    .swiper-button-next, .swiper-button-prev {
        padding: 6px; /* Smaller button size */
        width: 30px; /* Reduce size */
        height: 30px;
    }

    .swiper-pagination {
        bottom: 5px; /* Adjust pagination position */
    }
}












/* General Styles for homepage-skills section */

/* Ensure styles are only applied to the homepage skills section */
#homepage-skills {
    background: linear-gradient(135deg, #1f1f1f, #007ced);  /* Gradient background */
    padding: 120px 20px 60px 20px; /* Extra padding for spacing */
    color: #fff;
  
}
#homepage-skills h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

#homepage-skills .skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Responsive grid */
    gap: 80px;
    justify-items: center;
}

#homepage-skills .skill-category {
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 100%;
    text-align: center;
}

#homepage-skills .skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

#homepage-skills .skill {
    margin-bottom: 15px;
}

#homepage-skills .progress {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 5px;
}

#homepage-skills .progress .bar {
    height: 100%;
    background-color: #007ced;
    border-radius: 5px;
}

/* Icons for skill categories */
#homepage-skills .skill-category i {
    font-size: 2rem;
    color: #007ced;
    margin-bottom: 10px;
}