/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Dark Background with Gradient */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: linear-gradient(135deg, #0a0f1c, #1a2238);
  color: #e2e8f0;
}

/* Navbar */
header {
  background: #0f172a;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: #f59e0b;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #f59e0b;
}

/* Mobile Menu Icon */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #0f172a, #1e40af);
  color: white;
  padding: 80px 20px;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

/* Base Button Style */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  color: #f8fafc;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

/* Hire Me Button Style */
.hire-me {
  background: linear-gradient(to right, #f59e0b, #eab308);
  color: #0f172a;
  border: none;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hire-me:hover {
  transform: scale(1.05);
  background: linear-gradient(to right, #eab308, #f59e0b);
}

/* Social Buttons */
.social-btn img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}


.btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
}

.hero-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: left;
}

.hero-image img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.05);
}

.hero-content h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.hero-content h1 span {
  color: #f59e0b;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 20px;
  color: #e2e8f0;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background: #f59e0b;
  color: white;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s, transform 0.3s;
}

.btn:hover {
  background: #d97706;
  transform: translateY(-3px);
}

/* Sections */


/* Glassmorphism Sections - More Glassy */
.section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05); /* Increased transparency */
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

/* Light Inner Glow Border Effect */
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.05));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

/* Section Heading */
.section h2 {
  font-size: 32px;
  margin-bottom: 25px;
  color: #ffffff;
  position: relative;
}

.section h2::after {
  content: '';
  width: 60px;
  height: 4px;
  background: #f59e0b;
  display: block;
  margin: 10px auto;
  border-radius: 2px;
}

/* Paragraph & List */
p, li {
  color: #d1d5db;
}

/* Buttons - Glassy Look */
.btn {
  display: inline-block;
  padding: 12px 25px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  color: #f8fafc;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}


/* Skills Section */
.skills-icons,
.tools-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.skills-icons img,
.tools-icons img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  transition: transform 0.3s;
  margin: auto;
}

.skills-icons img:hover,
.tools-icons img:hover {
  transform: scale(1.2);
}

/* Certifications Section */
/* Certifications Section Grid */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.certificate-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 20px;
  text-align: left;
  backdrop-filter: blur(12px);
  transition: transform 0.3s;
  cursor: pointer;
}

.certificate-card:hover {
  transform: translateY(-5px);
}

.certificate-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.certificate-card h3 {
  color: #f8fafc;
  margin-bottom: 10px;
}

.certificate-card ul {
  margin-left: 18px;
  color: #cbd5e1;
  font-size: 15px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.close {
  position: absolute;
  top: 40px;
  right: 60px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}


/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.project-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.project-card h3 {
  color: #f8fafc;
  margin-bottom: 10px;
}

.project-card ul {
  text-align: left;
  margin: 0 auto 20px;
  color: #cbd5e1;
  font-size: 15px;
  padding-left: 20px;
}

.project-btn {
  text-align: center;
  margin-top: auto;
}

.contact-section {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 40px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 800px;
  margin: auto;
}

.contact-intro {
  margin-bottom: 25px;
  font-size: 1.1rem;
  color: #cbd5e1;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px;
}

.form-group i {
  margin-right: 12px;
  color: #38bdf8;
  font-size: 18px;
}

.form-group input,
.form-group textarea {
  border: none;
  background: transparent;
  outline: none;
  color: #f8fafc;
  flex: 1;
  font-size: 1rem;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn {
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: white;
  font-weight: bold;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-form .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}


  /* Toast Notification */
  .toast {
    visibility: hidden;
    min-width: 300px;
    background-color: #1e293b;
    color: #f8fafc;
    text-align: center;
    border-radius: 8px;
    padding: 12px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: visibility 0s, opacity 0.5s ease-in-out;
    opacity: 0;
  }
  .toast.show {
    visibility: visible;
    opacity: 1;
  }



/* Responsive Navbar */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: #0f172a;
    width: 200px;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 20px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .menu-toggle {
    display: block;
    color: white;
  }
}


.footer {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.footer-content p {
  color: #cbd5e1;
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.footer-links a {
  color: #f8fafc;
  text-decoration: none;
  font-size: 18px; /* Bigger text */
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #38bdf8;
  transform: translateY(-2px);
}

.footer-links i {
  font-size: 22px; /* Bigger icon size */
}
