* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #0a0a0a;
  color: #fff;
  scroll-behavior: smooth;
  line-height: 1.6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: all 0.4s ease;
  flex-wrap: wrap;
}

header.scrolled {
  background: rgba(15, 15, 15, 0.95);
  padding: 0.4rem 2rem;
  width: 92%;
}

.nav-logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  margin-left: 20px;
  font-weight: 600;
  position: relative;
}

.nav-links a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #ff4d4d;
  transition: width 0.3s ease;
  position: absolute;
  bottom: -5px;
  left: 0;
}

.nav-links a:hover::after {
  width: 100%;
}

/* === Home Section === */

.home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.9)), url("Images/home (1).webp") no-repeat center center / cover;
  text-align: center;
  padding: 2rem;
  padding-top: 6rem;
  color: white;
}

.container {
  max-width: 700px;
}

.home h1 {
  font-size: 3rem;
  font-weight: bold;
}

.highlight {
  color: #ff4d4d;
}

.home h2 {
  font-size: 1.8rem;
  font-weight: 500;
  color: #9ca3af; /* Tailwind gray-400 */
  margin-bottom: 1rem;
}

.home p {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn.primary {
  background-color: #ff4d4d;
  color: white;
}

.btn.primary:hover {
  background-color: #ff4d4d;
}

.btn.secondary {
  background-color: #ff4d4d;
  color: white;
  border: 1px solid #ff4d4d;
}

.btn.secondary:hover {
  background-color: #050505;
  border-color: #ff4d4d;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 1.4rem;
}

.social-icons a {
  color: #94a3b8;
  transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
  color: #ff4d4d;
  transform: scale(1.2);
}


/* === About Me Section === */
.about {
  padding: 4rem 1rem;
  color: #fff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #ff4d4d;
  margin-bottom: 2rem;
}

.bio {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  color: #ccc;
  font-size: 1.15rem;
}

.about-section {
  margin-top: 3rem;
}

.about-section h3 {
  font-size: 2rem;
  color: #ff4d4d;
  margin-bottom: 2rem;
}


/* === Certifications Grid === */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.cert-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
  color: #fff;
}

.cert-card:hover {
  transform: translateY(-5px);
}

.cert-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: #ff4d4d;
}

.cert-card p {
  margin: 0;
  color: #ccc;
  font-size: 0.95rem;
}

.cert-card span {
  display: block;
  margin-top: 5px;
  font-size: 0.85rem;
  color: #aaa;
}

/* === Certifications Link to LinkedIn === */
.cert-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: #ff4d4d;
  text-decoration: underline;
  font-weight: 500;
}

.cert-link:hover {
  color: #ff9999;
}
.skills {
  background: #111;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  text-align: center;
}

.skills h2 {
  font-size: 3rem;
  color: #ff4d4d;
  margin-bottom: 2rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 1000px;
}

.skills-category {
  margin-bottom: 3rem;
  width: 100%;
  max-width: 1000px;
}

.skills-category h3 {
  font-size: 2rem;
  color: #ff4d4d;
  margin-bottom: 1rem;
  text-align: left;
}

.skill-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2rem 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
}

.skill-card i {
  font-size: 3rem;
  color: #ff4d4d;
  margin-bottom: 10px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.skill-card p {
  margin-top: 10px;
  font-weight: 600;
  font-size: 1rem;
}

.skill-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 12px 24px rgba(0,0,0,0.6);
  background: rgba(255, 77, 77, 0.1);
}

.skill-card:hover i {
  transform: scale(1.3) rotate(5deg);
  color: #ffffff;
}

.skill-card.show {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.8s forwards;
}


/* Fade In Animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


.skill-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2rem 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card i {
  font-size: 3rem;
  color: #ff4d4d;
  margin-bottom: 10px;
}

.skill-card p {
  margin-top: 10px;
  font-weight: 600;
}

.skill-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}


.experience {
  background: #1e1e1e;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  text-align: center;
}

.experience-content {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.experience-image {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.experience h2 {
  color: #ff4d4d;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.experience-quote {
  font-size: 1.4rem;
  line-height: 1.8;
  max-width: 700px;
  color: #ddd;
  font-style: italic;
}

.projects {
  background: #111;
  color: #fff;
  min-height: 100vh;
  padding: 6rem 2rem 4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.projects h2 {
  font-size: 3rem;
  color: #ff4d4d;
  margin-bottom: 2rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 1200px;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card img {
  width: 100%;
  height:min-content;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.project-card h3 {
  color: #ff4d4d;
  margin-bottom: 0.5rem;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0,0,0,0.6);
}

.github-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1rem;
  padding: 8px 18px;
  border: 2px solid #ff4d4d;
  background: transparent;
  color: #ff4d4d;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.github-btn:hover {
  background: #ff4d4d;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}





.footer {
  background: #0a0a0a;
  color: #fff;
  text-align: center;
  padding: 4rem 2rem 2rem;
}

.footer h2 {
  color: #ff4d4d;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.footer p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff4d4d;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #ccc;
}



/* Media Queries */
@media (max-width: 992px) {
  .nav-links a {
    margin-left: 15px;
    font-size: 0.9rem;
  }

  .text h1 {
    font-size: 2rem;
    margin-bottom: -15px;
  }

  .text h2 {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 10px;
  }

  .text h1 {
    font-size: 1.8rem;
    margin-bottom: -12px;
  }

  .text h2 {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .text h1 {
    font-size: 1.5rem;
    margin-bottom: -10px;
  }

  .text h2 {
    font-size: 2rem;
  }

  .cv_down {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}

/* === Responsive Timeline (vertical on mobile) === */
@media (max-width: 768px) {
  .timeline {
    flex-direction: column;
    border-top: none;
    border-left: 2px solid #ff4d4d;
    padding-left: 20px;
  }

  .timeline-item {
    text-align: left;
    padding-left: 20px;
  }

  .timeline-item::before {
    top: 0;
    left: -12px;
    transform: none;
  }

  .timeline-content {
    margin-top: 0.5rem;
  }
}



#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s;
}

/* Default for desktop and large screens */
#preloader img {
  width: 200px;
  height: auto;
}

/* For screens smaller than 600px (typical mobile) */
@media (max-width: 600px) {
  #preloader img {
    width: 200px;  /* Increase this if still too small, e.g., 120px or 130px */
  }
}

/* For very small screens (e.g., phones in portrait) */
@media (max-width: 400px) {
  #preloader img {
    width: 200px;  /* Boost size more here if needed */
  }
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}



.home {
  padding-top: 6rem; 
}
.btn-group {
  margin-bottom: 0.8rem;
}

.social-icons {
  gap: 1.2rem;
  font-size: 1.3rem;
}

@media (max-width: 768px) {
  .social-icons {
    gap: 0.9rem;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .social-icons {
    gap: 0.7rem;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .home {
    padding-top: 8rem; /* Push content lower below fixed navbar */
  }
}

@media (max-width: 768px) {
  header {
    padding: 0.4rem 1.5rem;
  }

  .nav-logo img {
    height: 40px;
  }

  .nav-links {
    gap: 10px;
  }
}

/* Fix too much gap between Omkar and Potangale */
.home h1 {
  margin-bottom: 0.3rem;
}

.home h2 {
  margin-top: 0.3rem;
}

/* Add spacing above icons */
.btn-group {
  margin-bottom: 1.5rem; /* more space between buttons and icons */
}

/* Make social icons visible and well-spaced */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  font-size: 1.4rem; /* increased size */
}

.social-icons a {
  color: #94a3b8;
  transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
  color: #ff4d4d;
  transform: scale(1.2);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .home {
    padding-top: 8rem; /* prevent overlap with navbar */
  }

  .home h1 {
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
  }

  .home h2 {
    font-size: 1.5rem;
    margin-top: 0.2rem;
  }

  .social-icons {
    gap: 1.2rem;
    font-size: 1.5rem; /* increased for mobile */
  }

  .btn-group {
    margin-bottom: 1.6rem; /* better spacing before icons */
  }
}

@media (max-width: 480px) {
  .social-icons {
    font-size: 1.4rem;
    gap: 1rem;
  }
}
/* Force consistent icon size on all screens */
.social-icons a i {
  font-size: 1.8rem; /* Set a fixed size for all icons */
}

/* Adjust spacing */
.social-icons {
  gap: 1.6rem;
  margin-top: 0.5rem;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .social-icons a i {
    font-size: 2rem; /* Increase size on mobile */
  }

  .social-icons {
    gap: 1.8rem;
  }
}

@media (max-width: 480px) {
  .social-icons a i {
    font-size: 2.2rem; /* Even bigger on very small screens */
  }

  .social-icons {
    gap: 2rem;
  }
}

/* ✅ Make GitHub + LinkedIn buttons stay side-by-side */
.btn-group {
  display: flex;
  flex-wrap: wrap; /* allow wrapping if screen too small */
  justify-content: center;
  gap: 1rem; /* spacing between buttons */
}

/* ✅ Slightly reduce social icon size */
.social-icons a i {
  font-size: 1.3rem;
}

/* ✅ Mobile-specific tweaks */
@media (max-width: 768px) {
  .btn-group {
    flex-wrap: nowrap; /* force single row on tablets and phones */
  }

  .social-icons {
    gap: 1.2rem;
  }

  .social-icons a i {
    font-size: 1.2rem; /* slightly smaller */
  }
}

@media (max-width: 480px) {
  .btn-group {
    flex-direction: row;
    justify-content: center;
    gap: 0.8rem;
  }

  .social-icons a i {
    font-size: 1.1rem; /* slightly smaller again */
  }

  .social-icons {
    gap: 1rem;
  }
}







