@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 100px;
  /* fix: stable certification -> contact scroll on desktops */
}

body {
  background: #1f242d;
  color: #fff;
  overflow-x: hidden;
}

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 5%;
  background: transparent; /* ✅ fully transparent */
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;

}



.logo {
  font-size: 25px;
  color: #0ef;
  text-decoration: none;
  font-weight: 600;
  animation: fadeDown 1s ease forwards;
}

.navbar a {
  display: inline-block;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  margin-left: 20px;
  transition: 0.3s;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.navbar a:hover,
.navbar a.active {
  color: #00bcd4;
  transform: scale(1.1);
}

/* ---------- MENU TOGGLE (Mobile) ---------- */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: #0ef;
  cursor: pointer;
  transition: 0.3s;
}

.menu-toggle:hover {
  color: #00bcd4;
}

/* ---------- HOME SECTION ---------- */
.home {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 10%;
  min-height: 100vh;
  gap: 2rem;
}

.home-content {
  max-width: 600px;
  animation: fadeInLeft 1.2s ease forwards;
}

.home-content h3 {
  font-size: 28px;
  font-weight: 700;
}

.home-content h3 span {
  color: #0ef;
}

.home-content h1 {
  font-size: 56px;
  font-weight: 700;
  margin: 10px 0;
}

.home-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #ccc;
}

/* ---------- SOCIAL MEDIA ---------- */
.social-media {
  margin: 20px 0;
}

.social-media a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  width: 45px;
  height: 45px;
  border: 2px solid #0ef;
  border-radius: 50%;
  color: #0ef;
  margin: 0 10px 0 0;
  transition: 0.4s;
  font-size: 20px;
}

.social-media a:hover {
  background: #0ef;
  color: #1f242d;
  box-shadow: 0 0 20px #0ef;
}

/* ---------- BUTTON ---------- */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background: #0ef;
  border-radius: 40px;
  box-shadow: 0 0 10px #0ef;
  color: #1f242d;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background: #00bcd4;
  box-shadow: 0 0 25px #00bcd4;
}

/* ---------- IMAGE ---------- */
.home-img {
  position: relative;
  width: 300px;
  height: 300px;
  aspect-ratio: 1 / 1; /* keeps it a perfect square */
  border-radius: 50%;
  overflow: hidden;
  animation: float 4s ease-in-out infinite;
  box-shadow: 0 0 25px #00bcd4, 0 0 50px #00bcd4;
  flex-shrink: 0;
}

.home-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* ensures no distortion */
  border-radius: 50%;
}


/* ---------- ANIMATIONS ---------- */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 992px) {
  .home {
    flex-direction: column;
    text-align: center;
  }

  .home-img {
    width: 250px;
    height: 250px;
  }

  .navbar a {
    margin-left: 20px;
  }
}
 @media (max-width: 768px) {
  .navbar {
    position: fixed;
    top: 70px;
    right: -100%;
    background: rgba(30, 40, 60, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 16px 0 0 16px;
    flex-direction: column;
    align-items: center;
    width: 90px;
    border-left: 2px solid #0ef;
    box-shadow: -5px 0 15px rgba(0, 238, 255, 0.3);
    transition: right 0.4s ease-in-out;
    padding: 25px 0;
    z-index: 999;
  }

  .navbar.active {
    right: 0;
  }

  .navbar a {
    display: block;
    margin: 15px 0;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: 0.3s ease;
  }

  .navbar a:hover {
    color: #0ef;
    transform: translateX(6px);
  }

  .menu-icon {
    z-index: 1000;
  }
}


 /* ---------- MENU TOGGLE (Hamburger) ---------- */
.menu-toggle {
  display: none; /* hidden by default */
  font-size: 28px;
  color: #0ef;
  cursor: pointer;
  transition: 0.3s;
}

/* Show hamburger only on mobile screens */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .navbar {
    position: fixed;
    top: 70px;
    right: -100%;
    background: linear-gradient(135deg, #0a192f, #112240, #0a192f);
    border-left: 2px solid #0ef;
    border-radius: 20px 0 0 20px;
    flex-direction: column;
    align-items: center;
    width: 100px;
    padding: 25px 0;
    box-shadow: -5px 0 20px rgba(0, 238, 255, 0.2);
    transition: right 0.4s ease-in-out;
   
  }

  .navbar.active {
    right: 0;
  }

  .navbar a {
    display: block;
    margin: 15px 0;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: 0.3s ease;
  }

  .navbar a:hover {
    color: #0ef;
    transform: translateX(6px);
  }
}

/* Hide hamburger on large screens */
@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
  }

  .navbar {
    position: static;
    background: none;
    flex-direction: row;
    width: auto;
    border: none;
    box-shadow: none;
  }

  .navbar a {
    display: inline-block;
    margin: 0 20px;
  }
}


/* ---------- LARGE SCREEN / LAPTOP VIEW ---------- */
@media (min-width: 1200px) {
  .home {
    padding: 120px 12%;
    gap: 4rem;
  }

  .home-content {
    max-width: 700px;
  }

  .home-content h1 {
    font-size: 64px;
    line-height: 1.2;
  }

  .home-content h3 {
    font-size: 32px;
  }

  .home-content p {
    font-size: 18px;
    max-width: 550px;
  }

  .home-img {
    width: 400x;
    height: 400px;
    box-shadow: 0 0 40px #00bcd4, 0 0 80px #00bcd4;
  }

  .navbar a {
    font-size: 20px;
    margin-left: 45px;
  }

  .btn {
    font-size: 18px;
    padding: 14px 36px;
  }

  .social-media a {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
    .navbar a {
    margin-left: 25px; /* was 45px */
  }
}

/* ========== ABOUT SECTION ========== */

.about-section {
  margin: 0;
  padding-bottom: 80px; /* Adjust if needed */
  background: #0a0f1f;
  min-height: 100vh; /* ensures it fills screen height */
}


.about-section {
  background: #0a0f1f;
  color: #fff;
  min-height: 100vh; /* full screen height */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 8%;
  overflow: hidden;
}

.about-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

/* image */
.about-image img {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 25px rgba(0, 234, 255, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(0, 234, 255, 0.7);
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */

/* 📱 Tablets & small laptops */
@media (max-width: 992px) {
  .about-section {
    padding: 100px 5%;
    min-height: auto; /* allow scroll if content exceeds viewport */
  }

   .about-image {
    display: none; /* hide photo for small screens */
  }

  .about-wrapper {
    flex-direction: column;
  }

  .about-image {
    margin-bottom: 20px;
  }
}

/* 📱 Mobile devices */
@media (max-width: 768px) {
  .about-section {
    padding: 80px 5%;
    min-height: auto;
  }

  .about-image {
    display: none; /* hide photo for small screens */
  }

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

/* 💻 Laptops (standard size: 1024px–1366px) */
@media (min-width: 1024px) and (max-width: 1366px) {
  .about-section {
    padding: 90px 7%;
  }

  .about-image img {
    width: 280px;
    height: 280px;
  }

  .about-content h1 {
    font-size: 2.2rem;
  }

  .about-content h2 {
    font-size: 1.3rem;
  }
}

/* 🖥️ Large laptops (1367px–1600px) */
@media (min-width: 1367px) and (max-width: 1600px) {
  .about-section {
    padding: 100px 10%;
  }

  .about-image img {
    width: 350px;
    height: 350px;
  }

  .about-content h1 {
    font-size: 2.6rem;
  }

  .about-content h2 {
    font-size: 1.4rem;
  }

  .about-description {
    max-width: 750px;
  }
}

/* 🧠 Ultra-wide / Big screens (1600px and up) */
@media (min-width: 1600px) {
  .about-section {
    padding: 120px 15%;
  }

  .about-image img {
    width: 400px;
    height: 400px;
  }

  .about-content h1 {
    font-size: 3rem;
  }

  .about-content h2 {
    font-size: 1.6rem;
  }

  .about-description {
    max-width: 800px;
  }
}


/* Image */
.about-image img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 25px rgba(0, 234, 255, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(0, 234, 255, 0.7);
}

/* Content */
.about-content {
  flex: 1;
  min-width: 320px;
  text-align: center;
}

.about-intro {
  color: #00eaff;
  font-size: 18px;
  margin-bottom: 10px;
}

.about-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.about-content h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 10px 0 20px;
}

.about-description {
  font-size: 1rem;
  color: #ddd;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 30px;
}

.about-btn {
  background: #00eaff;
  color: #0a0f1f;
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 0 20px #00eaff;
}

.about-btn:hover {
  background: transparent;
  color: #00eaff;
  border: 2px solid #00eaff;
  box-shadow: 0 0 25px #00eaff;
}

/* Stats */
.about-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 40px;
}

.about-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px 30px;
  border-radius: 12px;
  text-align: center;
  min-width: 160px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(0, 234, 255, 0.4);
}

.about-box span {
  font-size: 2rem;
  font-weight: 700;
  color: #00eaff;
}

/* ========== ANIMATIONS ========== */
.fade-in,
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible,
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 992px) {
  .about-wrapper {
    flex-direction: column;
  }

  .about-content {
    text-align: center;
    padding: 0 10px;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 80px 5%;
  }

  .about-image {
    display: none;
  }

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

@media (min-width: 1600px) {
  .about-section {
    padding: 120px 15%;
  }

  .about-content h1 {
    font-size: 3rem;
  }

  .about-content h2 {
    font-size: 1.6rem;
  }
}



/* Skills */
/* Section title */
.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-top: 0px;
  margin-bottom: 40px;
}
.section-title span {
  color: #00e5ff;
}

/* Skills Section */
.skills-section {
  padding: 60px 8%;
  background-color: #0b0f19;
}

.skills-category h3 {
  text-align: center;
  color: #00e5ff;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 25px;
  justify-items: center;
}

.skill-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 12px;
  text-align: center;
  padding: 20px;
  width: 150px;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(40px);
}

.skill-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.skill-card p {
  margin-top: 10px;
  font-size: 1rem;
}

.skill-card:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px #00e5ff;
}

/* Fade-up animation class */
.show {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive */

/* ===== Mobile Responsiveness ===== */
@media (max-width: 768px) {
    /* Header adjustments */
    .header {
        padding: 15px 10px;
    }

    .logo {
        font-size: 20px;
    }




    /* Skills Section */
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .skill-card {
        width: 120px;
        padding: 15px;
    }

    .skill-card img {
        width: 50px;
        height: 50px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
}
/* ===== Simple Projects ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  /* Theme Colors */
  --primary-cyan: #0ef;
  --secondary-cyan: #00bcd4;
  --background-dark: #0b1120;
  --text-light: #d1d8e0;
  --text-gray: #a4b0be;
  --white: #fff;
  --shadow-glow: 0 0 20px rgba(0, 238, 255, 0.3);

  /* Typography */
  --font-family: 'Poppins', sans-serif;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
}

/* Base */
* {
 
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
}

body {
  background: var(--background-dark);
  color: var(--text-light);
  overflow-x: hidden;
}

/* ---------------- PROJECT SECTION ---------------- */
.section {
  padding: 100px 10%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  margin-bottom: var(--space-10);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60%;
  height: 4px;
  background: linear-gradient(to right, var(--primary-cyan), var(--secondary-cyan));
  margin: 8px auto 0;
  border-radius: 4px;
  box-shadow: var(--shadow-glow);
}

/* ---------------- PROJECT TABS ---------------- */
.project-tabs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border: 1px solid var(--primary-cyan);
  border-radius: 8px;
  box-shadow: var(--shadow-glow);
  margin-bottom: 30px;
}

.tab {
  background: none;
  border: none;
  color: var(--primary-cyan);
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.tab.active {
  color: var(--secondary-cyan);
  border-bottom: 2px solid var(--secondary-cyan);
}

.tab:hover {
  color: var(--secondary-cyan);
}

/* ---------------- PROJECT GRID ---------------- */
.projects-grid {
  position:relative;
  height: 450px;
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.project {
  position: absolute;
  width: 300px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 238, 255, 0.3);
  border-radius: 12px;
  transition: transform 0.5s, opacity 0.5s, filter 0.5s;
  transform-style: preserve-3d;
  box-shadow: var(--shadow-glow);
}

.project-card {
  background: linear-gradient(160deg, #1a103f 0%, #3b1d8f 100%);
  color: #fff;
  text-align: center;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 238, 255, 0.25);
  box-shadow: 0 0 20px rgba(0, 238, 255, 0.15);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(0, 238, 255, 0.6);
  filter: brightness(1.1);
}

.project-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-bottom: 2px solid var(--primary-cyan);
}

.project-content {
  padding: var(--space-6);
}

/* ---------------- BUTTONS ---------------- */
.projects-section {
  position: relative; /* ✅ add this line */
}

#next, #prev {
  color: var(--primary-cyan);
  background: none;
  border: none;
  font-size: 2.5rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  opacity: 0.5;
  transition: 0.3s;
}

#next:hover, #prev:hover {
  opacity: 1;
  color: var(--secondary-cyan);
}




#next { right: 40px; }
#prev { left: 40px; }

/* ---------------- PROJECT LINKS ---------------- */
.project-links-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: var(--space-4);
  flex-wrap: wrap;
}

.see-more-link {
  text-decoration: none;
  color: var(--primary-cyan);
  border: 1px solid var(--primary-cyan);
  padding: 8px 18px;
  border-radius: 25px;
  transition: 0.3s ease;
  font-weight: 500;
}

.see-more-link:hover {
  background: var(--primary-cyan);
  color: #000;
  box-shadow: 0 0 15px rgba(0, 238, 255, 0.6);
}

/* ---------------- TOOLTIP ICON ---------------- */
.icon-wrapper {
  position: absolute;
  top: 8px;
  right: 8px;
  cursor: pointer;
}

.icon-wrapper i {
  font-size: 1rem;
  color: #000;
  background: rgba(0, 238, 255, 0.2);
  padding: 4px 6px;
  border-radius: 5px;
  transition: all 0.25s ease;
}

.icon-wrapper:hover i {
  background: var(--white);
  transform: scale(1.1);
}

/* Tooltip */
.icon-wrapper::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  opacity: 0;
  transition: 0.2s ease;
  pointer-events: none;
}

.icon-wrapper:hover::after {
  opacity: 1;
  transform: translate(-50%, 5px);
}

/* ---------------- ANIMATIONS ---------------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 768px) {
  .projects-grid {
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project {
    position: relative;
    width: 100%;
  }

  #next, #prev {
    display: none;
  }
}

/* ===== Featured Projects ===== */

.featured-projects-section {
  background: #0b0f19;
  color: #fff;
  padding: 100px 8%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  justify-items: center;
  margin-top: 40px;
}

.featured-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 238, 255, 0.2);
  border-radius: 15px;
  padding: 20px;
  max-width: 350px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 238, 255, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.featured-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(0, 238, 255, 0.5);
}

.featured-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.featured-card h3 {
  color: #00eaff;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.featured-card p {
  color: #bbb;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.view-btn {
  background: #00eaff;
  color: #0b0f19;
  padding: 10px 20px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.view-btn:hover {
  background: #0af;
  box-shadow: 0 0 20px #00eaff;
  transform: scale(1.05);
}

/* ===== Popup ===== */
.project-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 20, 30, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.project-popup.active {
  display: flex;
}

.popup-content {
  background: linear-gradient(145deg, #101828, #0d2233);
  border: 1px solid #00eaff66;
  border-radius: 20px;
  padding: 40px;
  max-width: 700px;
  width: 90%;
  text-align: left;
  color: #eee;
  box-shadow: 0 0 30px rgba(0, 238, 255, 0.3);
  position: relative;
  animation: popupFade 0.4s ease;
}

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

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  color: #00eaff;
  cursor: pointer;
  transition: 0.3s;
}

.close-btn:hover {
  color: #fff;
  transform: scale(1.2);
}

.popup-content h2 {
  color: #00eaff;
  margin-bottom: 10px;
}

.popup-content ul {
  margin: 15px 0;
  padding-left: 20px;
}

.popup-content ul li {
  margin-bottom: 8px;
}

.popup-images {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.popup-images img {
  border-radius: 10px;
  width: 48%;
  transition: transform 0.3s;
}

.popup-images img:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .popup-content {
    padding: 25px;
  }
  .popup-images img {
    width: 100%;
  }
}




/* ===== Certifications Section ===== */


.certifications-section {
  padding: 80px 8%;
  background-color: #0b0f19;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.certifications-section .section-title {
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: #fff;
}

.certifications-section .section-title span {
  color: #00eaff;
}

/* Grid layout */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
}

/* Card */
.cert-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 15px;
  overflow: hidden;
  width: 100%;
  max-width: 320px;
  text-align: center;
  transition: all 0.5s ease;
  opacity: 0;
  transform: translateY(60px);
}

.cert-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 2px solid #00eaff33;
}

/* Glow animation background */
.cert-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,234,255,0.1), transparent 60%);
  animation: glowRotate 6s linear infinite;
  z-index: 0;
}

@keyframes glowRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Content */
.cert-content {
  padding: 20px;
  position: relative;
  z-index: 2;
}

.cert-content h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 10px;
  animation: textSlide 0.8s ease forwards;
}

.cert-content p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 15px;
}

.cert-content a {
  display: inline-block;
  text-decoration: none;
  color: #00eaff;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cert-content a:hover {
  color: #0af;
  text-shadow: 0 0 10px #00eaff;
}

/* Hover animation */
.cert-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 0 25px #00eaff44;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 20px #00eaff33; }
  50% { box-shadow: 0 0 40px #00eaff88; }
  100% { box-shadow: 0 0 20px #00eaff33; }
}

/* Slide up fade animation */
.show {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.9s ease;
}

/* Text animation */
@keyframes textSlide {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .certifications-section {
    padding: 60px 5%;
  }

  .certifications-section .section-title {
    font-size: 1.8rem;
  }

  .cert-card img {
    height: 160px;
  }
}



/* ===== Contact Section ===== */
.contact {
  background: #0b0f19;
  padding: 100px 8%;
  color: #fff;
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact.show {
  opacity: 1;
  transform: translateY(0);
}

/* Container */
.contact-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4rem;
  perspective: 1000px;
}

/* Left Side */
.contact-left {
  flex: 1;
  min-width: 350px;
}

.contact-left h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-left h2 span {
  color: #00eaff;
}

.contact-left .reach {
  font-size: 1rem;
  margin-bottom: 25px;
}

.contact-left .reach a {
  color: #00eaff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-left .reach a:hover {
  color: #0af;
}

/* Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.input-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  backdrop-filter: blur(8px);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: 0 0 10px #00eaff;
  transform: scale(1.02);
}

.contact-form textarea {
  height: 120px;
  resize: none;
}

.form-actions {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

.btn {
  padding: 12px 25px;
  background: #00eaff;
  border: none;
  border-radius: 25px;
  color: #0b0f19;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #0af;
  color: #fff;
  transform: scale(1.05);
}

/* Right image area */
.contact-right {
  flex: 1;
  min-width: 300px;
  position: relative;
  transform-style: preserve-3d;
  animation: floatImage 5s ease-in-out infinite;
}

.contact-right img {
  width: 100%;
  border-radius: 50px;
  object-fit: cover;
  transform: translateZ(40px) rotateY(-5deg);
  box-shadow: 0 0 25px #00eaff55;
}

.contact-right .img-glow {
  position: absolute;
  inset: 0;
  border-radius: 50px;
 
  animation: glowPulse 4s ease-in-out infinite;
  z-index: 0;
}

/* Animations */
@keyframes glowPulse {
  0% { opacity: 0.4; transform: scale(1.1); }
  50% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0.4; transform: scale(1); }
}

@keyframes floatImage {
  0%, 100% { transform: translateY(0) rotateY(-5deg); }
  50% { transform: translateY(-15px) rotateY(5deg); }
}

/* Contact icons */
.contact-icons {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

.contact-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  background: transparent;
  border: 2px solid #00eaff;
  border-radius: 50%;
  color: #00eaff;
  font-size: 22px;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 0 10px #00eaff55;
}

.contact-icons a:hover {
  background: #00eaff;
  color: #0b0f19;
  transform: scale(1.15);
  box-shadow: 0 0 25px #00eaff;
}

.contact .reach p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 8px;
}

#toastMessage {
  position: fixed;
  top: 50%;
  left: 40px; /* distance from left edge */
  transform: translateY(-50%) translateX(-30px);
  background: rgba(0, 238, 255, 0.1);
  color: white;
  padding: 14px 28px;
  border: 1px solid #00eaff;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 25px rgba(0, 238, 255, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s ease;
  z-index: 9999;
}

/* When toast is visible */
#toastMessage.show {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}


/* Responsive */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column-reverse;
    text-align: center;
  }
  .contact-right img {
    transform: none;
    border-radius: 20px;
  }
  .contact-left h2 {
    font-size: 2rem;
  }
  .form-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .contact-right {
    display: none;
  }
}
  
  

/* Footer */

.footer {
  background: #0b0f19;
  padding: 20px 0 10px;
  text-align: center;
  border-top: 1px solid rgba(0, 229, 255, 0.2);
  position: relative;
  overflow: hidden;
}

/* Neon background glow */
.footer::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.1), transparent 70%);
  animation: glowPulse 3s infinite alternate;
}

@keyframes glowPulse {
  0% { opacity: 0.4; transform: translateX(-50%) scale(1); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.3); }
}

/* Social icons */
.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
  margin-bottom: 10px;
}

.footer-social a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #00eaff;
  color: #00eaff;
  font-size: 18px;
  text-decoration: none;
  transition: 0.4s ease;
  opacity: 0;
  animation: popUp 0.6s ease forwards;
  animation-delay: calc(0.1s * var(--i));
}

.footer-social a:hover {
  background: #00eaff;
  color: #0b0f19;
  box-shadow: 0 0 20px #00eaff, 0 0 40px #00eaff;
  transform: translateY(-5px);
}

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

/* Copyright text */
.footer-copy {
  color: #aaa;
  font-size: 14px;
  position: relative;
  z-index: 2;
}

.footer-copy span {
  color: #00eaff;
  font-weight: 600;
}

@media (max-width: 600px) {
  .footer-social a {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  .footer-copy {
    font-size: 13px;
  }
}


.apk{
  text-decoration: none;
  color: #080707;
}

.apk:hover{
  color: #02daf1;
  text-shadow: 0 0 10px #00eaff;
}

