/* Modern, vibrant, and clean redesign */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap');

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: #232526;
  background: linear-gradient(120deg, #1e293b 0%, #2563eb 60%, #38bdf8 100%);
  background-attachment: fixed;
  background-size: 200% 200%;
  animation: bg-move 18s ease-in-out infinite alternate;
  line-height: 1.7;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  scroll-behavior: smooth;
}

@keyframes bg-move {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

header {
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 100%);
  padding: 1.2rem 0;
  text-align: center;
  border-radius: 0 0 2rem 2rem;
  box-shadow: 0 6px 32px rgba(37,99,235,0.13);
  transition: box-shadow 0.2s;
}

header h1 {
  display: none;
}

.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 3.5rem auto 2.5rem auto;
  background: rgba(255,255,255,0.10);
  border-radius: 2.5rem;
  padding: 3.5rem 2.5rem 2.5rem 2.5rem;
  box-shadow: 0 12px 48px rgba(37,99,235,0.18);
  border: 2.5px solid #38bdf8;
  max-width: 900px;
  overflow: hidden;
  transition: box-shadow 0.3s, border 0.3s, background 0.3s;
  backdrop-filter: blur(10px) saturate(1.2);
}

.profile-section:hover {
  box-shadow: 0 24px 64px rgba(56,189,248,0.22);
  border: 2.5px solid #2563eb;
  background: rgba(56,189,248,0.13);
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 32px #2563eb44, 0 0 0 8px #fff;
  border: 6px solid #fff;
  margin-bottom: 2rem;
  background: #eaf1fb;
  transition: transform 0.22s, box-shadow 0.22s;
  animation: float-profile 5s ease-in-out infinite;
}

@keyframes float-profile {
  0%, 100% { transform: translateY(0);}
  50% { transform: translateY(-14px) scale(1.06);}
}

.profile-section:hover .profile-img {
  filter: brightness(1.12) saturate(1.2) drop-shadow(0 0 16px #38bdf8cc);
}

.profile-text {
  margin-top: 0;
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  font-family: inherit;
  text-align: center;
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 100%);
  padding: 1.1rem 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px #2563eb33;
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.08em;
  transition: background 0.2s, color 0.2s, text-shadow 0.2s;
  text-shadow: 0 0 12px #38bdf8, 0 2px 8px #fff, 0 0 32px #2563eb;
}

.profile-section:hover .profile-text {
  background: #fff;
  color: #2563eb;
  text-shadow: 0 0 16px #38bdf8, 0 2px 8px #2563eb;
}

.hero-social {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 320px;
  align-items: center;
}

.hero-social .footer-icon-link {
  color: #fff;
  background: #2563eb;
  border-radius: 50%;
  opacity: 0.97;
  box-shadow: 0 2px 16px #2563eb44, 0 0 0 2px #38bdf822;
  padding: 0.25rem;
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.18s, background 0.18s, opacity 0.18s, transform 0.18s, box-shadow 0.18s;
  animation: float-social 3.5s ease-in-out infinite;
}

.hero-social .footer-icon-link svg {
  width: 28px;
  height: 28px;
  display: block;
}

.hero-social .footer-icon-link:hover,
.hero-social .footer-icon-link:focus {
  color: #2563eb;
  background: #fff;
  opacity: 1;
  box-shadow: 0 0 24px #38bdf8, 0 0 0 4px #2563eb33;
  transform: translateY(-4px) scale(1.13);
  text-decoration: none;
}

.hero-social .footer-icon-link[aria-label="Instagram"]:hover svg,
.hero-social .footer-icon-link[aria-label="Instagram"]:focus svg,
.footer-social .footer-icon-link[aria-label="Instagram"]:hover svg,
.footer-social .footer-icon-link[aria-label="Instagram"]:focus svg {
  stroke: #2563eb;
  fill: none;
}

.hero-social .footer-icon-link[aria-label="Instagram"]:hover circle,
.hero-social .footer-icon-link[aria-label="Instagram"]:focus circle,
.footer-social .footer-icon-link[aria-label="Instagram"]:hover circle,
.footer-social .footer-icon-link[aria-label="Instagram"]:focus circle {
  stroke: #2563eb;
  fill: none;
}

.hero-social .footer-icon-link[aria-label="Instagram"]:hover rect,
.hero-social .footer-icon-link[aria-label="Instagram"]:focus rect,
.footer-social .footer-icon-link[aria-label="Instagram"]:hover rect,
.footer-social .footer-icon-link[aria-label="Instagram"]:focus rect {
  stroke: #2563eb;
  fill: none;
}

.hero-social .footer-icon-link[aria-label="Instagram"]:hover circle[r="1.5"],
.hero-social .footer-icon-link[aria-label="Instagram"]:focus circle[r="1.5"],
.footer-social .footer-icon-link[aria-label="Instagram"]:hover circle[r="1.5"],
.footer-social .footer-icon-link[aria-label="Instagram"]:focus circle[r="1.5"] {
  fill: #2563eb;
}

.about-section,
.skills-section,
.projects-section,
.certifications-section {
  max-width: 1100px;
  margin: 0 auto 2.5rem auto;
  border-radius: 2rem;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 8px 40px 0 rgba(37,99,235,0.13), 0 1.5px 12px 0 rgba(37,99,235,0.10);
  padding: 3rem 2.5rem;
  text-align: center;
  border: none;
  backdrop-filter: blur(8px) saturate(1.2);
  position: relative;
  z-index: 1;
}

.about-section h2,
.skills-section h2,
.projects-section h2,
.certifications-section h2 {
  margin-top: 0;
  font-size: 2.2rem;
  color: #2563eb;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 2.5px;
  margin-bottom: 1.2rem;
  text-shadow: 0 0 12px #38bdf888, 0 2px 8px #fff;
}

.about-section p {
  margin: 1.2rem 0 0 0;
  color: #232526;
  font-size: 1.18rem;
  line-height: 1.8;
  font-family: inherit;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.skills-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
}

.skills-list li {
  background: linear-gradient(90deg, #38bdf8 0%, #2563eb 100%);
  color: #fff;
  border-radius: 1.2rem;
  padding: 0.9rem 2rem;
  font-size: 1.13rem;
  font-family: inherit;
  font-weight: 700;
  box-shadow: 0 2px 12px #2563eb22;
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.18s;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  cursor: pointer;
}

.skills-list li:hover {
  background: #fff;
  color: #2563eb;
  box-shadow: 0 8px 32px #38bdf822, 0 0 0 4px #2563eb33;
  transform: translateY(-6px) scale(1.09) rotate(-2deg);
  border: 2px solid #2563eb;
  transition: 
    background 0.22s, 
    color 0.22s, 
    box-shadow 0.22s, 
    transform 0.18s, 
    border 0.22s;
}

.skills-list li:hover .skill-icon {
  filter: brightness(0) invert(1) drop-shadow(0 0 8px #2563eb);
  background: #2563eb;
  transition: filter 0.18s, background 0.18s;
}

/* Projects section card hover effect */
.projects-section .card {
  transition: 
    box-shadow 0.22s, 
    background 0.22s, 
    color 0.22s, 
    transform 0.18s, 
    border 0.22s;
}

.projects-section .card:hover {
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 100%);
  color: #fff;
  box-shadow: 0 16px 48px #2563eb44, 0 0 0 8px #38bdf833;
  border: 2px solid #38bdf8;
  transform: translateY(-8px) scale(1.05) rotate(-1deg);
}

.projects-section .card-title {
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.projects-section .card:hover .card-title,
.projects-section .card:hover .card-text {
  color: #fff;
  transition: color 0.18s;
}

.projects-section .card:hover img,
.projects-section .card:hover svg {
  filter: brightness(0) invert(1) drop-shadow(0 0 8px #fff);
  transition: filter 0.18s;
}

.projects-section .btn,
.projects-section .btn-outline-primary {
  transition:
    background 0.18s,
    color 0.18s,
    box-shadow 0.18s,
    border 0.18s,
    transform 0.18s;
}

.projects-section .btn:hover,
.projects-section .btn-outline-primary:hover,
.projects-section .btn:focus,
.projects-section .btn-outline-primary:focus {
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 100%);
  color: #fff;
  border-color: #2563eb;
  box-shadow: 0 0 24px #38bdf8, 0 0 0 6px #2563eb33;
  transform: translateY(-2px) scale(1.07);
  text-decoration: none;
}

.projects-section .card:hover .btn,
.projects-section .card:hover .btn-outline-primary {
  background: #fff !important;
  color: #2563eb !important;
  border-color: #fff !important;
  box-shadow: 0 0 24px #fff8, 0 0 0 6px #2563eb22;
  transform: translateY(-2px) scale(1.07);
  text-decoration: none;
}

footer {
  margin-top: 4rem;
  padding: 2rem 0 1.2rem 0;
  text-align: center;
  color: #fff;
  font-size: 1.08rem;
  font-family: inherit;
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 100%);
  letter-spacing: 0.02em;
  border-radius: 2rem 2rem 0 0;
  box-shadow: 0 -6px 32px #2563eb22;
  position: relative;
  z-index: 2;
}

.footer-social {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
  gap: 1.3rem;
}

.footer-icon-link {
  color: #fff;
  background: #2563eb;
  border-radius: 50%;
  padding: 0.5rem;
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 16px #2563eb44;
  transition: background 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s;
}

.footer-icon-link:hover,
.footer-icon-link:focus {
  background: #fff;
  color: #2563eb;
  transform: scale(1.13) translateY(-2px);
  box-shadow: 0 0 24px #38bdf8, 0 0 0 6px #2563eb33;
}

/* Navbar theme styling */
.navbar {
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 100%) !important;
  box-shadow: 0 4px 24px #2563eb22;
  border-radius: 0 0 2rem 2rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  backdrop-filter: blur(8px) saturate(1.1);
}

.navbar .navbar-brand {
  color: #fff !important;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 12px #2563eb55;
  transition: color 0.18s;
}

.navbar .navbar-brand:hover,
.navbar .navbar-brand:focus {
  color: #38bdf8 !important;
}

.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  padding: 0.4rem 1.1rem;
  border-radius: 0.7rem;
  margin: 0 0.2rem;
  transition: background 0.18s, color 0.18s;
  position: relative;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:hover {
  background: rgba(255,255,255,0.13);
  color: #fff !important;
  text-shadow: 0 0 8px #38bdf8;
}

.navbar-toggler {
  border: none;
  background: #2563eb22 !important;
  border-radius: 0.5rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(56,189,248,0.85)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 900px) {
  .about-section,
  .skills-section,
  .projects-section,
  .certifications-section {
    padding: 2rem 0.7rem;
    border-radius: 1.2rem;
  }
  .profile-section {
    border-radius: 1.2rem;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
    padding: 2rem 0.7rem;
  }
}

@media (max-width: 600px) {
  .profile-text {
    font-size: 1.5rem;
    padding: 0.7rem 0.5rem;
    border-radius: 0.7rem;
  }
  .about-section h2,
  .skills-section h2,
  .projects-section h2,
  .certifications-section h2 {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }
  .about-section,
  .skills-section,
  .projects-section,
  .certifications-section {
    padding: 1rem 0.2rem;
    border-radius: 0.7rem;
  }
  .profile-section {
    border-radius: 0.7rem;
    padding: 1.2rem 0.2rem;
  }
  .skills-list li {
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
    border-radius: 0.7rem;
  }
}

/* Projects section card hover effect */
.projects-section .card {
  transition: 
    box-shadow 0.22s, 
    background 0.22s, 
    color 0.22s, 
    transform 0.18s, 
    border 0.22s;
}

.projects-section .card:hover {
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 100%);
  color: #fff;
  box-shadow: 0 16px 48px #2563eb44, 0 0 0 8px #38bdf833;
  border: 2px solid #38bdf8;
  transform: translateY(-8px) scale(1.05) rotate(-1deg);
}

.projects-section .card-title {
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.projects-section .card:hover .card-title,
.projects-section .card:hover .card-text {
  color: #fff;
  transition: color 0.18s;
}

.projects-section .card:hover img,
.projects-section .card:hover svg {
  filter: brightness(0) invert(1) drop-shadow(0 0 8px #fff);
  transition: filter 0.18s;
}

.projects-section .btn,
.projects-section .btn-outline-primary {
  transition:
    background 0.18s,
    color 0.18s,
    box-shadow 0.18s,
    border 0.18s,
    transform 0.18s;
}

.projects-section .btn:hover,
.projects-section .btn-outline-primary:hover,
.projects-section .btn:focus,
.projects-section .btn-outline-primary:focus {
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 100%);
  color: #fff;
  border-color: #2563eb;
  box-shadow: 0 0 24px #38bdf8, 0 0 0 6px #2563eb33;
  transform: translateY(-2px) scale(1.07);
  text-decoration: none;
}

.projects-section .card:hover .btn,
.projects-section .card:hover .btn-outline-primary {
  background: #fff !important;
  color: #2563eb !important;
  border-color: #fff !important;
  box-shadow: 0 0 24px #fff8, 0 0 0 6px #2563eb22;
  transform: translateY(-2px) scale(1.07);
  text-decoration: none;
}

.certifications-section .card {
  background: linear-gradient(90deg, #e0f2fe 0%, #f8fafc 100%);
  border-radius: 1.2rem;
  border: 2px solid #2563eb22;
  box-shadow: 0 4px 24px #2563eb22;
  padding: 2rem 1.2rem 1.2rem 1.2rem;
  text-align: center;
  transition: box-shadow 0.22s, background 0.22s, color 0.22s, transform 0.18s, border 0.22s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.certifications-section .card:hover {
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 100%);
  color: #fff;
  box-shadow: 0 16px 48px #2563eb44, 0 0 0 8px #38bdf833;
  border: 2px solid #38bdf8;
  transform: translateY(-8px) scale(1.05) rotate(-1deg);
}

.certifications-section .card:hover .card-title,
.certifications-section .card:hover .card-text {
  color: #fff;
  transition: color 0.18s;
}