/* 🎨 General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: none;
    background-image: url(portfolio_bg.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
}

div {
    border-radius: 15px; /* Adjust the value for more or less rounding */
}

/* Transparent Navbar */
.navbar, .navbar-header, .navbar-nav {
    background: rgba(34, 34, 34, 0.8) !important; /* Dark background with slight opacity */
    box-shadow: none;
}

.name-highlight {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #ff00ff, #8000ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(128, 0, 255, 0.8);
    animation: glow 1.5s infinite alternate;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 10px rgba(128, 0, 255, 0.8);
    }
    100% {
        text-shadow: 0 0 20px rgba(255, 0, 255, 1);
    }
}

.profile-photo {
    width: 250px; /* Adjust size */
    height: 250px;
    border-radius: 20px; /* Instead of full circle, use rounded edges */
    object-fit: cover; /* Ensures the image scales properly */
    border: 5px solid rgba(255, 255, 255, 0.2); /* Subtle border */
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3); /* Soft shadow */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.profile-photo:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    box-shadow: 0px 8px 20px rgba(128, 0, 255, 0.5); /* Purple glow on hover */
}



/* Header */
header {
    background: rgba(34, 34, 34, 0.8);
    box-shadow: none;
}

/* Transparent Sections (like resume, about, skills) */
.resume-section, .about-section, .portfolio-section, .skills-container, .skill-item {
    background: rgba(34, 34, 34, 0.7); /* Dark sections with slight transparency */
    box-shadow: none;
}

/* General Container */
.container, .skills-container, .skill-item, .resume-section, .portfolio-section, .about-section {
    background: rgba(34, 34, 34, 0.8); /* Slight transparency for a uniform dark color */
    box-shadow: none;
}

/* Optional: Add a transparent overlay to improve text readability */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent black overlay */
    z-index: -1; /* Ensure overlay stays behind the content */
}

/* Ensure other sections or content don't block the background */
h1, h2, h3, p {
    color: white; /* Ensure text is readable against the background */
}

/* 🔝 Navigation Bar */
nav {
    background: linear-gradient(45deg, #007BFF, #00C6FF);
    padding: 15px 0;
    text-align: center;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

/* Navbar Links */
nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 18px;
    padding: 10px 15px;
    transition: background 0.3s, border-radius 0.3s;
}


nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}
/* 🏆 Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(34, 34, 34, 0.8), rgba(0, 0, 128, 0.5)); /* Dark gradient */
    color: white;
    padding: 60px 20px;
}

.hero-content {
    max-width: 600px;
    text-align: left;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero h2 span {
    color: #FFD700; /* Gold Accent */
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
}

.hero .btn {
    display: inline-block;
    padding: 12px 25px;
    background: #FFD700;
    color: black;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.hero .btn:hover {
    background: #FFB000;
}

.hero img {
    width: 200px;
    border-radius: 50%;
    margin-left: 20px;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

/* 🔥 Featured Projects */
.featured-projects {
    background: black;
    padding: 50px 20px;
    background: rgba(34, 34, 34, 0.8); /* Uniform dark background */
    padding: 50px 20px;
}

/* Featured Projects */
.featured-projects .projects {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 0 auto;
}
.featured-projects .project {
    background-color: #444;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 250px; /* Set width for project cards */
    text-align: center;
    padding: 15px;
    transition: transform 0.3s ease;
    margin-bottom: 20px; /* Space below each project card */
}
.featured-projects .project img {
    width: 100%;  /* Ensures image stretches to fill the card */
    height: auto;
    border-radius: 8px;
    object-fit: cover; /* Keeps the image well-cropped */
    max-height: 180px;  /* Limits height of images */
}
/* Projects Section */
.projects {
    background: rgba(34, 34, 34, 0.8);
    padding: 60px 20px;
    text-align: center;
    color: white;
}
.projects h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.projects h2 span {
    color: #FFD700;
}

.project h3 {
    margin-top: 10px;
    font-size: 1.5rem;
}

.project p {
    font-size: 1rem;
    margin: 10px 0;
}
.project a {
    text-decoration: none;
    color: #fff;
    background-color: #007bff;
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
}


.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: auto;
}

.project-card {
    background: rgba(34, 34, 34, 0.8);
    color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    text-align: center;
}

.project img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.project-card:hover {
    transform: scale(1.05);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 15px;
}

.project-info h3 {
    font-size: 20px;
}

.project-info p {
    font-size: 16px;
    color: gray;
}

.my-projects {
    background-color: #1a1a1a;
    text-align: center;
    padding: 50px 20px;
    height: 80vh; /* Set a fixed height */
    overflow-y: auto; /* Enable vertical scrollbar */
    scrollbar-width: thin; /* Thin scrollbar for Firefox */
    scrollbar-color: #5c0db3 #1a1a1a; /* Purple thumb on dark background */
}

/* Custom Scrollbar for Chrome, Edge, and Safari */
.my-projects::-webkit-scrollbar {
    width: 8px; /* Width of the scrollbar */
}
.my-projects::-webkit-scrollbar-thumb {
    background-color: #5c0db3; /* Purple scrollbar */
    border-radius: 10px;
}

.my-projects::-webkit-scrollbar-track {
    background-color: #1a1a1a; /* Track color */
}
.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #FFD700;
    color: black;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.btn:hover {
    background: #FFB000;
}
/* 👤 About Me Section */
.about {
    background: rgba(34, 34, 34, 0.8); /* Unified dark background */
    color: white;
    padding: 60px 20px;
    text-align: center;
}
.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: auto;
    gap: 40px;
    flex-wrap: wrap;
}

.about-image img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

.about-text {
    max-width: 500px;
    text-align: left;
}

.about-text h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.about-text h2 span {
    color: #FFD700;
}

.about-text h3 {
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 15px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 10px 15px;
    background: #FFD700;
    color: black;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.btn:hover {
    background: #FFB000;
}

/* 🛠️ Skills Section */
.skills {
    background: rgba(34, 34, 34, 0.8); /* Consistent background */
    color: white;
    padding: 60px 20px;
    text-align: center;
}


.skills h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.skills h2 span {
    color: #FFD700;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: auto;
    text-align: left;
}

.skill-category {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
}

.skill-category h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #FFD700;
}

.skill {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.skill-item {
    width: 100px; /* Adjust the width to accommodate bigger icons */
    height: 100px; /* Adjust the height to accommodate bigger icons */
    border: 2px solid #FFD700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: #222;
    transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.skill-item i {
    font-size: 60px; /* Increase icon size */
    color: white; /* Change icon color to white */
    transition: transform 0.3s ease, color 0.3s ease;
}


.skill-item:hover {
    transform: scale(1.1); /* Scale effect on hover */
    background-color: rgba(128, 0, 128, 0.7); /* Purple hue on hover */
}

.skill-item:hover i {
    transform: scale(1.1); /* Slightly scale the icon on hover */
    color: #FFFFFF; /* Change icon color on hover */
}

.skill-item img {
    width: 80px; /* Increased icon size */
    height: 80px; /* Increased icon size */
    object-fit: contain;
    transition: transform 0.3s ease;
}

.skill-item:hover img {
    transform: scale(1.2);
}

/* 📝 Resume Section */
.resume {
    background: rgba(34, 34, 34, 0.8); /* Uniform dark background */
    color: white;
    padding: 60px 20px;
}

.resume-container {
    max-width: 900px;
    margin: auto;
    text-align: left;
}

.resume h2 {
    font-size: 36px;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
    color: #FFD700;
}

.resume h2 span {
    color: #FFD700;
}

.resume-section {
    margin-bottom: 40px;
}

.resume-section h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #FFD700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
}

.resume-section h3 i {
    margin-right: 10px;
}

.resume-item {
    margin-bottom: 20px;
}

.resume-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.resume-item p {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 10px;
    font-family: 'Roboto', sans-serif;
}

.resume-item ul {
    list-style-type: disc;
    padding-left: 20px;
}

.resume-item ul li {
    font-size: 16px;
    line-height: 1.6;
    font-family: 'Roboto', sans-serif;
}
/* Download Button */
.download-btn {
    text-align: center;
    margin: 20px 0;
}
.btn-download {
    background-color: #FFD700;
    color: black;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 18px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.btn-download:hover {
    background-color: #FFB700;
}

.btn-download i {
    margin-right: 10px;
    font-size: 20px;
}

/* Skills Section */
.skills-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.skill-item {
    width: 100px;
    height: 100px;
    border: 2px solid #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: #222;
    transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
.skill-item i {
    font-size: 60px;
    color: white;
    transition: transform 0.3s ease, color 0.3s ease;
}
.skill-item:hover {
    transform: scale(1.1); /* Scale effect on hover */
    border-color: #FFB700;
    background-color: #333;
}

.skill-item:hover i {
    transform: scale(1.1); /* Slightly scale the icon on hover */
    color: white; /* Change color on hover */
}



/* Social Links */
footer .social-links {
    text-align: center;
    margin-top: 20px;
}

footer .social-links a {
    margin: 0 10px;
}
footer .social-links a i {
    font-size: 40px; /* Set the icon size */
    margin: 0 15px;  /* Add spacing between the icons */
    transition: transform 0.3s ease; /* Smooth transition for hover effect */
    color: white; 
}
footer .social-links a i:hover {
    transform: scale(1.2); /* Slightly enlarge the icon on hover */
    color: #ffcc00;
}

footer .social-links img {
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
}

/* Social Links */
footer .social-links {
    text-align: center;
    margin-top: 20px;
}

footer .social-links a {
    margin: 0 10px;
}

footer .social-links img {
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
}


/* 📩 Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, #28a745, #218838);
    color: white;
    padding: 40px;
    margin-top: 20px;
}

.contact-cta h2 {
    font-size: 28px;
}

.contact-cta p {
    font-size: 18px;
}

.contact-cta .btn {
    background: white;
    color: #218838;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    transition: background 0.3s;
}

.contact-cta .btn:hover {
    background: #f8f9fa;
}

/* 📌 Footer */
footer {
    background: rgba(34, 34, 34, 0.8); /* Consistent dark footer */
    color: white;
    padding: 20px;
}


.social-links {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.social-links a {
    margin: 0 10px;
}

.social-links img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease-in-out;
}

.social-links img:hover {
    transform: scale(1.2);
}
/* 🌟 Scroll Animations */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 🔆 Dark Mode */
.dark-mode {
    background: #222;
    color: #f4f4f4;
}

.dark-mode nav {
    background: linear-gradient(45deg, #444, #222);
}

.dark-mode .hero {
    background: linear-gradient(135deg, #444, #222);
}

.dark-mode .contact-cta {
    background: linear-gradient(135deg, #333, #111);
}

/* 🎛️ Dark Mode Button */
.dark-mode-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ffcc00;
    border: none;
    padding: 10px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.dark-mode-toggle:hover {
    background: #ff9900;
}

/* 🔝 Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #007BFF;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.back-to-top.visible {
    opacity: 1;
}

.back-to-top:hover {
    background: #0056b3;
} 
/* Contact Form Styling */
.contact-form-container {
    padding: 40px;
    background: linear-gradient(135deg, rgba(68, 68, 255, 0.1), rgba(255, 102, 204, 0.1));
    border-radius: 15px;
    max-width: 800px;
    margin: 30px auto;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-size: 18px;
    margin-bottom: 8px;
    color: #444;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #6a4cff;
    outline: none;
}

.contact-form button {
    padding: 15px;
    background-color: #6a4cff;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #5a3fdd;
}

/* Contact Info Section Styling */
.contact-info {
    text-align: center;
    margin-top: 40px;
}

.contact-info h3 {
    font-size: 24px;
    color: #333;
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.social-icons a {
    margin: 0 15px;
}

.social-icons img {
    width: 35px;
    transition: transform 0.3s;
}

.social-icons img:hover {
    transform: scale(1.2);
}

/* Footer Styling */
footer {
    background-color: #333;
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 14px;
}
/* Collaboration Section Styling */
.collaborate-section {
    text-align: center;  /* Centers the text and button */
    padding: 50px;
    background-color: rgba(0,0,0,0.6); /* Purple background with 50% transparency */
    background-color: #444;
    color: white;
}

.collaborate-section h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
}

.collaborate-section p {
    font-size: 18px;
    margin-bottom: 30px;
}

.collaborate-section .btn {
    padding: 15px 30px;
    background-color: #ffcc00; /* Button with slight transparency */
    color: black;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.collaborate-section .btn:hover {
    background-color: #ffc107;
}
/* Media Queries */

/* For tablets */
@media screen and (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero img {
        margin-top: 20px;
        max-width: 250px;
    }

    .featured-projects .projects {
        flex-direction: column;
        align-items: center;
    }

    .project {
        width: 80%;
    }

    form {
        width: 80%;
    }

    footer .social-links a {
        font-size: 25px;
    }
}

/* For mobile phones */
@media screen and (max-width: 480px) {
    .hero {
        padding: 20px;
    }

    .hero-content h2 {
        font-size: 1.5em;
    }

    .hero-content p {
        font-size: 1em;
    }

    .featured-projects .projects {
        flex-direction: column;
        align-items: center;
    }

    .project {
        width: 90%;
        margin-bottom: 20px;
    }

    footer .social-links a {
        font-size: 20px;
    }

    form {
        width: 90%;
    }
}

