/* General Dark Theme Styles */
html, body {
    overflow-x: hidden;
}

body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212; /* Dark background */
    color: #e0e0e0; /* Light gray text for readability */
}

::selection {
    text-shadow: 0 0 1rem #00FF88; /* Neon green text highlight */
}
.header-txt{
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 2rem;
    color: #00FF88;
    text-shadow: 0 0 10px #00FF88;
}
/* Container for form */
.form-container {
    width: 100%;
    max-width: 700px;
    margin: 40px auto;
    padding: 30px;
    background-color: #1e1e1e; /* Dark gray background */
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.1); /* Subtle neon green shadow */
    border: 1px solid #00FF88; /* Neon green border */
}

/* Heading */
h1 {
    text-align: center;
    color: #00FF88; /* Neon green for emphasis */
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Labels for form elements */
label {
    font-weight: bold;
    color: #e0e0e0; /* Light gray for readability */
    display: block;
    margin: 15px 0 5px 0;
    font-size: 1.1rem;
}

/* Input fields and textarea */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #333; /* Darker border for input */
    border-radius: 5px;
    background-color: #2a2a2a; /* Dark input background */
    color: #e0e0e0; /* Light text for contrast */
    border-color: #00FF88; /* Neon green for focus */
    resize: none;
    box-sizing: border-box;
    font-size: 1rem;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

/* Input focus effect */
input:focus,
textarea:focus {
    outline: none;
    border-color: #00FF88; /* Neon green for focus */
    box-shadow: 0 0 10px #00FF88; /* Neon green glow effect */
}

/* Textarea styling */
textarea {
    resize: vertical;
    height: 120px; /* Increase default height */
}

/* Buttons */
button {
    background-color: transparent; 
    border: 2px solid #00FF88;
    box-shadow: 0 0 .6rem #00FF88;
    font-weight: 600;
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    margin: 5px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: transparent; 
    box-shadow: none;
    transform: translateY(-2px);
}

button:focus {
    outline: none;
}
#generate-download-btn{
    display: flex;
    justify-content: center;
}
#generate-download-btn button{
    margin: 10px;
}
/* Skills, Certifications, and Projects container styling */
#skillsContainer,
#certificationsContainer,
#projectsContainer {
    margin-bottom: 10px;
}


/* OUT PUT RESUME */
/* Container */
/* Light Theme Resume */
.container {
    width: 90%;
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: #ffffff; /* Light background for the resume */
    border-radius: 10px;
    border: 2px solid #007bff; /* Change this color to your preferred border color */
    box-sizing: border-box;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

/* Resume Header */
.resume-header {
    text-align: center;
    position: relative;
    margin-bottom: 2rem;
}

.resume-header img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #006eff; /* Blue border for emphasis */
    box-shadow: 0 0 1rem rgba(0, 123, 255, 0.1);
}

.resume-header h1 {
    margin: 1rem 0 0.5rem 0;
    font-size: 2.5rem;
    color: #333333; /* Dark gray text for headings */
}

.resume-header p {
    margin: 0.5rem 0;
    color: #666666; /* Medium gray for subtitles */
    font-size: 1.2rem;
}

/* Resume Sections */
.resume-section {
    margin-bottom: 2.5rem;
}

.resume-section h2 {
    font-size: 1.8rem;
    color: #006eff; /* Blue for section headers */
    border-bottom: 2px solid #006eff;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.resume-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #006eff; /* Blue accent bar */
    border-radius: 5px;
}

.resume-section p {
    font-size: 1.1rem;
    color: #333333; /* Dark gray text for better readability */
    line-height: 1.6;
}

/* Skills Section */
#outputSkills {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

#outputSkills li {
    background-color: #f8f9fa; /* Light gray for skill items */
    color: #006eff; /* Blue text for skills */
    border: 1px solid #006eff;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    border-radius: 5px;
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.1); /* Subtle shadow for depth */
}

/* Certifications and Projects Section */
.resume-section ul {
    list-style-type: none; /* No bullet points */
    padding-left: 0;
}

.resume-section ul li {
    background-color: #f8f9fa; /* Light gray for certification and project items */
    color: #333333; /* Dark gray text */
    border: 1px solid #006eff;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.1); /* Subtle shadow for depth */
    font-size: 1.1rem;
}

/* Certifications and Projects Titles */
#certifications h2, #projects h2 {
    color: #006eff; /* Blue for section titles */
    border-bottom: 2px solid #006eff;
    padding-bottom: 0.5rem;
}

#certifications ul, #projects ul {
    padding-left: 2rem;
}

/* Projects section specific styling */
#outputProjects ul li {
    background-color: #ffffff; /* White background for projects */
    border-left: 3px solid #006eff; /* Blue line on the left of project items */
}


/* General print styles */
@media print {
    body {
        margin: 0;
        padding: 0;
        width: 210mm;
        height: 297mm;
    }

    .container {
        width: 220mm; /* A4 page width */
        height: 295mm; /* A4 page height */
        margin: 0;
        padding: 20mm; /* Padding inside the page */
        background-color: white; /* White background for PDF */
        border: none; /* Remove border in PDF */
        box-shadow: none; /* Remove shadow in PDF */
    }

    .resume-header img {
        width: 120px;
        height: 120px;
    }

    .resume-header h1 {
        font-size: 1.8rem;
    }

    .resume-header p {
        font-size: 1.1rem;
    }

    .resume-section h2 {
        font-size: 1.4rem;
    }

    .resume-section p {
        font-size: 1rem;
    }

    /* Ensure it all fits on one page */
    .resume-section {
        page-break-inside: avoid; /* Avoid splitting sections between pages */
    }

    /* Hide unnecessary elements for print */
    button, #resumeForm {
        display: none;
    }
}

/* Responsive Design for Medium Devices (Max Width: 900px) */
@media (max-width: 900px) {
    .form-container {
        width: 90%;
        margin: 4rem auto;
        padding: 1.5rem;
    }
}

/* Responsive Design for Tablets (Max Width: 768px) */
@media (max-width: 768px) {
    .form-container {
        width: 88%;
        margin: 3.5rem auto;
        padding: 1.2rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    button {
        font-size: 1rem;
        padding: 12px;
    }
}

/* Responsive Design for Small Devices (Max Width: 600px) */
@media (max-width: 600px) {
    .form-container {
        width: 85%;
        margin: 3rem auto;
        padding: 1rem;
    }

    h1 {
        font-size: 1.6rem;
    }

    button {
        padding: 10px;
        font-size: 1rem;
    }
}

/* Responsive Design for Very Small Devices (Max Width: 480px) */
@media (max-width: 480px) {
    .form-container {
        width: 90%;
        margin: 2.5rem auto;
        padding: 1rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    button {
        padding: 8px;
    }
}

/* Responsive Design for Extra Small Devices (Max Width: 360px) */
@media (max-width: 360px) {
    .form-container {
        width: 95%;
        margin: 2rem auto;
        padding: 0.8rem;
    }

    h1 {
        font-size: 1.4rem;
    }

    label,
    button {
        font-size: 0.9rem;
    }

    button {
        padding: 8px;
    }
}
