/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: #66d9ff;
    transition: color 0.3s ease;
}
a:hover {
    color: #ffffff;
}

body {
    font-family: Arial, sans-serif;
    color: #ffffff;
    background-color: #0e1b2a;
    line-height: 1.6;

}

/* Navbar */
header {
    position: fixed; /* Keep the navbar at the top of the viewport */
    top: 0;
    left: 0;
    width: 100%; /* Make sure the navbar takes the full width */
    padding: 0.25rem; /* Adjust this to change the height of the navbar */
    background-color: #0e1b2a; /* Keep the existing background color */
    color: #ffffff;
    z-index: 1000; /* Ensure the navbar is on top of other elements */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional: adds a shadow to make it stand out */
}

nav {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    width: 100%;
    font-family: Poppins;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 1rem;
    font-size: 1rem;
}

.nav-links a:hover {
    color: #66d9ff;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
    align-items: center;
}

.social-icons a {
    color: #66d9ff;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #ffffff;
}

/* Specific Link Style */
header nav a.name-link {
    color: #ffffff;
    cursor: default;
    font-weight: bold;
}

header nav a.name-link:hover {
    color: #ffffff;
    text-decoration: none;
}

/* Media Query for Smaller Screens (900px or Below) */
@media (max-width: 700px) {
    .nav-links {
        display: none; /* Hide navigation links */
    }

    .social-icons {
        margin-left: auto; /* Keep the icons on the far right */
    }
}

/* Intro Section */
#intro {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    min-height: 100vh;
    position: relative;
}

.intro-left {
    flex: 1;
    height: 100%;
}

.intro-left h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

/* Underline Effect */
.underline {
    position: relative;
    display: inline-block;
    padding-bottom: 0.2rem;
}

.underline::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: #66d9ff;
    bottom: 0;
    left: 0;
}

.intro-left p {
    font-size: 1.25rem;
    color: #b0c4de;
}

/* Typing Effect */
@keyframes typing {
    from { width: 0; }
    to { width: 13ch; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

.typing-effect {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #66d9ff;
    animation: typing 2s steps(27, end), blink 0.5s step-end infinite alternate;
}

/* Profile Picture */
.profile-picture {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Highlighted Text */
.highlight {
    color: #66d9ff;
}

/* Animated Background */
@keyframes gradientBackground {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


body {
    background: linear-gradient(135deg, #0e1b2a, #152a3d, #1b3b52, #152a3d);
    background-size: 200% 200%;
    animation: gradientBackground 10s ease infinite;
}

/* Scroll-Down Arrow */
.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: #66d9ff;
    animation: bounce 2s infinite;
    margin-bottom: 1rem;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Media Query for Smaller Screens (Below 900px) */
@media (max-width: 600px) {
    #intro {
        flex-direction: column; /* Stack elements vertically */
        text-align: center; /* Center text */
        padding: 10rem 3rem; /* Reduce padding */
        min-height: 50vh; /* Reduce the height of the section */
    }

    .intro-left h1 {
        font-size: 3rem; /* Reduce font size */
    }

    .intro-left p {
        font-size: 1rem; /* Reduce paragraph size for readability */
    }

    .scroll-down {
        display: none; /* Hide the scroll-down arrow */
    }

}

/* About Me Section */
.about-me {
    padding: 3rem 1rem;
    background-color: #152a3d;
    color: #ffffff;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
}

.about-me::before {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: #66d9ff;
    margin: 0 auto 1rem auto;
}

.about-me h2 {
    font-size: 2rem;
    color: #66d9ff;
    margin-bottom: 2rem;
    text-align: center;
}

/* About Me Section Content */
.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1000px;
    margin: auto;
    text-align: left;
    flex-wrap: wrap;
}

/* About Me Header */
#about-header {
    font-size: 2rem;
    color: #66d9ff;
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
}

/* Image on the Left */
.about-image {
    flex: 1;
    display: flex;
    justify-content: center; /* Centers the image within its container */
}

.profile-pic {
    width: 400px;
    height: 400px;
    border-radius: 10%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.profile-pic:hover {
    transform: scale(1.1);
}

/* About Me Text */
.about-text {
    flex: 2;
    max-width: 600px;
}

.about-text a{
    text-decoration: none;
}

/* Media Query for Smaller Screens (960px or Below) */
@media (max-width: 960px) {
    .about-content {
        flex-direction: column; /* Stack the elements vertically */
        text-align: center; /* Center the text */
    }

    .profile-pic {
        margin-bottom: 1.5rem; /* Add space below the picture */
    }

    .about-me{
        transition: none;
        opacity: 1;
    }
}

.about-me p {
    font-size: 1.1rem;
    margin: 1rem auto;
    color: #b0c4de;
}


/* Technology List */
.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    padding: 1rem 0 0;
}

.tech-list li {
    background-color: #1b3b52;
    color: #66d9ff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.tech-list li:hover {
    background-color: #66d9ff;
    color: #1b3b52;
    transform: translateY(-5px);
}

/* Full-Height Sections */
.full-page-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    flex-direction: column;
}

/* Full-Height Sections */
/* .full-page-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
} */

/* Fade-in Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
footer {
    padding: 1rem 1rem;
    background-color: #152a3d;
    color: rgba(255, 255, 255, 0.479);
    text-align: center;
    font-size: 1rem;
}

/* Experience Section */
.experience-full-page {
    min-height: 100vh;
    padding: 3rem 1rem;
    background-color: #1b3b52;
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0; /* Hidden initially */
    transform: translateY(20px); /* Initial position for the fade-in effect */
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
}

/* Header Styling */
.experience-full-page h2 {
    color: #66d9ff;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-button {
    background-color: #0e1b2a;
    color: #66d9ff;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.tab-button.active {
    background-color: #66d9ff;
    color: #0e1b2a;
}

.tab-button:hover {
    background-color: #66d9ff;
    color: #0e1b2a;
}

/* Tab Content */
.tab-content-container {
    max-width: 800px;
    text-align: left;
}

.tab-content {
    display: none;
    animation: fadeIn 1.5s ease-in-out;
}

.tab-content.active {
    display: block;
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Query for Smaller Screens */
@media (max-width: 600px) {
    .tab-button {
        font-size: 0.9rem; /* Smaller font size for buttons */
        padding: 0.6rem 1.2rem; /* Adjust padding */
    }
}

/* Experience List with Arrow Bullet Points */
.experience-list {
    list-style: none; /* Remove default bullets */
    padding: 0;
    margin: 1rem 0;
}

.experience-list li {
    display: flex;
    align-items: flex-start; /* Align items to the top to keep the arrow in line with the first line of text */
    margin-bottom: 1rem; /* Add more spacing between list items for readability */
    font-size: 1.1rem;
    color: #b0c4de;
}

.experience-list i {
    color: #66d9ff;
    margin-right: 0.75rem; /* Increased space between arrow and text for better readability */
    font-size: 1.2rem;
    line-height: 1.3; /* Helps keep arrow aligned with the text line height */
    transition: transform 0.3s ease;
}

.experience-list li:hover i {
    transform: translateX(5px); /* Small movement effect on hover */
}

/* Experience Date Styling */
.experience-date {
    color: #b0c4de; /* Light blue-gray color for better transparency effect */
    opacity: 0.7; /* Make it more transparent */
    font-size: 1rem; /* Slightly smaller font size */
    margin-bottom: 1rem; /* Add some space below the date */
}

/* Additional Content in Experience Section */
.additional-content {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    margin-top: 3rem;
    gap: 3rem;
    flex-wrap: wrap;
}

/* Skills Overview */
.skills-overview, .certifications {
    background-color: #0e1b2a;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    text-align: left;
}

.skills-overview h3, .certifications h3 {
    color: #66d9ff;
    margin-bottom: 1rem;
}

/* Skills List */
.skills-list, .certifications-list {
    list-style: none;
    padding: 0;
}

.skills-list li, .certifications-list li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: #b0c4de;
    display: flex;
    align-items: center;
}

.skills-list i, .certifications-list i {
    color: #66d9ff;
    margin-right: 0.5rem;
    font-size: 1.3rem;
}

/* Fade-in Animation for Project Section */
.projects {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
}

.projects h2 {
    font-size: 2rem;
    color: #66d9ff;
    margin-bottom: 2rem;
}

.project-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.project-card {
    background-color: #1b3b52;
    padding: 1.5rem;
    border-radius: 10px;
    width: calc(33% - 2rem);
    max-width: 400px;
    min-width: 280px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.project-card h3 {
    font-size: 1.5rem;
    color: #66d9ff;
    margin-bottom: 1rem;
}

.project-card p {
    font-size: 1rem;
    color: #b0c4de;
    margin-bottom: 2rem;
}

.project-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.project-links a {
    color: #66d9ff;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.project-links a:hover {
    color: #ffffff;
}

/* Folder Icon */
.project-card::before {
    content: "\f07b"; /* Font Awesome folder icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #66d9ff;
    font-size: 1.5rem;
    position: absolute;
    top: 1rem;
    left: 1rem;
}

/* Technology Tags */
.project-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    margin-bottom: 0;
    justify-content: center;
}

.project-technologies span {
    background-color: #0e1b2a;
    color: #66d9ff;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.project-technologies span:hover {
    background-color: #66d9ff;
    color: #0e1b2a;
    transform: translateY(-3px);
}

/* Smooth Scroll for Navbar Links */
html {
    scroll-behavior: smooth;
}

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

/* Navbar Resume Link */
.nav-links a.resume-link {
    color: #ffffff;
    text-decoration: none;
    margin: 0 1rem;
    font-size: 1rem;
}

.nav-links a.resume-link:hover {
    color: #66d9ff;
}

/* Footer Resume Button */
.footer-resume {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: #66d9ff;
    color: #0e1b2a;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-resume:hover {
    background-color: #ffffff;
    color: #0e1b2a;
}


/* Media Query for Smaller Screens */
@media (max-width: 900px) {
    .project-card {
        width: calc(50% - 1rem);
    }
}

@media (max-width: 600px) {
    .project-card {
        width: 100%;
    }
}

/* General Mobile Adjustments for Smaller Screens */
@media (max-width: 900px) {
    /* General Section Padding */
    section {
        padding: 2rem 1rem;
        max-width: 95%; /* Keep the content width at 95% of the screen */
        margin: auto; /* Center the section horizontally */
    }

    /* Intro Section */
    #intro {
        flex-direction: column;
        padding: 2rem 1rem;
        min-height: 60vh;
        text-align: center;
        gap: 1rem;
        max-width: 95%;
        margin: auto; /* Center the intro section */
    }

    .intro-left h1 {
        font-size: 2.5rem; /* Reduce font size */
    }

    .intro-left p {
        font-size: 1rem;
    }

    /* Experience Section */
    .experience-full-page {
        padding: 2rem 1rem;
        max-width: 95%; /* Set max-width for better control on small screens */
        margin: auto;
    }

    .tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .tab-button {
        flex: 1 1 100%;
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }

    .tab-content-container {
        margin-top: 1.5rem;
        max-width: 95%; /* Keep tab content comfortably within the screen */
        margin: auto;
    }

    .skills-overview, .certifications {
        max-width: 95%;
        margin: auto;
        margin-bottom: 2rem;
    }

    /* Profile Picture */
    .profile-picture {
        width: 200px;
        height: 200px;
    }
}

/* Media Query for Smaller Screens (Below 600px) */
@media (max-width: 600px) {
    /* Intro Section */
    #intro {
        flex-direction: column; /* Stack elements vertically */
        text-align: center; /* Center text */
        padding: 5rem 3rem; /* Reduce padding */
        min-height: 50vh; /* Reduce the height of the section */
    }

    .intro-left p {
        font-size: 1rem; /* Smaller paragraph text */
    }

    .typing-effect {
        width: auto; /* Allow the width to adjust automatically */
        max-width: 100%; /* Prevent overflow */
    }

    /* About Me Section */
    .about-me {
        padding: 2rem 1rem; /* Reduce padding for a better fit */
    }

    .about-content {
        flex-direction: column; /* Stack image and text vertically */
        text-align: center; /* Center align for mobile */
        gap: 1rem; /* Reduce the gap between image and text */
    }

    .profile-pic {
        width: 200px; /* Smaller image size for mobile */
        height: 200px; /* Match width for a square look */
        margin-bottom: 1rem; /* Add some space below the image */
    }

    .about-text {
        max-width: 90%; /* Prevent the text from touching edges */
        margin: 0 auto; /* Center the text */
    }

    .tech-list {
        gap: 0.5rem; /* Reduce gap between items */
    }

    .tech-list li {
        font-size: 0.9rem; /* Reduce the size of tech list items */
        padding: 0.3rem 0.8rem; /* Adjust padding for smaller items */
        position: center;
    }

    /* Experience Section */
    .experience-full-page {
        padding: 2rem 1rem; /* Reduce padding */
    }

    .experience-content {
        max-width: 90%; /* Fit content within the screen */
        margin: auto; /* Center the content */
    }

    /* Tabs for Experience */
    .tabs {
        flex-wrap: wrap; /* Wrap buttons if needed */
        gap: 0.5rem; /* Reduce spacing between tabs */
    }

    .tab-button {
        flex: 1 1 100%; /* Make each tab button take full width */
        font-size: 1rem; /* Adjust font size for smaller screens */
        padding: 0.7rem 0.5rem; /* Adjust padding */
    }

    .tab-content-container {
        margin-top: 1.5rem;
        max-width: 90%; /* Prevent content from reaching edges */
    }

    /* General Body Padding for Mobile */
    body {
        padding: 0 0.5rem; /* Add padding on the sides */
    }

    /* Navbar on Mobile */
    header {
        padding: 0.8rem 1rem; /* Adjust padding for mobile */
    }

    .nav-links {
        display: none; /* Hide nav links for smaller screens */
    }

    .social-icons {
        margin-left: 0; /* Align social icons to center on mobile */
    }

    .social-icons a {
        font-size: 1.2rem; /* Slightly reduce icon size for better fit */
        margin: 0 0.3rem; /* Reduce gap between social icons */
    }

    .typing-effect {
        width: auto;
        max-width: 100%; /* Allow the typing effect to be responsive */
        animation: typing 2s steps(20, end), blink 0.5s step-end infinite alternate;
    }
}

