/*index.css*/
/* Styles defined for the desktop or the bigger screen devices*/
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap'); 

body { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Poppins', sans-serif; 
} 

/* Header Navbar Styles */
.navbar { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    position: fixed; 
    top: 0; 
    width: 100%; 
    background-image: linear-gradient(90deg, #74D7BB, #53C8B6, #35A99C); 
    background-color: transparent; 
} 

.logo { 
    padding: 0 5rem; 
} 

.logo .logo-heading { 
    color: #f3eded; 
} 

.menu { 
    padding: 0 5rem; 
} 

.hamburger { 
    display: none; 
    color: #fff; 
    font-size: 25px; 
} 

.cross-icon { 
    display: none; 
} 

.menu .menu-list { 
    display: flex; 
    list-style: none; 
} 

.menu-list .menu-list-items { 
    padding: 0.5rem 1rem; 
} 

@media screen and (min-width: 856px) and (max-width: 1024px) { 
    .menu-list .menu-list-items { 
        padding: 0.5rem 0.3rem; 
    } 
} 

/* Main Hero Section Styles */
.hero { 
    
    background-repeat: no-repeat; 
    background-size: 100% 100%; 
    width: 100%; 
    height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: start; 
    margin: 4.8rem 0; 
} 

.hero .intro { 
    text-align: center; 
    margin: 0 5rem; 
} 

.hero .intro-buttons { 
    margin: 2rem 0; 
    display: flex; 
    align-items: center; 
    justify-content: space-evenly; 
} 

/* About section styles */
.about { 
    display: flex; 
    align-items: center; 
    background-image: linear-gradient(45deg, #363D73, #2794B3); 
    justify-content: space-between; 
    width: 100%; 
} 

.about .about-text { 
    width: 450px; 
    color: #fff; 
    padding: 5rem 1rem 5rem 5rem; 
} 

.about .about-image img { 
    height: 400px; 
    width: 450px; 
    padding: 5rem 5rem 5rem 1rem; 
} 



/* Services section styles */
.services { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-direction: column; 
    margin: 4.8rem 0; 
    padding: 0 5rem; 
} 

.my-row { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    margin: 2rem 0; 
} 

.my-row .my-col { 
    text-align: center; 
    width: 30%; 
} 

.my-card { 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    border-radius: 20px; 
    background-image: linear-gradient(#74D7BB, #53C8B6, #35A99C); 
    padding: 1rem; 
} 

.icon { 
    height: 100px; 
    width: 100px; 
    border-radius: 50%; 
    background-color: #363D73; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
} 

.icon svg { 
    font-size: 30px; 
    color: #fff; 
} 

/* Contact section styles */
.contact { 
    padding: 0 5rem; 
} 

.contact-content { 
    display: flex; 
    margin: 3rem 0; 
    justify-content: space-between; 
} 

.contact-form-container { 
    width: 50%; 
} 

.contact-form { 
    display: flex; 
    flex-direction: column; 
} 

.contact-form .form-controls { 
    width: 80%; 
    padding: 10px 0; 
    margin: 1.67rem 0; 
} 

.contact-form .form-btn { 
    width: 83%; 
} 

.contact-details { 
    width: 50%; 
} 

/* Footer Styles */
.footer { 
    background-color: #000; 
    color: #fff; 
    padding: 2rem; 
} 

.footer-list-items { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    height: 50px; 
    width: 50px; 
    margin: 1rem 1rem 0 1rem; 
    border-radius: 50%; 
    background-color: #53C8B6; 
} 

.footer-links { 
    font-size: 24px; 
    color: #fff; 
    text-decoration: none; 
} 

.social-links { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
} 

.footer-menu { 
    padding: 0 5rem; 
} 

.footer-menu .footer-menu-list { 
    display: flex; 
    list-style: none; 
} 


.circular-photo {
    width: 200px; /* Adjust as needed */
    height: 200px; /* Adjust as needed */
    overflow: hidden;
    border-radius: 50%;
    margin: 0 auto; /* Center the image */
    display: flex;
    justify-content: center;
    align-items: center;
}

.circular-photo img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
}

/* Portfolio Section */




/* utility classes */
.greet-heading { 
    font-size: 1.3rem; 
    font-weight: lighter; 
    margin: 0; 
    letter-spacing: 1px; 
} 

.my-heading { 
    font-size: 2.5rem; 
    margin: 0; 
} 

.sub-heading { 
    margin: 0; 
    font-size: 1rem; 
    color: #ccc; 
    font-weight: lighter; 
} 

.links:hover { 
    border-bottom: 2px solid #fff; 
} 

.links { 
    border-bottom: 2px solid transparent; 
    transition: all 0.25s; 
    padding: 5px; 
    text-decoration: none; 
    color: #fff; 
} 

.btn { 
    padding: 10px 20px; 
    border-radius: 5px; 
    cursor: pointer; 
    letter-spacing: 1px; 
    border: none; 
} 

.common-btn { 
    background-color: #35A99C; 
    color: #fff; 
    border: 2px solid #35A99C; 
    transition: all 0.25s; 
} 

.common-btn:hover { 
    background-color: #fff; 
    color: #35A99C; 
    border: 2px solid #35A99C; 
    outline: none; 
} 

.ghost-btn { 
    background-color: #fff; 
    color: #35A99C; 
    border: 2px solid #35A99C; 
    outline: none; 
} 

.ghost-btn:hover { 
    background-color: #35A99C; 
    color: #fff; 
    transition: all 0.25s; 
    border: 2px solid #35A99C; 
} 

.heading-span { 
    font-weight: bolder; 
} 

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

.small-para { 
    font-size: 14px; 
    color: #fff; 

} 

.white-text { 
    color: #fff; 
} 

.blue-text { 
    color: #363D73; 
}

.sub-heading {
    color: #121212; /* Change this to your desired color */
}
.btn {
    text-decoration: none; /* Removes the underline from the link */
}

.education-details {
    margin-top: 20px; /* Space above the education section */
    background-color: #d1d1e2; /* Background color */
    padding: 20px; /* Padding inside the section */
    border-radius: 8px; /* Rounded corners */
    max-width: 400px; /* Set a max width for the education section */
    margin-left: 30px; /* Add a specific left margin */
    margin-right: 20px; /* Adjust right margin to create space for skills */
}
.technical-skills {
    margin-top: 20px; /* Space above the skills section */
    background-color: #d1d1e2; /* Background color */
    padding: 20px; /* Padding inside the section */
    border-radius: 8px; /* Rounded corners */
    max-width: 200px; /* Set a max width for the skills section */
}
.skills-heading {
    margin-bottom: 10px; /* Space below the heading */
}

.skills-list {
    display: flex; /* Use flexbox for layout */
    flex-wrap: wrap; /* Allow items to wrap */
}

.skill-item {
    background-color: #007bff; /* Blue background color */
    color: white; /* White text color */
    padding: 5px 10px; /* Padding for skill items */
    margin: 5px; /* Margin around skill items */
    border-radius: 5px; /* Rounded corners for skill items */
    font-size: 14px; /* Font size for skill items */
}





.education-heading {
    font-size: 24px; /* Font size for the heading */
    margin-bottom: 10px; /* Space below the heading */
}

.education-list {
    list-style: none; /* Remove default list styles */
    padding: 0; /* Remove padding */
}

.education-list li {
    margin-bottom: 10px; /* Space between list items */
    font-size: 18px; /* Font size for list items */
}

.info-container {
    display: flex;
    justify-content: space-between; /* Add this to create space between items */
    align-items: flex-start; /* Align items to the top */
}

.education-details,
.technical-skills {
    width: 70%; /* Adjust the width as necessary */
    max-width: 100%; /* Ensure it doesn’t exceed the container */
    margin: 0 70px; /* Add margin if needed */
}

.skills-heading {
    margin-top: 0; /* Remove margin-top if you want to align it closely with education */
}

.skill {
    background-color: #e0e0e0; /* Example style */
    padding: 5px;
    margin: 5px 0;
}

.letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

.my-heading {
    font-size: 2rem; /* Adjust font size as needed */
    font-weight: bold;
    color: #000;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: 0.1em;
    animation: typing 3.5s steps(40, end); /* Removed blink-caret */
}

/* Adjusting the transition effect */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}



@keyframes blink-caret {
    from, to { border-color: transparent }

    50% { border-color: orange; }
}

/* Initially hide the portfolio cards */
.port-card {
    opacity: 0;
    transform: translateY(50px); /* Moves the card down initially */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Class to show cards when in view */
.show-card {
    opacity: 1;
    transform: translateY(0); /* Moves the card back to its original position */
}


/* General fade-in effect */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* About Section Specific Styling */
.about-text,
.about-image {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.about-text.show,
.about-image.show {
    opacity: 1;
    transform: translateY(0);
}


/* Ensure the header stays fixed at the top */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; /* Ensure header is on top of everything */
    background-color: #859eb6; /* Make sure the header has a background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Add shadow for better visibility */
}

/* Add padding to the top of the body to account for the header height */
body {
    padding-top: 80px; /* Adjust this value based on your header height */
}

/* Optional: You can also add padding or margin to specific sections */
#about, #github-repos {
    margin-top: 50px; /* Adjust this value if you need more space between sections */
}

/* Ensure sections don't overlap each other */
section {
    margin-bottom: 50px; /* Add space between sections */
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Adjust anchor scroll offset for sections */
section {
    scroll-margin-top: 80px; /* Adjust based on the height of your header */
}

section {
    margin-top: 50px; /* Space between sections */
    padding-top: 20px; /* Optional padding for visual clarity */
}


.social-accounts {
    display: flex; /* Display items in a row */
    justify-content: center; /* Center the icons */
    margin: 20px 0; /* Space above and below */
}

.social-icon {
    width: 40px; /* Set the width of the icons */
    height: auto; /* Maintain aspect ratio */
    margin: 0 10px; /* Space between icons */
    transition: transform 0.2s; /* Add a hover effect */
}

.social-icon:hover {
    transform: scale(1.1); /* Scale up on hover */
}

.social-accounts {
    display: flex; /* Display items in a row */
    justify-content: center; /* Center the icons */
    margin: 20px 0; /* Space above and below */
}

.social-icon {
    width: 60px; /* Increased width of the icons */
    height: auto; /* Maintain aspect ratio */
    margin: 0 15px; /* Space between icons */
    transition: transform 0.3s ease, filter 0.3s ease; /* Smooth transition for transform and filter */
}

.social-icon:hover {
    transform: scale(1.15); /* Scale up slightly more on hover */
    filter: brightness(1.1); /* Slightly brighten the icon on hover */
}

.contact {
    background-color: #f9f9f9; /* Light background for contrast */
    padding: 40px 20px; /* Adequate padding for spaciousness */
    border-radius: 10px; /* Rounded corners for a modern look */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.contact-heading {
    margin-bottom: 30px; /* Space below the heading */
}

.contact-details {
    display: flex; /* Flexbox for responsive layout */
    justify-content: space-around; /* Even spacing between items */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.details {
    flex: 1; /* Flex grow for equal sizing */
    margin: 10px; /* Margin for spacing */
    text-align: center; /* Center text for uniformity */
}

.contact-heading {
    font-size: 18px; /* Consistent font size for headings */
    color: #333; /* Darker color for readability */
    margin-bottom: 10px; /* Space below heading */
}

.contact-text {
    font-size: 16px; /* Readable font size for text */
    color: #555; /* Slightly lighter color */
}

.contact-link {
    color: #007bff; /* Blue color for links */
    text-decoration: none; /* Remove underline from links */
}

.contact-link:hover {
    text-decoration: underline; /* Underline on hover for interactivity */
}

/* Responsive styling */
@media (max-width: 600px) {
    .contact-details {
        flex-direction: column; /* Stack items on small screens */
        align-items: center; /* Center items */
    }
}

.achievements {
    margin-top: 2rem;
}

.achievements-heading {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.achievements-list {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

.achievements-list li {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.achievement-buttons {
    margin-top: 1rem;
}

.achievement-buttons .btn {
    margin: 0 0.5rem;
}


.achievements-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 50px;
}

.achievement-card {
    background-color: #d1d1e2; /* Light background for cards */
    border: 1px solid #ddd; /* Border around cards */
    border-radius: 10px; /* Rounded corners */
    width: calc(25% - 20px); /* 4 cards in a row, accounting for margins */
    margin: 10px; /* Space between cards */
    text-align: center; /* Center text */
    padding: 10px; /* Padding inside cards */
}

.achievement-image img {
    width: 30%; /* Image fills the card */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px 8px 0 0; /* Rounded top corners */
}

.achievement-title {
    font-size: 1.2em; /* Title size */
    margin: 10px 0 5px; /* Margin for title */
}

.achievement-description {
    font-size: 0.9em; /* Description size */
    color: #555; /* Grey color for description */
}

.header {
    position: fixed;
    width: 100%;
    top: 0;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.header.scrolled {
    background-color: rgba(0, 0, 0, 0.8); /* Darker background */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* Add shadow */
}

.menu-list {
    transition: color 0.3s;
}

body {
    background-color: #efe9e9; /* Light Grey */
}


/* Text Styles */
.small-para {
    color: #555; /* Subtitle color */
    font-size: 14px; /* Subtitle size */
}


/* Fade Left Animation */
@keyframes fadeLeft {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade Left Animation */
@keyframes fadeLeft {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade Right Animation */
@keyframes fadeRight {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Apply Fade Left */
.fade-left {
    animation: fadeLeft 1s ease-out forwards;
    opacity: 0;
}

/* Apply Fade Right */
.fade-right {
    animation: fadeRight 1s ease-out forwards;
    opacity: 0;
}


.education-details,
.technical-skills {
    margin-top: 20px; /* Space above the sections */
    background-color: rgba(209, 209, 226, 0.8); /* Background color with 80% opacity */
    padding: 20px; /* Padding inside the section */
    border-radius: 8px; /* Rounded corners */
    max-width: 400px; /* Set a max width for the education section */
    margin-left: 30px; /* Specific left margin */
    margin-right: 20px; /* Adjust right margin for skills */
    opacity: 1; /* Ensure content is fully visible */
    transform: translateY(0); /* Reset the transform property */
    transition: opacity 1s ease, transform 1s ease; /* Transition properties */
}



/* Class to make the elements visible */
.visible {
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Slide to original position */
}

body {
    background: rgb(53, 42, 169); /* Fallback for older browsers */
    background: linear-gradient(90deg, rgb(31, 26, 110) 0%, rgba(47, 220, 209, 1) 63%);
    /* Other properties */
    height: 100vh; /* Ensures body takes the full viewport height */
    margin: 0; /* Remove default margin */
}
html, body {
    height: 100%; /* Ensure the body takes up the full height */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
}

/* Home page specific background image */
body #home {
    background-image: url('newback.jpg'); /* Path to your image */
    background-size: cover; /* Ensure the image covers the entire element */
    background-position: center; /* Center the background */
    background-repeat: no-repeat; /* Prevent repeating */
    height: 100vh; /* Set the height to 100% of the viewport */
}
.portfolio {
    background-image: url('repoback.jpg');
    background-size: cover; /* Ensures the image covers the section */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed; /* Fixes the background while scrolling */
    padding: 50px 0; /* Adjusts the padding for spacing */
}

@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;700&family=Roboto:wght@400;700&display=swap" rel="stylesheet');

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

.my-heading {
    font-family: 'Fira Sans', sans-serif;
    color: white;
}


/*index.css*/
/* Responsive CSS file styles defined for smaller width devices */
/* CSS for tablet devices */
@media screen and (min-width: 576px) and (max-width: 820px) { 
    .logo { 
        padding: 0 3rem; 
    } 

    .hamburger { 
        display: block; 
        padding: 0 3rem; 
    } 

    .menu { 
        position: absolute; 
        right: 0; 
        padding: 0 3rem; 
        top: 75px; 
        background-image: linear-gradient(180deg, #74D7BB, #53C8B6, #35A99C); 
        display: none; 
        transition: all 0.25s; 
    } 

    .menu .menu-list { 
        flex-direction: column; 
    } 

    .portfolio { 
        padding: 0; 
        background-color:#e6e6ff;
    } 

    .about { 
        flex-direction: column; 
    } 

    .about .about-text { 
        padding: 2rem; 
    } 

    .about .about-image img { 
        padding: 2rem; 
    } 

    .services { 
        padding: 0; 
    } 

    .my-row { 
        gap: 10px; 
    } 

    .my-row .my-col { 
        text-align: center; 
        width: 35%; 
    } 

} 


/* CSS for mobile devices */
@media screen and (min-width: 280px) and (max-width: 576px) { 
    .hero { 
        justify-content: center; 
        color: #fff; 
        background-image: radial-gradient(circle, rgb(15 14 14 / 30%),
          rgb(102 96 96 / 40%), rgb(163 160 160 / 16%)), url('./Images/heroImg3.avif') 
    } 

    .sub-heading { 
        color: #fff9f9cc; 
    } 

    .hero .intro-buttons { 
        gap: 20px; 
    } 

    .btn { 
        padding: 10px 30px; 
    } 

    .logo { 
        padding: 0 2rem; 
    } 

    .menu { 
        position: absolute; 
        right: 0; 
        padding: 0 2rem; 
        top: 75px; 
        background-image: linear-gradient(180deg, #35A99C, #53C8B6, #74D7BB); 
        display: none; 
        transition: all 0.25s; 
    } 

    .menu .menu-list { 
        flex-direction: column; 
    } 

    .hamburger { 
        display: block; 
        padding: 0 2rem; 
    } 

    .portfolio { 
        padding: 0; 
    } 

    .about { 
        flex-direction: column; 
    } 

    .about .about-text { 
        width: 90%; 
        padding: 1rem; 
    } 

    .about .about-image img { 
        width: 90%; 
        padding: 1rem; 
    } 

    .services { 
        padding: 0; 
    } 

    .my-row { 
        display: flex; 
        align-items: center; 
        justify-content: space-between; 
        flex-direction: column; 
        margin: 2rem 0; 
        gap: 1rem; 
    } 

    .my-row .my-col { 
        text-align: center; 
        width: 100%; 
    } 

    .contact { 
        padding: 0; 
    } 

    .contact-content { 
        flex-direction: column; 
        align-items: center; 
        gap: 2rem; 
    } 

    .contact-form-container { 
        width: 80%; 
    } 

    .contact-form .form-controls { 
        width: 100%; 
    } 

    .contact-form .form-btn { 
        width: 100%; 
    } 

    .contact-details { 
        width: 80%; 
    } 

    .footer-menu { 
        padding: 0 2rem; 
    } 

    .footer-list-items { 
        margin: 0; 
    } 
}

/* Base styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Header styles */
.header {
    background-color: #333;
    color: white;
}

/* Mobile styles */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }
    
    .menu {
        display: none; /* Hide menu initially */
    }
    
    .hamburger {
        display: block; /* Show hamburger icon */
    }

    /* Adjust hero section for mobile */
    .hero {
        flex-direction: column;
        align-items: center;
    }
}

/* Add more styles for tablet and desktop */
@media (min-width: 769px) {
    .menu {
        display: flex; /* Show menu on larger screens */
    }
    
    .hamburger {
        display: none; /* Hide hamburger icon */
    }
}

/* Skill Section General Styling */
.skills {
    background-color: #fff;
    padding: 50px;
    text-align: center;
}

.skillsheading {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Container for all progress bars */
.progress-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

/* Each Progress Bar Wrapper */
.progress-bar-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 20px;
    text-align: center;
    opacity: 1; /* Make sure it is visible by default */
    transition: transform 1s ease-in-out;
}

/* Circle background */
.circle-background {
    fill: none;
    stroke: #eee;
    stroke-width: 10;
}

/* Circle progress */
.circle-progress {
    fill: none;
    stroke: url(#GradientColor);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 440; /* Total length of the circle */
    stroke-dashoffset: 440; /* Initially hidden */
    transition: stroke-dashoffset 1s ease-in-out; /* Smooth progress animation */
}

/* Hover effect for progress bars */
.progress-bar-wrapper:hover .circle-progress {
    animation: progress-animation 2s ease-out forwards;
}

/* Animate the progress to fill the circle */
@keyframes progress-animation {
    from {
        stroke-dashoffset: 440; /* Start with circle hidden */
    }
    to {
        stroke-dashoffset: var(--progress-offset); /* End at the desired percentage */
    }
}

/* Centering the percentage text */
.percentage-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
}

/* Skill Name Styling */
.skill-name {
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
}
 .my-row .my-col .port-card {
        background-color: #20619a; /* You can replace with any color you prefer */
        padding: 20px;  /* Optional: Add padding for better visual spacing */
        border-radius: 8px; /* Optional: Add border radius for rounded corners */
    }
/* Basic styling for the form and contact section */

 
  .contact-section {
    padding: 80px 0;
    background-color:#e6e6ff;
    text-align: center;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  }

  .container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
  }

 

  .form-group {
    margin-bottom: 25px;
    text-align: left;
  }

  .form-group label {
    display: block;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    background-color: #fff;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
  }

  .form-group input:focus,
  .form-group textarea:focus {
    box-shadow: 0px 0px 6px rgba(0, 123, 255, 0.6);
    border-color: #007bff;
    outline: none;
  }

  .form-group textarea {
    resize: vertical;
  }

  .btn-submit {
    display: inline-block;
    padding: 12px 30px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

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

  .whatsapp-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #25D366;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease;
  }

  .whatsapp-btn:hover {
    background-color: #128C7E;
  }

  /* Subtle shadow on container */
  .container {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
  }

  /* Mobile Responsiveness */
  @media (max-width: 768px) {
    .container {
      padding: 20px;
    }

   
    .btn-submit, .whatsapp-btn {
      width: 100%;
      font-size: 16px;
    }
  }

/* Achievements Section */
.achievements {
    padding: 60px 0;
    background-color: #f4f4f9; /* Light background for a clean look */
}

.achievements-heading {
    text-align: center;
    color: #333; /* Darker text for better readability */
    font-size: 38px;
    margin-bottom: 40px;
    font-weight: 600; /* Bold for emphasis */
    letter-spacing: 1px;
    text-transform: capitalize;
}

/* Responsive Grid for Achievements */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Ensure each card takes at least 250px */
    gap: 20px; /* Space between cards */
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px; /* Add padding for smaller screens */
}

.achievement-card {
    background-color: #ffffff; /* White card for clean, modern look */
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Softer shadow for professionalism */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    text-align: center;
    border-left: 5px solid #0066cc; /* Accent line for style */
    width: 100%; /* Full width of grid column */
    height: 0;
    padding-bottom: 100%; /* 1:1 Aspect ratio for square shape */
    position: relative;
}

.achievement-card:hover {
    transform: translateY(-5px); /* Subtle hover effect */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Slightly deeper shadow on hover */
}

.achievement-image {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;  /* Increased size */
    height: 80px; /* Increased size */
    border-radius: 50%; /* Circular images for a professional touch */
    overflow: hidden;
}


.achievement-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.achievement-title {
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 15px;
    color: #0066cc; /* Primary color for titles */
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.achievement-description {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #555555; /* Muted color for description text */
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    width: 80%;
}

.achievement-card a {
    position: absolute;
    bottom: 130px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 18px;
    background-color: #0066cc;
    color: #ffffff;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.achievement-card a:hover {
    background-color: #004d99;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .achievement-card {
        padding-bottom: 90%; /* Slightly reduce padding for better fit on smaller screens */
    }

    .achievement-title {
        top: 100px; /* Adjust title position for smaller screens */
    }

    .achievement-image {
        width: 60px;
        height: 60px; /* Scale down images on smaller screens */
    }

    .achievement-description {
        font-size: 13px; /* Adjust font size for descriptions on smaller devices */
        width: 90%;
    }
}

@media (max-width: 480px) {
    .achievement-card {
        padding-bottom: 80%; /* Further reduce padding for small mobile devices */
    }

    .achievement-title {
        top: 90px; /* Adjust title further for small screens */
    }

    .achievement-description {
        font-size: 12px; /* Smaller font size for tiny devices */
        width: 100%;
    }
}

/* Portfolio Section Styling */
.portfolio-heading h1 {
    font-size: 42px;
    text-align: center;
    color: #2369FF;
    margin-bottom: 30px;
}

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

.my-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 20px 0;
}

.my-col {
    flex: 1 1 30%;
    margin: 15px;
    max-width: 30%;
}

.port-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 450px; /* Fixed card height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.port-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.2);
}

.image-container {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    width: 100%; /* Ensure the container takes full width */
    height: 200px; /* Fixed height for uniform images */
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures the full image is visible */
    transition: transform 0.3s ease;
}

.port-card:hover .portfolio-img {
    transform: scale(1.05);
}

.greet-heading {
    margin-top: 15px;
    font-size: 24px;
    font-weight: 600;
    color: #2369FF;
}

.project-link {
    text-decoration: none;
    color: #2369FF;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #FFA500;
}

.small-para {
    font-size: 16px;
    color: #333;
    margin: 15px 0;
    flex-grow: 1; /* Ensures paragraphs take up extra space for content alignment */
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #2369FF;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #FFA500;
}

.ghost-btn {
    background: none;
    border: 2px solid #2369FF;
    color: #2369FF;
}

.ghost-btn:hover {
    background-color: #2369FF;
    color: #fff;
}

/* Skill Section General Styling */
.skills {
    background-color: #fff;
    padding: 50px;
    text-align: center;
}

.skillsheading {
    font-size: 36px;
    margin-bottom: 20px;
    color: rgb(76, 109, 226);
}

/* Container for all progress bars */
.progress-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

/* Each Progress Bar Wrapper */
.progress-bar-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 20px;
    text-align: center;
}

/* Circle background */
.circle-background {
    fill: none;
    stroke: #eee;
    stroke-width: 10;
}

/* Circle progress */
.circle-progress {
    fill: none;
    stroke: url(#GradientColor);
    stroke-width: 10;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease-out;
}

/* Hover effect for progress bars */
.progress-bar-wrapper:hover .circle-progress {
    animation: progress-animation 2s ease-out forwards;
}

/* Animate the progress to fill the circle */
@keyframes progress-animation {
    from {
        stroke-dashoffset: 440; /* Start with circle hidden */
    }
    to {
        stroke-dashoffset: 0; /* End at the desired percentage */
    }
}

/* Centering the percentage text */
.percentage-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    z-index: 2;
}

/* Skill Name Styling */
.skill-name {
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
}

/* Gradient for Progress Circle */


/* Basic styles */
.portfolio-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
}

.my-col {
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
    margin-bottom: 20px;
}



/* Responsive adjustments */
@media (max-width: 1200px) {
    .my-col {
        flex: 1 1 calc(50% - 20px); /* 2 columns on medium-sized screens */
    }
}

@media (max-width: 768px) {
    .my-col {
        flex: 1 1 100%; /* 1 column on small screens */
    }

    .portfolio-heading h1 {
        font-size: 30px; /* Adjust heading font size */
    }

    .small-para {
        font-size: 14px; /* Adjust paragraph font size */
    }
}

@media (max-width: 480px) {
    .portfolio-heading h1 {
        font-size: 25px; /* Even smaller heading font size for extra small devices */
    }

    .small-para {
        font-size: 12px; /* Adjust paragraph font size for mobile screens */
    }
}

.my-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


/* Media Queries for responsiveness */
@media (max-width: 1200px) {
    .info-container {
        flex-direction: column;
        align-items: center;
    }

    .education-details, .technical-skills {
        flex: 1 1 90%;
        margin: 10px 0;
    }

    .hero {
        padding: 40px 10px;
    }

    .headings h1 {
        font-size: 1.8em;
    }

    .sub-heading {
        font-size: 1em;
    }

    .intro-buttons .btn {
        font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 30px 10px;
    }

    .headings h1 {
        font-size: 1.6em;
    }

    .sub-heading {
        font-size: 0.9em;
    }

    .circular-photo {
        width: 120px;
        height: 120px;
    }

    .info-container {
        flex-direction: column;
        align-items: center;
    }

    .education-details, .technical-skills {
        flex: 1 1 80%;
        margin: 10px 0;
    }

    .skills-list .skill-item {
        font-size: 1em;
    }

    .intro-buttons .btn {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 20px 10px;
    }

    .headings h1 {
        font-size: 1.4em;
    }

    .sub-heading {
        font-size: 0.8em;
    }

    .circular-photo {
        width: 100px;
        height: 100px;
    }

    .info-container {
        flex-direction: column;
        align-items: center;
    }

    .education-details, .technical-skills {
        flex: 1 1 100%;
        margin: 10px 0;
    }

    .skills-list .skill-item {
        font-size: 0.9em;
    }

    .intro-buttons .btn {
        font-size: 0.8em;
    }
}

/* Services Section */
.services {
    padding: 80px 20px;
    background-color: #f8f9fa;
    text-align: center;
    border-top: 5px solid #0073e6;
}

.services-heading {
    margin-bottom: 40px;
}

.services-heading .my-heading {
    font-size: 2.8em;
    color: #333;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1em;
    color: #666;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 40px;
}

.social-accounts {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.social-link {
    display: block;
    text-align: center;
    width: 120px;
    color: #333;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    position: relative;
}

.social-link:hover {
    transform: translateY(-10px);
    color: #0073e6;
}

.social-icon-container {
    width: 80px;
    height: 80px;
    background-color: #fff;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.social-link:hover .social-icon-container {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.social-icon {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}

.social-name {
    margin-top: 12px;
    font-size: 1.1em;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
}

.social-link:hover .social-name {
    color: #0073e6;
}

/* Custom Backgrounds for Social Links */
.leetcode .social-icon-container {
    background-color: #f5f5f5;
    border: 2px solid #0073e6;
}

.github .social-icon-container {
    background-color: #f5f5f5;
    border: 2px solid #333;
}

.linkedin .social-icon-container {
    background-color: #f5f5f5;
    border: 2px solid #0e76a8;
}

.gfg .social-icon-container {
    background-color: #f5f5f5;
    border: 2px solid #4caf50;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .social-accounts {
        gap: 20px;
    }

    .social-link {
        width: 120px;
    }

    .social-icon-container {
        width: 70px;
        height: 70px;
    }
}

/* Style for the circular photo */
.circular-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
    border: 5px solid #ffffff; /* White border around the image */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Soft shadow for depth */
    overflow: hidden; /* Ensures the image fits the circle */
    transition: all 0.3s ease; /* Smooth transition on hover */
}

.circular-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the circle */
}

/* Hover effect to give a slight scale on hover */
.circular-photo:hover {
    transform: scale(1.05); /* Zoom in effect */
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
}

/* Making the content look well-structured */
.intro {
    text-align: center;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.headings {
    margin-top: 20px;
}

.greet-heading,
.my-heading {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 3rem;
}

.sub-heading {
    font-family: 'Lato', sans-serif;
    font-size: 1.25rem;
    margin-top: 10px;
    font-weight: 400;
    line-height: 1.5;
    color: #ccc;
}

/* Button styling */
.intro-buttons .btn {
    background-color: #00bcd4;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.intro-buttons .btn:hover {
    background-color: #0097a7;
}

/*----------------------------------------
-----------------------------------------*/
