/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Background Video */
.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

/* Navbar - Now touching the top */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Navbar Styles */
/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Navbar */
/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #0f0f0f, #232323);
    padding: 15px 0;
    box-shadow: 0px 4px 20px rgba(255, 140, 0, 0.7);
    z-index: 1000;
    display: flex;
    justify-content: center; /* Centering Navbar */
    align-items: center;
}

/* Navbar Container */
.nav-container {
    display: flex;
    justify-content: center; /* Centering Links */
    align-items: center;
    width: 80%; /* Ensures it stays centered */
}

/* Navbar Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

/* Nav Items */
.nav-links li {
    display: inline-block;
    position: relative;
}

/* Navbar Text Styling */
.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 15px;
    transition: 0.3s ease-in-out;
}

/* Hover Effect: Box with Shadow */
.nav-links li a:hover {
    color: black;
    background-color: rgba(255, 165, 0, 0.9);
    box-shadow: 0px 4px 10px rgba(255, 140, 0, 0.7);
    border-radius: 8px;
    padding: 12px 18px;
}

/* Hamburger Menu */
.hamburger {
    font-size: 28px;
    color: white;
    cursor: pointer;
    display: none;
}

/* Mobile Responsive Navbar */
@media (max-width: 768px) {
    .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0 20px;
    }

    /* Hamburger Icon Visible */
    .hamburger {
        display: block;
        padding: 10px;
    }

    /* Navbar Hidden Initially */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        padding: 10px 0;
        text-align: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }

    /* Show menu when active */
    .nav-links.active {
        display: flex;
        max-height: 400px;
        overflow-y: auto;
    }

    .nav-links li {
        padding: 10px 0;
        width: 100%;
    }

    /* Remove Extra Black Line */
    .nav-links li a {
        display: block;
        width: 100%;
        padding: 12px;
        text-align: center;
    }

    /* Shadow Effect on Hover in Mobile */
    .nav-links li a:hover {
        background: rgba(255, 165, 0, 0.8);
        color: black;
        border-radius: 5px;
    }

    /* Fix Overlapping Content Issue */
    .content {
        margin-top: 80px;
        padding: 20px;
        text-align: center;
    }
}


/* Profile Container */
.profile-container {
    position: relative;
    width: 50%;
    margin: 120px auto; /* Keeps spacing balanced */
    text-align: left;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.profile-image {
    width: 100%;
    height: 750px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.overlay {
    position: absolute;
    bottom: 5%; /* Moves overlay to the bottom */
    left: 5%;
    width: 90%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: left; /* Align content to the left */
}

.name {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: white;
}

.name span {
    color: yellow; /* "Parth Vyas" in Yellow */
    font-weight: bold;
}

.tagline {
    font-size: 1.3rem;
    margin-top: 10px;
    color: orange; /* Tagline in Orange */
}

.description {
    font-size: 1rem;
    margin-top: 10px;
    line-height: 1.5;
}

.explore-btn {
    background: orange;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    margin-top: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
    box-shadow: 0px 4px 10px rgba(255, 165, 0, 0.5);
    display: block;
    margin-left: auto;
    margin-right: auto; /* Centers the button */
}

.explore-btn:hover {
    background: darkorange;
}


/* General Section Styles */
 
/* About Section - Bigger & Wider */
.about-me {
    max-width: 1100px; /* Wider for better spacing */
    margin: 50px auto; /* Proper centering */
    padding: 35px 45px; /* Balanced padding */
    text-align: left;
    font-size: 1em; /* Small font */
    line-height: 1.6; /* Compact readability */
    background: rgba(255, 255, 255, 0.1); /* Transparent background */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.08); /* Softer shadow */
    color: white; /* White font color */
    text-shadow: 0px 2px 6px rgba(255, 255, 255, 0.4); /* Subtle text glow */
}

/* Highlighted Passionate About AI Tagline */
.about-me p:last-child {
    font-weight: bold;
    color: #ffcc00; /* Yellow highlight */
    font-size: 1.1em; /* Small font */
    text-shadow: 0 0 6px rgba(255, 204, 0, 0.7); /* Softer yellow glow */
}

/* Download CV Section */
.download-cv {
    text-align: center;
    margin-bottom: 80px; /* Increased space between CV and Contact section */
    padding: 25px 0;
    background: linear-gradient(135deg, #121212, #222); /* Dark gradient */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.08);
}

.download-cv h2 {
    font-size: 1.6em;
    margin-bottom: 12px;
    color: #f0f0f0;
    font-weight: 600;
}

/* CV Button Styling */
.cv-button {
    background: linear-gradient(45deg, #946725, #0056b3); /* Cool blue theme */
    color: white;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(141, 199, 86, 0.5);
    transition: all 0.3s ease-in-out;
    display: inline-block;
}

.cv-button:hover {
    background: linear-gradient(45deg, #885d91, #00408a);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.7);
    transform: translateY(-2px);
}

/* Connect With Me Section */
.connect-with-me,
.follow-me {
    text-align: center; /* Center alignment */
    color: white; /* White font color */
    text-shadow: 0px 2px 6px rgba(255, 255, 255, 0.5); /* Soft shadow for glow effect */
}

/* "Connect with Me" Heading */
.connect-with-me {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 10px;
}

/* "Follow Me" Text */
.follow-me {
    font-size: 1.2em;
    margin-bottom: 20px;
}

/* Social Media Buttons */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-button {
    background-color: #222;
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease-in-out;
}

.social-button:hover {
    background-color: #444;
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.4);
}

/* Footer */
footer {
    margin-top: 60px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 1em;
    border-top: 1px solid #444;
    width: 100%;
    text-align: center;
}

/* Responsive Design */
/* WhatsApp Floating Button CSS */
#whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
  }
  #whatsapp-button a img {
    width: 60px; /* Adjust size as needed */
    height: auto;
  }
  
/* Responsive Design */

/* For screens smaller than 1024px (Tablets & Small Laptops) */
@media (max-width: 1024px) {
    .profile-container {
        width: 70%;
        margin: 100px auto;
    }

    .profile-image {
        height: 600px;
    }

    .overlay {
        padding: 20px;
        font-size: 0.9rem;
    }

    .name {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .about-me {
        max-width: 90%;
        padding: 30px;
    }

    .cv-button {
        padding: 10px 25px;
        font-size: 14px;
    }
}

/* For screens smaller than 768px (Tablets & Large Phones) */
@media (max-width: 768px) {
    /* Navbar Responsive */
    .navbar {
        flex-direction: column;
        padding: 10px;
        align-items: center;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding-top: 10px;
    }

    .nav-links li {
        display: block;
    }

    .profile-container {
        width: 90%;
    }

    .profile-image {
        height: 500px;
    }

    .overlay {
        bottom: 3%;
        left: 3%;
        width: 94%;
        padding: 15px;
    }

    .name {
        font-size: 1.8rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .about-me {
        padding: 25px;
        font-size: 0.9em;
    }

    .cv-button {
        font-size: 13px;
        padding: 8px 20px;
    }

    .connect-with-me,
    .follow-me {
        font-size: 1.4em;
    }
}

/* For screens smaller than 480px (Mobile Phones) */
@media (max-width: 480px) {
    /* Navbar Mobile Menu */
    .navbar {
        flex-direction: column;
        padding: 8px;
        text-align: center;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding-top: 10px;
    }

    .nav-links li {
        display: block;
    }

    .profile-container {
        width: 100%;
        margin: 80px auto;
    }

    .profile-image {
        height: 400px;
        border-radius: 5px;
    }

    .overlay {
        bottom: 2%;
        left: 2%;
        width: 96%;
        padding: 10px;
    }

    .name {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 0.9rem;
    }

    .about-me {
        padding: 20px;
        font-size: 0.85em;
        text-align: center;
    }

    .cv-button {
        font-size: 12px;
        padding: 7px 15px;
    }

    .connect-with-me,
    .follow-me {
        font-size: 1.2em;
    }

    .social-links {
        gap: 10px;
    }

    .social-button {
        padding: 10px 20px;
        font-size: 14px;
    }

    footer {
        font-size: 0.9em;
    }
}


/* For Portfolio CSS */

/* Job Change Advertisement Styles */

/* Job Change Advertisement Styles */

#jobAd {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    max-width: 90%;
    background-color: #ffffff;
    border: 2px solid #ccc;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    padding: 15px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    animation: fadeIn 0.5s ease-in-out;
  }
  
  #jobAd img {
    max-width: 100%;
    border-radius: 12px;
  }
  
  .close-btn {
    font-size: 20px;
    font-weight: bold;
    color: #555;
    background: transparent;
    border: none;
    cursor: pointer;
    margin-bottom: 10px;
    align-self: flex-end;
  }
  
  .close-btn:hover {
    color: red;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translate(-50%, -60%);
    }
    to {
      opacity: 1;
      transform: translate(-50%, -50%);
    }
  }

#other-expertise {
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
}

.expertise-container {
  max-width: 1200px;
  margin: auto;
}

.expertise-container h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #f0f0f0;
  margin-bottom: 10px;
}

.expertise-container p {
  font-size: 1.1rem;
  color: #cfcfcf;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.expertise-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.expertise-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 30px 25px;
  width: 260px;
  min-height: 170px;
  color: #eaeaea;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.expertise-card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.08);
}

.expertise-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #b3c7ff;
  margin-bottom: 10px;
}

.expertise-card p {
  font-size: 0.95rem;
  color: #d8d8d8;
  line-height: 1.5;
}


.expertise-card {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-in-out;
}

#other-expertise {
  margin-top: 60px; /* adds space from above */
  padding: 80px 20px;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  text-align: center;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
}
