@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

:root {
  --primary: #16c79a;
  --secondary: #144d4d;
  --accent: #18b6a1;
  --text: #1a1a1a;
  --white: #ffffff;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --hover-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #fbeec1, #44b09e);
  background-attachment: fixed;
  background-size: cover;
  color: #333;
}

/* Splash Screen */
#splash-screen {
  position: fixed;
  width: 100%;
  height: 100vh;
  background-color: #1a1a2e;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 3rem;
  font-weight: bold;
  z-index: 100;
  animation: fadeOut 1s forwards 3s;
}

.shining {
  background: linear-gradient(to left, #e1f105, black, #d7e1e2);
  background-size: 200% auto;
  -webkit-background-clip: text;
  color: transparent;
  animation: shine 3s linear infinite;
  font-family: 'Times New Roman', serif;
}

@keyframes shine {
  0% { background-position: -200% center; }
  50% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

/* Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 2px solid var(--primary);
  padding: 1rem;
  position: fixed;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: center;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.navbar a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.navbar a:hover {
  background-color: var(--accent);
  color: white;
}

/* Profile Section */
.profile-section {
  background: linear-gradient(to right, #fbeec1, #44b09e);
  padding: 120px 20px 60px;
}

.profile-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 2rem;
  flex-wrap: wrap;
}

.profile-text {
  flex: 1;
  padding: 20px;
}

.profile-text .hello {
  font-size: 1rem;
  color: #555;
}

.profile-text .name {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.2;
}

.profile-role {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 18px;
  font-weight: bold;
  border-radius: 8px;
  background-color: white;
  color: #1a1a1a;
}

.profile-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
}

.profile-image {
  width: 80%;
  max-width: 350px;
  border-radius: 50%;
  box-shadow: var(--hover-shadow);
}

/* About Section */
.about-section {
  background: linear-gradient(135deg, #e0f7fa, #ffffff);
  padding: 80px 20px;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
}

.about-gif img {
  width: 100%;
  max-width: 300px;
  border-radius: 16px;
  box-shadow: var(--box-shadow);
}

.about-content {
  flex: 2 1 500px;
  text-align: justify;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.about-content p {
  font-size: 1rem;
  line-height: 1.8;
}

/* Skills Section */
#skills {
  padding: 80px 20px;
  background: linear-gradient(135deg, #d2fef5, #e8fdfb);
  text-align: center;
}

#skills h2 {
  font-size: 2.8rem;
  color: #089981;
  font-weight: 700;
  margin-bottom: 3rem;
  animation: fadeIn 1.5s ease-in-out;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.skill {
  background-color: white;
  border: 2px solid #08c1a1;
  border-radius: 15px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: 0.3s ease;
}

.skill:hover {
  transform: translateY(-6px);
  box-shadow: var(--hover-shadow);
}

.skill img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.skill p {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

/* Projects */
#projects {
  padding: 80px 20px;
  background: linear-gradient(135deg, #e0fff8, #d0f5f8);
  text-align: center;
}

#projects h2 {
  font-size: 2.8rem;
  color: #089981;
  margin-bottom: 3rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.project-card {
  background-color: white;
  border-radius: 16px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hover-shadow);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-link {
  margin: 1rem;
  background-color: #089981;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  color: white;
  text-decoration: none;
}

/* Certifications */
#certification {
  background: linear-gradient(to right, #e0f7fa, #ffe0f0);
  padding: 60px 20px;
  text-align: center;
}

#certification h2 {
  font-size: 2.2rem;
  color: #0c8b43;
  margin-bottom: 40px;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding: 30px;
}

.cert-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  padding: 15px;
  text-align: center;
  transition: 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.6s ease forwards;
}

.cert-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--hover-shadow);
}

.cert-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
}

.cert-card h4 {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 600;
}

/* Hackathons */
#hackathons {
  background: linear-gradient(to right, #fdfbfb, #ebedee);
  padding: 60px 20px;
}

#hackathons h2 {
  font-size: 2.2rem;
  color: #00796b;
  text-align: center;
  margin-bottom: 30px;
}

.hackathon-card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: var(--box-shadow);
  padding: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.hackathon-img {
  max-width: 350px;
  width: 100%;
  border-radius: 12px;
}

.hackathon-details {
  flex: 1;
  padding: 20px;
  text-align: left;
}

/* Contact */
#contact {
  background: #f2f9ff;
  padding: 60px 20px 40px;
  text-align: center;
  border-top: 2px solid #00b894;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.contact-container img {
  width: 220px;
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  display: block;
  border-radius: 12px;
  box-shadow: var(--hover-shadow);
  transition: transform 0.3s ease;
}


.contact-container img:hover {
  transform: scale(1.05);
}

.thank-you {
  font-size: 1.5rem;
  font-weight: bold;
  color: #e17055;
  margin-top: 20px;
}

/* Footer */
footer {
  background: linear-gradient(to right, #43cea2, #185a9d);
  color: white;
  text-align: center;
  padding: 20px 10px;
  font-size: 1rem;
  font-weight: 500;
  border-top: 2px solid #00b894;
}

footer strong {
  color: #ffeaa7;
}

/* Animations */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media screen and (max-width: 768px) {
  .navbar ul {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .profile-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .profile-text {
    text-align: center;
  }

  .name {
    font-size: 2rem;
  }

  .profile-image {
    width: 70%;
  }

  .hackathon-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hackathon-details {
    padding: 10px 0;
  }

  .hackathon-img {
    max-width: 100%;
  }
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}


.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: white;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  font-size: 1.5rem;
  color: #1a1a1a;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Specific platform hover styles */
.social-icons a.linkedin:hover {
  background-color: #0077b5;
  color: white;
}

.social-icons a.instagram:hover {
  background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf);
  color: white;
}

.social-icons a.twitter:hover {
  background-color: #000;
  color: white;
}
.email-btn i, .phone-btn i {
  margin-right: 8px;
  vertical-align: middle;
}
.download-resume-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 12px 20px;
  background-color: #007bff;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.download-resume-btn:hover {
  background-color: #0056b3;
}

.download-resume-wrapper {
  text-align: center;
  margin-top: 20px;
}
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

.email-btn {
  background-color: #e74c3c;
}

.phone-btn {
  background-color: #27ae60;
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--hover-shadow);
  opacity: 0.9;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: white;
  color: #1a1a1a;
  font-size: 1.4rem;
  text-decoration: none;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

/* Hover styles for each platform */
.social-icons a:hover {
  transform: translateY(-4px);
  box-shadow: var(--hover-shadow);
}

/* LinkedIn */
.social-icons a[href*="linkedin.com"]:hover {
  background-color: #0077b5;
  color: white;
}

/* Instagram */
.social-icons a[href*="instagram.com"]:hover {
  background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf);
  color: white;
}

/* GitHub */
.social-icons a[href*="github.com"]:hover {
  background-color: #24292e;
  color: white;
}

/* Twitter (X) */
.social-icons a[href*="x.com"],
.social-icons a[href*="twitter.com"] {
  transition: all 0.3s ease;
}
.social-icons a[href*="x.com"]:hover,
.social-icons a[href*="twitter.com"]:hover {
  background-color: #000000;
  color: white;
}
.profile-text {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.profile-role {
  margin-bottom: 10px;
}

.social-icons {
  margin-top: 10px;
  justify-content: flex-start; /* change to center if you want center alignment */
}

@media screen and (max-width: 768px) {
  .social-icons {
    justify-content: center;
  }

  .profile-text {
    align-items: center;
  }
}
/* Dark Mode Full Support */

body.dark-mode {
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: #e0e0e0;
}

/* Navbar */
body.dark-mode .navbar {
  background-color: rgba(30, 30, 30, 0.95);
  border-bottom-color: #333;
}

body.dark-mode .navbar a {
  color: #e0e0e0;
}

body.dark-mode .navbar a:hover {
  background-color: #333;
  color: #fff;
}

/* Sections */
body.dark-mode .profile-section,
body.dark-mode .about-section,
body.dark-mode #skills,
body.dark-mode #projects,
body.dark-mode #certification,
body.dark-mode #hackathons,
body.dark-mode #contact,
body.dark-mode footer {
  background: transparent;
  color: #e0e0e0;
}

/* Cards */
body.dark-mode .project-card,
body.dark-mode .cert-card,
body.dark-mode .hackathon-card,
body.dark-mode .skill {
  background-color: #2b2b2b;
  color: #e0e0e0;
  border-color: #444;
}

/* Contact Buttons */
body.dark-mode .contact-btn,
body.dark-mode .download-resume-btn {
  background-color: #333;
  color: #fff;
}

body.dark-mode .contact-btn:hover,
body.dark-mode .download-resume-btn:hover {
  background-color: #555;
}

/* Social Icons */
body.dark-mode .social-icons a {
  background-color: #2a2a2a;
  color: #fff;
}

body.dark-mode .social-icons a:hover {
  background-color: #444;
}

/* Footer */
body.dark-mode footer {
  background: #111;
  color: #ccc;
}

body.dark-mode footer strong {
  color: #ffd86b;
}

/* Splash screen */
body.dark-mode #splash-screen {
  background-color: #000;
}

/* Smooth transitions */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.dark-toggle-btn {
  margin-left: 1rem;
  padding: 8px 12px;
  font-size: 1.2rem;
  border: none;
  background-color: var(--primary);
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s;
}

.dark-toggle-btn:hover {
  background-color: var(--accent);
  transform: scale(1.05);
}
/* NAVBAR BASE */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 2px solid var(--primary);
  padding: 1rem;
  position: fixed;
  width: 100%;
  z-index: 100;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background-color: var(--accent);
  color: white;
}

/* HAMBURGER BUTTON */
.hamburger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--secondary);
}

/* RESPONSIVE NAV */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 20px;
    width: 220px;
    background-color: white;
    flex-direction: column;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    padding: 1rem;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
  }

  .nav-links.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hamburger {
    display: block;
  }
}
.nav-links {
  z-index: 1000;
}

