/* style.css — Complete Advanced UI Styling with Animated Background and Split Hero Section */

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #000000;
  color: #f9fafb;
  line-height: 1.6;
  overflow-x: hidden;
  animation: fadeInBody 1s ease-in-out;
}

@keyframes fadeInBody {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes popIn {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes bubbleFloat {
  0% { transform: translateY(0) scale(1); opacity: 0.6; }
  100% { transform: translateY(-100vh) scale(0.5); opacity: 0; }
}

/* === HEADER & NAV === */


.header-advanced {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(15, 15, 15, 0.65);
  backdrop-filter: blur(20px);
  padding: 1rem 2rem;
  animation: slideDownFade 0.8s ease-in-out;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@keyframes slideDownFade {
  0% {
    opacity: 0;
    transform: translateY(-25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar-advanced {
  max-width: 1280px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.6rem;
  font-weight: bold;
  color: #90cdf4;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.glowing-icon {
  animation: glow 1.5s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 5px #90cdf4, 0 0 15px #90cdf4;
  }
  to {
    text-shadow: 0 0 15px #90cdf4, 0 0 30px #f6ad55;
  }
}

.nav-links-advanced {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  align-items: center;
  transition: all 0.3s ease;
}

.nav-links-advanced li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: #f9fafb;
  position: relative;
  transition: background 0.3s, color 0.3s, transform 0.3s ease;
}

.nav-links-advanced li a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 30px;
  padding: 1px;
  background: linear-gradient(90deg, #90cdf4, #f6ad55);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.nav-links-advanced li a:hover::after {
  opacity: 1;
}

.nav-links-advanced li a:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #90cdf4;
  transform: translateY(-2px);
}

/* === Mobile Toggle === */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background-color: #f9fafb;
  border-radius: 2px;
  transition: 0.4s;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links-advanced {
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
  }

  .nav-links-advanced.show {
    max-height: 500px;
    opacity: 1;
  }

  .nav-links-advanced li a {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}


/* === SPLIT HERO SECTION === */
.hero-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5rem 2rem;
  background-color: #0d0d0d;
  color: #ffffff;
  min-height: 100vh;
  position: relative;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  animation: fadeUp 1s ease;
}

.hero-content h5 {
  font-size: 1rem;
  color: #cccccc;
  margin-bottom: 0.5rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content h1 strong {
  color: #ffffff;
}

.hero-content p {
  font-size: 1.125rem;
  color: #bbbbbb;
  margin-bottom: 2rem;
}

.btn-contact {
  padding: 0.75rem 2rem;
  border: none;
  background-color: #ffffff;
  color: #000000;
  border-radius: 9999px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-contact:hover {
  background-color: #dddddd;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 80%;
  max-width: 400px;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}


.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: auto;
  animation: fadeUp 1s ease;
  background-color: #0d0d0d;
  color: #f9fafb;
}

section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #ffffff;
  position: relative;
}

section h2::after {
  content: '';
  display: block;
  height: 4px;
  width: 60px;
  margin: 0.5rem auto 0;
  background-color: #ffffff;
  border-radius: 10px;
  animation: fadeUp 1s ease;
}

/* === ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes popIn {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* === ABOUT ADVANCED SECTION === */
.about-advanced {
  padding: 6rem 2rem;
  background: linear-gradient(to right, #0a0a0a, #1a1a1a);
  color: #f9fafb;
  font-family: 'Segoe UI', sans-serif;
  animation: fadeUp 1s ease-in-out;
}

.about-wrapper {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 3rem;
}

.about-left {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 9999px;
  border: 4px solid #90cdf4;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
  animation: popIn 1s ease-in-out;
}

.about-right {
  flex: 2;
  min-width: 300px;
}

.about-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.about-text {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: #d1d5db;
  line-height: 1.8;
}

.highlight {
  color: #90cdf4;
  font-weight: 600;
}

.about-section-block {
  margin-top: 2.5rem;
}

.about-section-block h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.info-card {
  background: #2a2a2a;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  font-size: 1rem;
  color: #f9fafb;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  line-height: 1.6;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .about-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .about-left,
  .about-right {
    width: 100%;
    text-align: center;
  }

  .about-img {
    width: 220px;
    height: 220px;
  }

  .about-title {
    font-size: 2rem;
  }

  .about-text {
    font-size: 1rem;
  }
}



/* === CARD === */
.card {
  background: #ffffff22;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  margin-bottom: 2rem;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeUp 1s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* === SKILLS SECTION === */
.skills-section {
  background: linear-gradient(to right, #0f0f0f, #1e1e1e);
  padding: 5rem 2rem;
  animation: fadeUp 1s ease;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.skills-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 1.5rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skills-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.skills-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.skills-card-header h3 {
  font-size: 1.5rem;
  text-transform: capitalize;
  color: #ffffff;
}

.skills-icon {
  font-size: 2rem;
  color: #90cdf4;
}

/* Tag Styling */
.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: #90cdf4;
  color: #1a202c;
  padding: 0.4rem 0.8rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.3s ease;
}

.skill-tag:hover {
  background-color: #bee3f8;
  color: #000;
}


/* === project  === */
.advanced-projects {
  padding: 6rem 2rem;
  background: radial-gradient(circle at top left, #0a0a0a, #111);
  color: #f9f9f9;
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 800;
  background: linear-gradient(90deg, #90cdf4, #f6ad55);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeUp 1s ease;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 2.5rem;
}

.advanced-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.75rem;
  padding: 2rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  overflow: hidden;
}

.advanced-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.4);
  border: 1px solid #90cdf4;
}

.project-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.project-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #f6ad55;
}

.project-icon {
  font-size: 1.8rem;
  color: #90cdf4;
}

.project-list {
  list-style: none;
  padding-left: 0;
}

.project-item {
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-desc {
  margin-top: 0.25rem;
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.6;
}

.tech-tags {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-badge {
  background: #90cdf4;
  color: #1a202c;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: bold;
  transition: background 0.3s ease;
}

.tech-badge:hover {
  background-color: #bee3f8;
  color: #000;
}


/* === certifications === */


.certifications-section {
  padding: 5rem 2rem;
  background: radial-gradient(circle at top right, #0d0d0d, #1a1a1a);
  color: #f9fafb;
  animation: fadeUp 1s ease;
  max-width: 1200px;
  margin: auto;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.cert-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1.5rem;
  padding: 2rem;
  position: relative;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  animation: fadeUp 1s ease;
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.cert-icon {
  font-size: 2rem;
  color: #f6ad55;
  margin-bottom: 1rem;
}

.cert-card h3 {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.cert-meta {
  font-size: 0.9rem;
  color: #a0aec0;
  margin-bottom: 0.75rem;
}

.cert-desc {
  font-size: 0.95rem;
  color: #d1d5db;
  line-height: 1.6;
}


/* === Experience === */

.experience-section {
  padding: 5rem 2rem;
  background: radial-gradient(circle at top, #0a0a0a, #161616);
  color: #f9fafb;
  animation: fadeUp 1s ease;
}

.experience-heading {
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 3rem;
  background: linear-gradient(90deg, #90cdf4, #f6ad55);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.experience-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.experience-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1.5rem;
  padding: 2rem;
  backdrop-filter: blur(15px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

.company-name {
  font-size: 1.5rem;
  color: #f6ad55;
  margin-bottom: 0.25rem;
}

.location {
  font-size: 0.9rem;
  color: #a0aec0;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.role-block {
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
  transition: background 0.3s ease;
}

.role-block:hover {
  background: rgba(255, 255, 255, 0.08);
}

.role-title {
  font-size: 1.1rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.role-meta {
  font-size: 0.9rem;
  color: #cbd5e0;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skills-line {
  font-size: 0.9rem;
  color: #90cdf4;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === education === */


.education-section {
  padding: 5rem 2rem;
  background: linear-gradient(to right, #0f0f0f, #1e1e1e);
  color: #f9fafb;
  animation: fadeUp 1s ease;
  max-width: 1200px;
  margin: auto;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.education-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1.25rem;
  padding: 2rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  animation: fadeUp 1s ease;
}

.education-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.education-card h3 {
  font-size: 1.25rem;
  color: #f6ad55;
  margin-bottom: 0.5rem;
}

.education-card .inst {
  font-size: 1rem;
  color: #a0aec0;
  margin-bottom: 0.5rem;
}

.education-card .period {
  font-size: 0.95rem;
  color: #90cdf4;
}

/* === reference === */

.references-section {
  padding: 5rem 2rem;
  background: radial-gradient(circle at bottom left, #0d0d0d, #1a1a1a);
  color: #f9fafb;
  animation: fadeUp 1s ease;
  max-width: 1200px;
  margin: auto;
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.reference-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 1.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  text-align: center;
  animation: fadeUp 1s ease;
}

.reference-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.reference-icon {
  font-size: 2.5rem;
  color: #90cdf4;
  margin-bottom: 1rem;
}

.reference-card h3 {
  font-size: 1.25rem;
  color: #f6ad55;
  margin-bottom: 0.5rem;
}

.ref-position {
  font-size: 1rem;
  color: #a0aec0;
  margin-bottom: 0.3rem;
}

.ref-company {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
}

.ref-contact {
  font-size: 0.95rem;
  color: #d1d5db;
  margin: 0.25rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

/* === contact === */


.contact-section {
  padding: 5rem 2rem;
  background: linear-gradient(to right, #0e0e0e, #1b1b1b);
  color: #f9fafb;
  text-align: center;
  animation: fadeUp 1s ease;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
}

.contact-icon {
  font-size: 2rem;
  color: #90cdf4;
  margin-bottom: 0.75rem;
}

.contact-card h3 {
  font-size: 1.25rem;
  color: #f6ad55;
  margin-bottom: 0.5rem;
}

.contact-card a, .contact-card p {
  color: #d1d5db;
  text-decoration: none;
  font-size: 1rem;
}



/* === FOOTER ADVANCED === */
.footer-advanced {
  background: linear-gradient(to right, #0d0d0d, #1a1a1a);
  color: #f9fafb;
  padding: 2.5rem 1rem;
  text-align: center;
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
  animation: fadeUp 1s ease;
}

.footer-content {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.footer-text {
  font-size: 0.95rem;
  color: #e2e8f0;
}

.footer-heart {
  color: #f87171;
  margin: 0 0.25rem;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

.footer-icons {
  display: flex;
  gap: 1.5rem;
  font-size: 1.25rem;
}

.footer-icon-link {
  color: #90cdf4;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-icon-link:hover {
  transform: scale(1.2);
  color: #f6ad55;
}


/* === HEADER & NAV === */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #90cdf4;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: #f9fafb;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #90cdf4;
}
/* === FLEXIBLE ELEMENTS === */
img, video {
  max-width: 100%;
  height: auto;
}

.card, .cert-card, .education-card {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* === NAV TOGGLE BASE === */
.nav-toggle {
  display: none; /* Hidden by default — shown on small screens */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  background: transparent;
  border: none;
  outline: none;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background-color: #90cdf4; /* Light blue */
  border-radius: 2px;
  transition: transform 0.4s ease, opacity 0.4s ease, background-color 0.4s ease;
}

/* Hover effect */
.nav-toggle:hover span {
  background-color: #63b3ed; /* Slightly darker blue on hover */
}

/* Toggle "X" animation when open */
.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === RESPONSIVE DISPLAY === */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
}


/* === EXTRA SMALL DEVICES (PHONES) === */
@media (max-width: 600px) {
  .section,
  .hero-split,
  .contact-section,
  .about-advanced,
  .experience-section,
  .certifications-section,
  .education-section,
  .references-section {
    padding: 2rem 1rem;
  }

  .hero-split {
    flex-direction: column;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .about-img {
    width: 180px;
    height: 180px;
  }

  .btn-contact {
    width: 100%;
  }

  .project-grid,
  .skills-grid,
  .education-grid,
  .references-grid,
  .cert-grid,
  .experience-container {
    display: grid;
    grid-template-columns: 1fr !important;
  }
}

/* === MEDIUM DEVICES (TABLETS) === */
@media (min-width: 601px) and (max-width: 1024px) {
  .section,
  .hero-split,
  .contact-section,
  .about-advanced,
  .experience-section,
  .certifications-section,
  .education-section,
  .references-section {
    padding: 4rem 2rem;
  }

  .hero-split {
    flex-direction: column;
    text-align: center;
  }

  .hero-content,
  .hero-image,
  .about-left,
  .about-right {
    width: 100%;
  }

  .about-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .project-grid,
  .skills-grid,
  .education-grid,
  .references-grid,
  .cert-grid,
  .experience-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* === LARGE DEVICES (DESKTOPS) === */
@media (min-width: 1025px) {
  .section,
  .hero-split,
  .contact-section,
  .about-advanced,
  .experience-section,
  .certifications-section,
  .education-section,
  .references-section {
    padding: 6rem 4rem;
  }

  .project-grid,
  .skills-grid,
  .education-grid,
  .references-grid,
  .cert-grid,
  .experience-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* === SMALL SCREENS NAV TOGGLE FUNCTIONALITY === */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links-advanced {
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
  }

  .nav-links-advanced.show {
    max-height: 500px;
    opacity: 1;
  }

  .nav-links-advanced li a {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}
