/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto Flex', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Particles Background */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999; /* Ensures particles are behind other content */
}

/* Main Container */
.main-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* Body Styles */
body {
    background-color: black;
    color: white;
    min-height: 100vh;
    padding-top: 80px; /* Space for fixed navigation */
    position: absolute;
}

/* Navigation Styles */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000; /* Ensures navigation is above other content */
    background: rgba(51, 51, 51, 0.4);
    backdrop-filter: blur(10px);
    transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Logo Styles */
.logo {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 1.5rem;
    font-weight: 100;
    letter-spacing: 10px;
}

/* Navigation Container */
.nav-container {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 0.8rem 2.5rem;
    margin: 0 2rem;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.nav-links li a i {
    font-size: 1.1rem;
    color: #0ef;
    transition: all 0.3s ease;
}

.nav-links li a:hover {
    color: #0ef;
    transform: translateY(-2px);
}

.nav-links li a:hover i {
    transform: scale(1.1);
}

.nav-links li a[aria-current="page"] {
    color: white;
}

.nav-links li a[aria-current="page"] i {
    color: #0ef;
}

/* Hidden Navigation */
.nav-hidden {
    transform: translateY(-100%);
}

/* Download Button Styles */
.download-btn ,.form-btn{
    background-color: #0ef;
    color: black;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

/* Download Icon */
.download-icon {
    width: 20px;
    height: 20px;
}

/* Main Content Styles */
main {
    padding: 2rem 4rem;
}

/* Hero Section Styles */
.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    height: 80vh;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient 3s ease infinite;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Main Heading Styles */
h1 {
    font-family: 'Anton', sans-serif;
    font-size: 4rem;
    line-height: 1.1;
    letter-spacing: 5px;
    font-stretch: 95%;
    -webkit-font-smoothing: antialiased;
    margin-bottom: 50px;
}

/* Indentation */
.indent {
    display: block;
    margin-left: 100px;
}

/* Highlight Styles */
.highlight {
    color: #0ef;
    font-weight: 700;
    font-family: 'Anton', sans-serif;
}

/* Hero Text Styles */
.hero-text p {
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* Hire Button Styles */
.hire-btn {
    background-color: #0ef;
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Hero Button Styles */
.hire-btn.hero-btn {
    margin-left: 7rem;
}

/* Closing Button Styles */
.hire-btn.closing-btn {
    margin: 0 auto;
}

/* Button Hover Effects */
.download-btn:hover,
.hire-btn:hover,
.form-btn:hover {
    transform: scale(1.1);
    transition: all 0.2s ease;
    box-shadow: 0 0 25px #0ef; /* Glow effect on hover */
}

.hire-btn a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333333;
}

.hire-btn i {
    margin-left: 8px;
}

.email-icon {
    width: 20px;
    height: 20px;
}

/* Hero Image Styles */
.hero-image {
    width: 450px;
    height: 450px;
    border: 4px solid #0ef;
    box-shadow: 0 0 25px #0ef;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.5s ease;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 238, 255, 0.1), rgba(0, 238, 255, 0));
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 1;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 238, 255, 0.2), rgba(0, 238, 255, 0));
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 1;
}

.hero-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px #0ef;
    border-color: #0ef;
}

.hero-image:hover img {
    transform: scale(1.1);
}

.hero-image:hover::before {
    opacity: 1;
}

.hero-image:hover::after {
    opacity: 1;
}

/* Add a floating animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.hero-image {
    animation: float 6s ease-in-out infinite;
}

/* About Section Styles */
.about {
    padding: 4rem;
    background-color: #222222;
}

/* About Header Styles */
.about-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* About Intro Styles */
.about-intro {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 2rem;
    line-height: 1.5;
    margin-bottom: 3rem;
    font-weight: 100;
    text-align: justify;
}

/* About Content Styles */
.about-content {
    margin-top: 2rem;
}

/* Content Wrapper Styles */
.content-wrapper {
    display: flex;
    gap: 8rem;
    align-items: flex-start;
}

/* About Title Styles */
.about-title {
    flex: 0 0 400px;
}

/* About Description Styles */
.about-description {
    flex: 1;
}

/* Content Wrapper Heading Styles */
.content-wrapper h3 {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin: 0;
}

/* Content Wrapper Paragraph Styles */
.content-wrapper p {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 1.5rem;
    line-height: 1.6;
    font-weight: 300;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Tech Stack Styles */
.tech-stack {
    padding: 4rem;
    background-color: #222222;
    position: relative;
    overflow: hidden;
}

/* Tech Stack Background Animation */
.tech-stack::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    animation: moveBackground 5s linear infinite;
    z-index: 0;
}

/* Tech Header and Intro Styles */
.tech-header,
.tech-intro {
    position: relative;
    z-index: 1;
}

/* Tech Header Styles */
.tech-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Tech Header Title Styles */
.tech-header h2 {
    font-family: 'Anton', sans-serif;
    color: #0ef;
    font-size: 2.5rem;
    letter-spacing: 2px;
}

/* Tech Intro Styles */
.tech-intro {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 1.2rem;
    font-weight: 200;
    margin-bottom: 4rem;
    margin-top: 50px;
    color: white;
    text-indent: 100px;
}

/* Spinning Asterisk Animation */
.spinning-asterisk {
    color: #0ef;
    font-size: 5rem;
    display: inline-block;
    animation: spin 3s linear infinite;
    transform-origin: center center;
}

/* Keyframes for Spin Animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Carousel Styles */
.carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
}

/* Carousel Track Styles */
.carousel-track {
    display: flex;
    gap: 10rem;
    width: max-content;
    animation: scroll 10s linear infinite;
}

/* Slide Styles */
.slide {
    flex: 0 0 auto;
    height: auto;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

/* Slide Icon Styles */
.slide i {
    font-size: 70px;
    margin: 10px;
    color: #222222;
}

/* Overlay Styles on Slide Hover */
.slide:hover .overlay {
    opacity: 1;
}

/* Keyframes for Scroll Animation */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Pause Animation on Carousel Hover */
.carousel:hover .carousel-track {
    animation-play-state: paused;
}

/* Project Header Styles */
.project-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 50px;
}

/* Project Header Title Styles */
.project-header h2,.contact-header h2 {
    font-family: 'Anton', sans-serif;
    color: #0ef;
    font-size: 2.5rem;
    letter-spacing: 2px;
}

/* Projects Section Styles */
.Projects {
    background-color: black;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 5rem 1rem;
}

/* Project Container Styles */
.project-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Project Box Styles */
.project-box {
    border-radius: 10px;
    padding: 40px 20px;
    display: flex;
    color: #D9D9D9;
    box-shadow: 0 0 15px #0ef;
    gap: 50px;
    margin: 0 60px;
}

/* Project Box2 Styles */
.project-box,
.project-box2 {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 1.2rem;
    line-height: 1.5;
    font-weight: 100;
    text-align: justify;
    background-color: #1a1a1a;
}

/* Project Box2 Styles */
.project-box2 {
    padding: 40px 20px;
    border-radius: 10px;
    display: flex;
    color: #D9D9D9;
    box-shadow: 0 0 15px #0ef;
    margin: 0 60px;
    gap: 50px;
}

/* Project Box Image Styles */
.project-box2 img,
.project-box img {
    width: 600px;
    height: 320px;
    border-radius: 20px;
    object-fit: cover; /* Maintain aspect ratio */
}

/* Project Description Styles */
.project-description {
    flex: 1;
    padding: 0 1rem;
}

/* Project Title Styles */
.project-title {
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #0ef;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

/* Project Buttons Styles */
.project-buttons {
    display: flex;
    gap: 1rem;
    padding-top: 90px;
}

/* Project Button Link Styles */
.project-buttons a {
    background-color: #0ef;
    color: black;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s;
}

/* Project Button Hover Effects */
.project-buttons a:hover {
    background-color: #0ef;
    color: black;
    transform: scale(1.1);
    transition: all 0.2s ease;
    box-shadow: 0 0 25px #0ef; /* Glow effect on hover */
}

/* Project Intro Styles */
.proj-intro {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 1.2rem;
    font-weight: 200;
    margin-bottom: 4rem;
    margin-top: 50px;
    color: white;
    text-indent: 100px;
}

/* Active Navigation Link Styles */
.nav-links a.active {
    background-color: #0ef;
    color: black;
    border-radius: 10px;
    padding: 0.5rem 1rem;
}

/* Keyframes for Background Animation */
@keyframes moveBackground {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

/* Certificates Section Styles */
.Certificates {
    padding: 5rem 1rem;
    background-color: #0a0a0a;
}

/* Certificates Header Styles */
.certificates-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 50px;
}

/* Certificates Header Title Styles */
.certificates-header h2 {
    font-family: 'Anton', sans-serif;
    color: #0ef;
    font-size: 2.5rem;
    letter-spacing: 2px;
}

/* Certificates Grid Styles */
.certificates-grid {
    display: grid;
    padding: 0px 64px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

/* Certificate Item Styles */
.certificate-item {
    background-color: #1a1a1a;
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s ease;
}

/* Certificate Item Hover Effects */
.certificate-item:hover {
    transform: translateY(-5px);
    transform: scale(1.05);
}

/* Certificate Intro Styles */
.certi-intro {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 1.2rem;
    font-weight: 200;
    margin-bottom: 4rem;
    margin-top: 50px;
    color: white;
    text-indent: 100px;
}

/* Certificate Thumbnail Styles */
.certificate-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Maintain aspect ratio */
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Certificate Info Styles */
.certificate-info {
    text-align: center;
}

/* Certificate Info Title Styles */
.certificate-info h4 {
    font-size: 16px;
    color: white;
    margin-bottom: 1rem;
}

/* Certificate Button Styles */
.certificate-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background-color: #0ef;
    color: black;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

/* Certificate Button Hover Effects */
.certificate-btn:hover {
    background-color: #0ef;
    color: black;
    transform: scale(1.1);
    transition: all 0.2s ease;
    box-shadow: 0 0 25px #0ef; /* Glow effect on hover */
}

/* Education Section Styles */
/* Ensure 'Roboto Flex' is properly loaded in HTML */
/* Check color contrast for accessibility */
/* Review unused CSS for cleanliness */
/* Review vendor prefixes for broader support */

/* Education Section Styles */
.education {
    background-color: #0a0a0a;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 5rem 1rem;
}

/* Education Header Styles */
.education-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 60px;
}

/* Education Header Title Styles */
.education-header h2 {
    font-family: 'Anton', sans-serif;
    color: #0ef;
    font-size: 2.5rem;
    letter-spacing: 2px;
}

/* Education Intro Styles */
.education-intro {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 1.2rem;
    font-weight: 200;
    margin-bottom: 4rem;
    margin-top: 50px;
    color: white;
    text-indent: 100px;
}

/* Education Container Styles */
.education-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0 50px;
    margin: 0 60px;
}

/* Education Item Styles */
.education-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 2rem;
    background-color: #1a1a1a;
    border-radius: 1.5rem;
    border: 2px solid #2a2a2a;
    transition: all 0.3s ease;
    position: relative;
}

/* Education Item Hover Effects */
.education-item:hover {
    transform: translateX(10px);
    border-color: #0ef;
    box-shadow: 0 0 25px #0ef; /* Glow effect on hover */
}

/* Education Icon Styles */
.education-icon i {
    font-size: 2rem;
    color: white;
}

/* Education Details Styles */
.education-details {
    flex-grow: 1;
}

/* Year Styles */
.year {
    background-color: #2a2a2a;
    color: #0ef;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 1.4rem;
    font-weight: 600;
}

/* Education Details Title Styles */
.education-details h4 {
    font-size: 1.7rem;
    color: white;
    margin: 1rem 0 0.5rem;
}

/* Education Details Subtitle Styles */
.education-details h5 {
    font-size: 1.5rem;
    color: #888;
    margin-bottom: 1rem;
}

/* Education Details Paragraph Styles */
.education-details p {
    font-size: 1.4rem;
    color: #0ef;
    margin-bottom: 1.5rem;
}

/* Education Details Link Styles */
.education-details a {
    text-decoration: none;
}

/* Education Highlights Styles */
.education-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Education Highlights Item Styles */
.education-highlights span {
    background-color: #2a2a2a;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

/* Education Highlights Item Hover Effects */
.education-highlights span:hover {
    background-color: #0ef;
    color: black;
    transform: scale(1.05);
}

/* Contact Section Styles */
.contact {
    background-color: #0a0a0a;
    padding: 5rem 1rem;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 50px;
}

.contact-intro {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 1.2rem;
    font-weight: 200;
    margin-bottom: 4rem;
    margin-top: 50px;
    color: white;
    text-indent: 100px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
    padding: 0 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: #1a1a1a;
    border-radius: 0.8rem;
    border: 2px solid #2a2a2a;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateX(10px);
    border-color: #0ef;
    box-shadow: 0 0 25px #0ef;
}

.info-card i {
    font-size: 1.8rem;
    color: #0ef;
    width: 40px;
    text-align: center;
}

.details h4 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 0.3rem;
    font-family: 'Anton', sans-serif;
    letter-spacing: 1px;
}

.details a, .details p {
    font-size: 1rem;
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.details a:hover {
    color: #0ef;
    font-weight: 400;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 2px solid #0ef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0ef;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #0ef;
    color: black;
    transform: scale(1.1);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: #1a1a1a;
    border: 2px solid #2a2a2a;
    border-radius: 0.6rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0ef;
    outline: none;
    box-shadow: 0 0 25px #0ef;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-btn {
    background-color: #0ef;
    color: black;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.form-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px #0ef;
}

.form-btn i {
    font-size: 1rem;
}

/* Closing Section Styles */
.closing-remarks {
    padding: 4rem;
    object-fit: contain;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    text-align: center;
}

/* Closing Remarks Header Styles */
.closing-remarks h2 {
    font-family: 'Anton';
    letter-spacing: 2px;
    font-weight: 100;
}

/* Closing Remarks Paragraph Styles */
.closing-remarks p {
    text-align: center;
    justify-content: center;
    margin-top: 50px;
    font-family: 'Roboto Flex', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 4rem;
    line-height: 1.5;
    font-weight: 100;
}

/* Footer Styles */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 4rem 2rem 1rem;
    position: relative;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 3rem;
    border-bottom: 1px solid #2a2a2a;
}

.footer-section h3 {
    color: #0ef;
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: #0ef;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    color: #888;
    transition: all 0.3s ease;
}

.footer-section ul li i {
    color: #0ef;
    font-size: 1.2rem;
}

.footer-section ul li a {
    color: #888;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li:hover,
.footer-section ul li a:hover {
    color: #0ef;
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.copyright {
    color: #888;
    font-size: 0.9rem;
    font-weight: 300;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: #888;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: #0ef;
    transform: translateY(-3px);
}

/* HTML Icon - Orange */
.fab.fa-html5 {
    color: #E34F26;
}

/* CSS Icon - Blue */
.fab.fa-css3-alt {
    color: #1572B6;
}

/* JavaScript Icon - Yellow */
.fab.fa-js {
    color: #F7DF1E;
}

/* C Language Icon - Blue */
.fab.fa-c {
    color: #00599C;
}

/* C++ Icon - Blue */
.fab.fa-cplusplus {
    color: #00599C;
}

/* Python Icon - Blue and Yellow */
.fab.fa-python {
    background: linear-gradient(135deg, #3776AB 50%, #FFD43B 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive Design for Navbar */
@media screen and (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-links li a {
        justify-content: center;
    }
}

.typed-text {
    color: #ff6b6b;
    font-weight: bold;
    position: relative;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
    letter-spacing: 1px;
}

/* Remove the cursor animation from CSS since Type.js handles it */
.typed-text::after {
    display: none;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.highlight-text {
    color: #ff6b6b;
    font-weight: bold;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
}

.highlight-text:hover {
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 107, 107, 0.7);
}

.highlight-text::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, transparent, #ff6b6b, transparent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.highlight-text:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
  }
  
  @media (max-width: 768px) {
    .mobile-menu-toggle {
      display: block;
    }
    
    .nav-container {
      position: fixed;
      top: 80px;
      left: 0;
      width: 100%;
      background: rgba(51, 51, 51, 0.95);
      backdrop-filter: blur(10px);
      padding: 1rem 0;
      transform: translateY(-150%);
      transition: transform 0.3s ease;
      z-index: 1000;
    }
    
    .nav-container.active {
      transform: translateY(0);
    }
    
    .nav-links {
      flex-direction: column;
      gap: 1rem;
    }
  }

  @media (max-width: 992px) {
    .hero-content {
      flex-direction: column;
      height: auto;
      padding: 2rem 0;
    }
    
    .hero-text {
      max-width: 100%;
      text-align: center;
    }
    
    .hero-image {
      width: 300px;
      height: 300px;
      margin-top: 2rem;
    }
    
    .hire-btn.hero-btn {
      margin: 2rem auto;
    }
  }
  
  @media (max-width: 576px) {
    .hero-text h1 {
      font-size: 2.5rem;
    }
    
    .hero-image {
      width: 250px;
      height: 250px;
    }
  }

  @media (max-width: 992px) {
    .project-box, 
    .project-box2 {
      flex-direction: column;
      margin: 0 20px;
      gap: 20px;
    }
    
    .project-box img,
    .project-box2 img {
      width: 100%;
      height: auto;
    }
    
    .project-buttons {
      padding-top: 20px;
      justify-content: center;
    }
  }

  @media (max-width: 992px) {
    .education-header {
      padding-left: 20px;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.7rem;
    }
    .education-container {
      padding: 0 10px;
      margin: 0 10px;
    }
    .education-item {
      padding: 1.2rem;
      gap: 1.2rem;
    }
    .education-intro {
      font-size: 1.05rem;
      margin-bottom: 2.5rem;
      text-indent: 16px;
    }
    .education-details h4 {
      font-size: 1.2rem;
    }
    .education-details h5 {
      font-size: 1.1rem;
    }
    .education-details p {
      font-size: 1rem;
    }
    .education-highlights span {
      font-size: 1rem;
      padding: 0.4rem 0.8rem;
    }
  }

  @media (max-width: 768px) {
    .education-header {
      padding-left: 10px;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
    }
    .education-container {
      padding: 0 2px;
      margin: 0 2px;
    }
    .education-item {
      flex-direction: column;
      gap: 1rem;
      padding: 1rem;
    }
    .education-intro {
      font-size: 1rem;
      margin-bottom: 2rem;
      text-indent: 10px;
    }
    .education-details h4 {
      font-size: 1.05rem;
    }
    .education-details h5 {
      font-size: 1rem;
    }
    .education-details p {
      font-size: 0.95rem;
    }
    .education-highlights span {
      font-size: 0.95rem;
      padding: 0.3rem 0.6rem;
    }
  }

  @media (max-width: 576px) {
    .education-header h2 {
      font-size: 1.5rem;
    }
    .education-header {
      gap: 0.3rem;
      padding-left: 4px;
    }
    .education-container {
      padding: 0 0.5rem;
      margin: 0 0.5rem;
    }
    .education-item {
      padding: 0.7rem;
      gap: 0.7rem;
    }
    .education-intro {
      font-size: 0.95rem;
      margin-bottom: 1.2rem;
      text-indent: 4px;
    }
    .education-details h4 {
      font-size: 0.95rem;
    }
    .education-details h5 {
      font-size: 0.9rem;
    }
    .education-details p {
      font-size: 0.9rem;
    }
    .education-highlights span {
      font-size: 0.9rem;
      padding: 0.2rem 0.5rem;
    }
    .year {
      font-size: 1rem;
      padding: 0.3rem 0.7rem;
    }
  }

  @media (max-width: 480px) {
    .education-header h2 {
      font-size: 1.1rem;
    }
    .education-header {
      gap: 0.2rem;
    }
    .education-item {
      padding: 0.3rem;
      gap: 0.5rem;
    }
    .education-intro {
      font-size: 0.9rem;
      margin-bottom: 0.8rem;
      text-indent: 1px;
    }
    .education-details h4 {
      font-size: 0.85rem;
    }
    .education-details h5 {
      font-size: 0.8rem;
    }
    .education-details p {
      font-size: 0.8rem;
    }
    .education-highlights span {
      font-size: 0.8rem;
      padding: 0.1rem 0.3rem;
    }
    .year {
      font-size: 0.85rem;
      padding: 0.2rem 0.5rem;
    }
  }

  /* Navbar extra touch targets and spacing */
  @media (max-width: 992px) {
    nav {
      padding: 1rem 1rem;
    }
    .nav-container {
      margin: 0 0.5rem;
      padding: 0.8rem 1rem;
    }
    .logo {
      font-size: 1.1rem;
      letter-spacing: 4px;
    }
    .download-btn {
      padding: 0.5rem 0.7rem;
      font-size: 0.9rem;
    }
  }
  @media (max-width: 768px) {
    .mobile-menu-toggle {
      display: block;
      font-size: 2rem;
      min-width: 44px;
      min-height: 44px;
    }
    .nav-links li a {
      min-width: 44px;
      min-height: 44px;
      font-size: 1rem;
      padding: 1rem 0.5rem;
      text-align: center;
    }
    .download-btn {
      min-width: 44px;
      min-height: 44px;
      font-size: 1rem;
      padding: 1rem 0.5rem;
    }
    .logo {
      font-size: 1rem;
      letter-spacing: 2px;
    }
    nav {
      padding: 0.7rem 0.5rem;
    }
  }
  @media (max-width: 576px) {
    .nav-links {
      gap: 0.5rem;
    }
    .nav-links li a {
      font-size: 0.95rem;
      padding: 0.7rem 0.3rem;
    }
    .logo {
      font-size: 0.9rem;
      letter-spacing: 1px;
    }
    .download-btn {
      font-size: 0.95rem;
      padding: 0.7rem 0.3rem;
    }
  }

  @media (max-width: 768px) {
    .certificates-grid {
      grid-template-columns: repeat(2, 1fr);
      padding: 0 20px;
      gap: 1.5rem;
    }
  }
  
  @media (max-width: 480px) {
    .certificates-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 768px) {
    .contact-container {
      grid-template-columns: 1fr;
      gap: 2rem;
      padding: 0 10px;
    }
    .contact-info {
      order: 2;
      gap: 1.2rem;
    }
    .contact-form {
      order: 1;
      gap: 1.2rem;
    }
    .contact-intro {
      text-indent: 10px;
      font-size: 1rem;
    }
    .info-card {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.7rem;
      padding: 1rem;
    }
    .social-links {
      gap: 1rem;
      margin-top: 1rem;
    }
    .form-group input,
    .form-group textarea {
      font-size: 1rem;
      padding: 0.7rem;
    }
    .form-btn {
      font-size: 1rem;
      padding: 0.8rem 1rem;
    }
}

@media (max-width: 576px) {
    .contact-header {
      padding-left: 10px;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
    }
    .contact-container {
      padding: 0 2px;
      gap: 1rem;
    }
    .contact-intro {
      font-size: 0.95rem;
      margin-bottom: 2rem;
    }
    .info-card {
      padding: 0.7rem;
      font-size: 0.95rem;
    }
    .details h4 {
      font-size: 1rem;
    }
    .details a, .details p {
      font-size: 0.95rem;
    }
    .social-icon {
      width: 32px;
      height: 32px;
      font-size: 1.1rem;
    }
    .form-btn {
      min-width: 120px;
    }
}

/* Footer Responsiveness */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }
}
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 0 0.5rem;
  }
  .footer-section {
    margin-bottom: 1.5rem;
    text-align: left;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-top: 1rem;
    margin-top: 1rem;
  }
  .footer-social {
    gap: 1rem;
    margin-top: 0.5rem;
  }
}
@media (max-width: 576px) {
  .footer-section h3 {
    font-size: 1.1rem;
  }
  .footer-section ul li {
    font-size: 0.95rem;
    gap: 0.5rem;
  }
  .footer-section ul li i {
    font-size: 1rem;
  }
  .footer-social a {
    font-size: 1rem;
  }
  .footer-bottom {
    font-size: 0.9rem;
    gap: 0.5rem;
  }
}

/* Ensure touch targets are accessible */
@media (max-width: 768px) {
  .footer-section ul li,
  .footer-section ul li a,
  .footer-social a {
    min-height: 44px;
    min-width: 44px;
    padding: 0.4rem 0;
  }
}

@media (max-width: 768px) {
    nav {
      padding: 1rem 2rem;
    }
    
    main, section {
      padding: 2rem 1rem;
    }
    
    .logo {
      font-size: 1.2rem;
      letter-spacing: 5px;
    }
    
    .download-btn {
      padding: 0.6rem 1rem;
      font-size: 0.9rem;
    }
  }
  
  /* Adjust font sizes for mobile */
  @media (max-width: 576px) {
    h1 {
      font-size: 2.5rem;
    }
    
    h2 {
      font-size: 2rem;
    }
    
    .hero-text p {
      font-size: 1rem;
    }
    
    .education-details h4 {
      font-size: 1.3rem;
    }
    
    .education-details h5 {
      font-size: 1.1rem;
    }
  }

  /* Increase tap targets for mobile */
@media (max-width: 768px) {
    .nav-links li a,
    .project-buttons a,
    .certificate-btn,
    .form-btn,
    .download-btn {
      padding: 1rem;
      min-height: 48px; /* Recommended minimum touch target size */
    }
    
    /* Disable hover effects on touch devices */
    @media (hover: none) {
      .hero-image:hover {
        transform: none;
        box-shadow: 0 0 25px #0ef;
      }
      
      .project-buttons a:hover,
      .certificate-btn:hover,
      .form-btn:hover,
      .download-btn:hover {
        transform: none;
        box-shadow: none;
      }
    }
  }
