/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #0f172a;
    color: #fff;
    line-height: 1.6;
}

header {
    padding: 1rem 2rem;
    background-color: #1e293b;
}

nav ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    gap: 1rem;
}

.download-btn {
    background-color: #3b82f6;
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
}

.intro {
    text-align: left;
    padding: 2rem;
}

.intro h1 {
    font-size: 2.5rem;
}

.intro p {
    margin: 1rem 0;
}
.intro {
    display: flex;
    justify-content:left;
    align-items: center;
    gap: 40px;
    padding: 20px;
}
.left,
.right {
    width: 250px;
    text-align: left;
}

.divider {
    height: 100px;
    width: 2px;
    background-color: grey;
}
.location-status {
    display: block;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.social-icons {
    display: flex;
    justify-content: left;
    gap: 1rem;
}

.social-icons a {
    color: #94a3b8;
    font-size: 1.5rem;
}

.skills {
    text-align: center;
    padding: 2rem;
}

.skills h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.skill-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
    margin-top: 2rem;
}

.skill-icons div {
    background-color: #1e293b;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.skill-icons img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.skill-icons p {
    font-size: 0.9rem;
    color: #94a3b8;
}

.skill-icons div:hover {
    transform: scale(1.1);
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.3);
}

/* Scroll effect */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}
.contact-footer {
    background-color: #121212;
    /* Dark background */
    color: #fff;
    text-align: center;
    padding: 2em 1em;
    font-family: Arial, sans-serif;
}

.contact-footer .contact-section {
    margin-bottom: 1em;
}

.get-in-touch {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 0.5em 1em;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 1em;
    font-size: 1rem;
}

.get-in-touch:hover {
    background-color: #444;
}

.email {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
    font-size: 1.1rem;
    margin: 1em 0;
}

.copy-email {
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    font-size: 1rem;
}

.copy-email:hover {
    color: #ddd;
}

.social-icons {
    margin: 1em 0;
}

.social-icons a {
    margin: 0 0.5em;
    text-decoration: none;
}

.social-icons img {
    width: 24px;
    height: 24px;
}
.social-icons2 {
    margin: 1em 0;
}

.social-icons2 a {
    margin: 0 0.5em;
    text-decoration: none;
}

.social-icons2 img {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1em;
    font-size: 0.9rem;
    color: #aaa;
}
/* Initial hidden state for skill icons */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    /* Adjust for slight downward animation */
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* When element comes into view */
.show {
    opacity: 1;
    transform: translateY(0);
    /* Reset to original position */
}
/* General Section Styling */
.projects-section {
    text-align: center;
    margin: 50px 0;
    color: #fff;
}

.projects-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.projects-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Project Container */
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

/* Project Card Styling */
.project-card {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}


.project-content {
    padding: 20px;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-content p {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.5;
}



/* Project Links */
.project-links {
    display: flex;
    justify-content: flex-start;
}

.project-links a {
    color: #007bff;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.project-links a:hover {
    color: #00aaff;
}
/* General Section Styling */
.internships-section {
    text-align: center;
    margin: 50px 0;
    color: #fff;
}

.internships-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.internships-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Internship Container */
.internships-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Ensures exactly 4 columns */
    gap: 20px;
    padding: 0 20px;
}
/* Internship Card Styling */
.internship-card {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.internship-card:hover {
    transform: translateY(-10px);
}


.internship-content {
    padding: 20px;
}

.internship-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.internship-content p {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Tags Styling */


/* Internship Links */
.internship-links {
    display: flex;
    justify-content: flex-start;
}

.internship-links a {
    color: #007bff;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.internship-links a:hover {
    color: #00aaff;
}
/* Education Section Styling */
.education-section {
    text-align: center;
    margin: 50px 0;
    color: #fff;
}

.education-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #f5f5f5;
}

.education-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
}

.education-card {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: left;
    transition: transform 0.3s ease;
}

.education-card:hover {
    transform: translateY(-10px);
}

.education-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #00aaff;
}

.education-content p {
    font-size: 1rem;
    margin: 5px 0;
    line-height: 1.5;
    color: #d3d3d3;
}

.education-content strong {
    color: #fff;
}
/* General Body Styling for a Smooth Experience */
body {
    font-family: 'Arial', sans-serif;
    color: #fff;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    animation: backgroundFade 10s infinite alternate;
}

@keyframes backgroundFade {
    0% {
        background: #0f0c29;
    }

    50% {
        background: #302b63;
    }

    100% {
        background: #24243e;
    }
}

/* Header Button Hover Effect */
.download-btn {
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    background: #00aaff;
    color: #fff;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.download-btn:hover {
    background: #005f7a;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Skill Icons with Hover Animation */
.skill-icons div {
    display: inline-block;
    text-align: center;
    margin: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.skill-icons div:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
}

.skill-icons div img {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

.skill-icons div:hover img {
    transform: rotate(360deg);
}

/* Internship and Projects Section Cards */
.internship-card,
.project-card,
.education-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 10px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

.internship-card:hover,
.project-card:hover,
.education-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Background Animation for Cards */
.internship-card::before,
.project-card::before,
.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s;
}

.internship-card:hover::before,
.project-card:hover::before,
.education-card:hover::before {
    left: 100%;
}

/* Footer Contact Button Animation */
.get-in-touch {
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    background: #ff5722;
    color: #fff;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.get-in-touch:hover {
    background: #c41c00;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Social Icons Animation */
.social-icons a img,
.social-icons2 a img {
    width: 40px;
    height: 40px;
    filter: grayscale(100%);
    transition: filter 0.3s, transform 0.3s;
}

.social-icons a:hover img,
.social-icons2 a:hover img {
    filter: grayscale(0%);
    transform: scale(1.2);
}

/* Education Section Title Animation */
.education-section h2 {
    font-size: 2.5rem;
    color: #ffeb3b;
    animation: textGlow 1.5s infinite;
}

@keyframes textGlow {

    0%,
    100% {
        text-shadow: 0 0 5px #ffeb3b, 0 0 10px #ffeb3b;
    }

    50% {
        text-shadow: 0 0 10px #ffeb3b, 0 0 20px #ffeb3b;
    }
}