/* 🌟 General Styling */
/* ?? Import Poppins and Inter from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

/* Apply Font to Paragraphs */
p {
   font-family: 'Poppins', sans-serif; /* Switch to 'Inter', sans-serif if needed */
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin: 0;
    padding: 0;
}
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif,'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background: #ffffff; 
    height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
}

body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 20px;
}

/* 📌 Resume Container */
.resume-container {
    display: flex;
    flex-direction: row;
    max-width: 1100px;
    width: 100%;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
    position: relative;
}

/* 📂 Sidebar */
.sidebar {
    width: 35%;
    background: #f8f8f8;
    padding: 20px;
    border-right: 1px solid #ddd;
}

/* 🖼 Profile Picture */
.profile-picture img {
    width: 100%;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 5px solid #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-picture img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

/* 📝 Contact, Expertise & Social Links */
.contact-info, .social-links, .expertise, .education {
    margin-bottom: 20px;
    text-align: left;
}

.contact-info h1 {
    font-size: 22px;
    margin-bottom: 10px;
}

.contact-info p {
    margin: 5px 0;
    font-size: 14px;
}

/* 📄 Main Content */
.main-content {
    width: 65%;
    padding: 40px;
    background: #fff;
    overflow: auto;
    font-family: 'Open Sans', sans-serif;
}

.main-content h1 {
    font-size: 24px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.main-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* 📑 Job Experience */
.job {
    margin-bottom: 20px;
}

.job h2, .job p.company {
    margin: 0;
    font-weight: bold;
}

.job p.company {
    font-size: 14px;
   
}

/* 🔹 Footer */
footer {
    text-align: center;
    padding: 10px;
    background: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

footer button {
    background: #77aaff;
    color: #fff;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: background 0.3s;
}

footer button:hover {
    background: #005bbb;
}

/* 🎯 Navigation Tabs */
.nav-tabs {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    position: absolute;
    top: 10px;
    right: 20px;
}

.nav-tabs a {
    text-decoration: none;
    background-color: lightsteelblue;
    color: white;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-tabs a:hover {
    background-color: #005bbb;
}
/* 🖼 Lightbox for Images (Smooth Opening) */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 10px;
    animation: zoomIn 0.3s ease-in-out;
}

/* 🔄 Smooth Zoom Effect */
@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ❌ Close Button for Lightbox */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    border-radius: 50%;
    transition: background 0.3s ease-in-out, transform 0.2s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

/* 📱 Responsive Design */
@media (max-width: 1024px) {
    .resume-container {
        flex-direction: column;
    }
    .sidebar, .main-content {
        width: 100%;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .contact-info h1 {
        font-size: 20px;
    }
    .main-content h1 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .contact-info h1 {
        font-size: 18px;
    }
    .main-content h1 {
        font-size: 20px;
    }
    footer button {
        font-size: 14px;
    }
}
/* Project Item Styling */
.project-item {
    padding: 20px;
    margin-bottom: 20px;
    background-color: #f9f9f9; /* Light background for contrast */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Hover effects */
}

.project-item:hover {
    transform: translateY(-5px); /* Slight lift effect */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Project Title Styling */
.project-item h3 {
    font-size: 24px;
    font-weight: bold;
    color: #333; /* Darker text for contrast */
    margin-bottom: 15px;
    text-transform: uppercase; /* Makes the title stand out */
}

/* Project Description Styling */
.project-description {
    font-size: 16px;
    line-height: 1.6;
    color: #555; /* Softer text color for readability */
    margin-top: 10px;
}

/* Highlight Key Details in the Description */
.project-description span {
    font-weight: bold;
    color: #000; /* Darker color for emphasis */
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif,'Open Sans', sans-serif;
}

/* Projects Table Layout */
.projects-table {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
}

.projects-section {
  max-width: 1200px;
  margin: 0 auto;
}

.projects-table {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.project-images {
  display: flex;
  gap: 10px;
}

.project-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
}
/* 🌟 Sidebar Styling */
.sidebar {
    width: 35%;
    background: #f9f9f9;
    padding: 25px;
    border-right: 1px solid #ddd;
    box-shadow: 5px 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px 0 0 12px;
}

/* 🖼 Profile Picture */
.profile-picture img {
    width: 100%;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 6px solid #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.profile-picture img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

/* 📝 Contact Information */
.contact-info {
    text-align: left;
    margin-bottom: 20px;
}

.contact-info h1 {
    font-size: 22px;
    margin-bottom: 5px;
    color: #222;
}

.contact-info p {
    font-size: 15px;
    color: #444;
    margin: 5px 0;
}

.contact-info strong {
    color: #005bbb;
}

/* 🔗 Social Links */
.social-links {
    text-align: left;
    margin-top: 20px;
}

.social-links a {
    text-decoration: none;
    font-weight: bold;
    color: #005bbb;
    font-size: 16px;
    transition: color 0.3s ease-in-out;
}

.social-links a:hover {
    color: #003f7f;
}

/* 📌 Section Headers */
.sidebar h2 {
    font-size: 20px;
    color: #222;
    margin-top: 20px;
    padding-bottom: 5px;
    border-bottom: 2px solid #ddd;
}

/* 🔹 Expertise & Interests */
.expertise ul, .interests ul {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.expertise ul li, .interests ul li {
    font-size: 15px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    transition: color 0.3s ease-in-out;
}

.expertise ul li:hover, .interests ul li:hover {
    color: #005bbb;
    font-weight: bold;
}

/*Education & Certification */
.education-certification {
    margin-top: 20px;
}

.education-certification-item {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.education-certification-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.education-certification-item h3 {
    font-size: 16px;
    font-weight: bold;
    color: #222;
    margin-bottom: 5px;
}

.education-certification-item p {
    font-size: 14px;
    color: #555;
}

/* 📱 Responsive Sidebar */
@media (max-width: 1024px) {
    .sidebar {
        width: 100%;
        border-radius: 12px;
        border-right: none;
        text-align: center;
    }
}
/* 💬 Popup Message Styling */
#popup-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #4CAF50;
    color: white;
    padding: 15px 25px;
    font-size: 18px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 1000;
}

.hidden {
    opacity: 0;
    pointer-events: none;
}
/* ?? Fix Contact Form Layout */
.contact-container {
    width: 100%;
    max-width: 600px; /* Matches layout width */
    margin: 20px auto; /* Centers the form */
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Ensure input fields are stacked vertically */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.contact-form textarea {
    height: 100px; /* Ensures proper height for message box */
    resize: vertical;
}

.contact-form button {
    background: #5cb85c;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #4cae4c;
}

/* ? Ensure styles apply properly when dynamically loaded */
.message-box {
    margin-top: 15px;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    display: none;
    text-align: center;
}

.message-box.success {
    color: green;
}

.message-box.error {
    color: red;
}
.download-tab {
    text-decoration: none;
    background-color: lightsteelblue;
    color: white;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.download-tab:hover {
    background-color: #005bbb;
}