@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

.typing-container {
  text-align: justify;
  overflow-x: hidden; /* +Prevent text overflow on small screens */
}

.typing-text {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(1rem, 4vw, 1.5rem); /* Responsive font size */
  color: #6f42c1;
  font-weight: bold;
  display: inline-block;
  border-right: 2px solid #111; /* blinking cursor */
  white-space: nowrap;
  overflow: hidden;
  animation: typing 3s steps(31, end) forwards, blink 0.7s step-end infinite;
  max-width: 100%;
  border-right: none;
}

/* Typing animation */
@keyframes typing {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

/* Cursor blink */
@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .typing-text {
    font-size: clamp(0.9rem, 4vw, 1.2rem);
    text-align: center;
    white-space: normal; /* allow wrapping if needed */
    border-right: 1px solid #111;
  }
}


/* Profile Badges ................................................... */

.cyber-profiles {
  background: #fff;
  padding: 80px 0;
  padding-bottom: 0%;
  text-align: center;
}

.section-heading {
  font-family: 'Share Tech Mono', monospace;
  font-size: 2rem;
  color: #111;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 50px;
  max-width: 600px;
  margin-inline: auto;
}

/* GRID: 3 equal cards */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
  padding: 0 20px;
}

/* Card styling */
.profile-card {
  background: #fafafa;
  width: 100%;
  max-width: 340px;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 420px; /* 🔥 same height for all */
}

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

.profile-card h3 {
  font-family: 'Share Tech Mono', monospace;
  color: #111;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.profile-card i {
  color: #111;
  margin-right: 6px;
}

.profile-desc {
  font-size: 0.9rem;
  color: #444;
  margin: 15px 0;
  line-height: 1.5;
}

.badge-frame {
  width: 100%;
  height: 150px;
  border: none;
  overflow: hidden;
  display: block;
  border-radius: 8px;
}

.tryhackme-frame-container {
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.linkedin-badge {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* GitHub / LinkedIn / TryHackMe button */
.profile-link {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  border-radius: 6px;
  background:#6f42c1;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.9rem;
}

.profile-link:hover {
  color:white;
  background-color: #8b5de1;
}

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


/* Profile Badges ............................... */

/* Work Experience ............................... */

.timeline-container {
  position: relative;
  margin: 40px auto;
  padding-left: 30px;
  max-width: 800px;
  text-align: left;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  width: 3px;
  height: 100%;
  background: #695aa6;
}

.timeline-item {
  position: relative;
  margin-bottom: 35px;
  padding-left: 25px;
}

.timeline-dot {
  position: absolute;
  left: 6px;
  top: 6px;
  width: 14px;
  height: 14px;
  background-color: #6f42c1;
  border-radius: 50%;
  box-shadow: 0 0 8px #695aa6;
}

.timeline-content {
  background: #fff;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.timeline-role {
  color: grey;
  font-weight: medium;
  margin-bottom: 5px;
}

.timeline-company {
  font-weight: 500;
  color: #333;
  margin-bottom: 5px;
}

.timeline-duration {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
}

.timeline-desc {
  color: #444;
  line-height: 1.6;
}

/* Work Experience ............................... */

/* Projects....................................................... */

/* Project Section - Full Width Single Card */
.single-project {
  display: flex;
  justify-content: center;
  align-items: center;
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    gap: 40px;
    align-items: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: linear-gradient(135deg, #0f172a, #020617);
}


.pricing-card.full-width {
  width: 100%;
  max-width: auto;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  padding: 25px;
}

.pricing-card.full-width:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-radius: 20px !important;
  box-shadow:
        0 0 8px rgba(255, 255, 255, 0.6),
        0 0 16px rgba(255, 255, 255, 0.4),
        0 0 32px rgba(255, 255, 255, 0.2);
}

/* Dual Logo Header */
.pricing-card-header.dual-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-bottom: 20px;
}

.org-logo {
  width: 130px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.divider {
  font-size: 1.8rem;
  font-weight: bold;
  color: #888;
}

.pricing-card-body {
  text-align: left;
}

.pricing-card-title {
  color: grey;
  margin-bottom: 10px;
}

.project-meta,
.project-duration {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.project-points {
  list-style-type: disc;
  padding-left: 20px;
  color: #333;
  line-height: 1.7;
  font-size: 0.96rem;
}

.project-points li {
  margin-bottom: 8px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .pricing-card.full-width {
    padding: 20px;
  }

  .org-logo {
    width: 100px;
  }

  .divider {
    font-size: 1.4rem;
  }
}

/* Projects....................................................... */

/* Hire me ........................................................ */

/* Floating Hire Me Button - Enhanced Version */
/* Floating Hire Me Button */
.floating-hire-btn {
  position: fixed;
  top: 80px; /* moved from bottom to top */
  right: 25px;
  background: linear-gradient(135deg, #6f42c1, #333);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 0 25px rgba(0, 255, 234, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #00ffea;
  text-transform: uppercase;
  animation: floatPulse 3s ease-in-out infinite;
}

.floating-hire-btn:hover {
  background: linear-gradient(135deg, #00ffea, #007BFF);
  color: #fff;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0 40px rgba(0, 255, 234, 0.8);
}

/* Floating animation */
@keyframes floatPulse {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Popup Styles */
.contact-popup {
  position: fixed;
  top: 135px; /* position below button */
  right: 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
  padding: 20px;
  z-index: 10000;
  display: none;
  animation: fadeIn 0.3s ease forwards;
  width: 220px;
  border: 2px solid #6f42c1;
}

.contact-popup.active {
  display: block;
}

.popup-content h4 {
  color: #6f42c1;
  font-size: 1rem;
  margin-bottom: 10px;
  text-align: center;
}

.popup-link {
  display: block;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  margin: 8px 0;
  padding: 6px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.popup-link i {
  margin-right: 8px;
  color: #6f42c1;
  transition: color 0.3s ease;
}

/* ✅ Fix: keep icons visible while hover */
.popup-link:hover {
  background: #6f42c1;
  color: white;
  transform: scale(1.05);
}

.popup-link:hover i {
  color: #fff; /* make icons white on hover */
}

/* Close button */
.close-btn {
  position: absolute;
  top: 6px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 1.3rem;
  color: #6f42c1;
  cursor: pointer;
  font-weight: bold;
}

/* Popup fade animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile Optimization */
@media (max-width: 600px) {
  .contact-popup {
    right: 15px;
    top: 135px;
    width: 200px;
  }

  .floating-hire-btn {
    top: 80px;
    right: 15px;
    padding: 10px 22px;
  }
}

/* Hire me ........................................................ */

/* Certifications ........................................................ */

/* Certification Section Styling */
#certification {
  background-color: #fff;
  padding: 60px 0;
}

.cert-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 25px 30px;
  margin: 20px auto;
  max-width: 900px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.cert-logo {
  width: 90px;
  height: auto;
  flex-shrink: 0;
  margin-right: 25px;
}

.cert-info {
  flex-grow: 1;
  text-align: left;
}

.cert-title {
  font-size: 1.2rem;
  color: grey;
  margin-bottom: 6px;
}

.cert-info p {
  margin: 3px 0;
  color: #555;
  font-size: 0.95rem;
}

.cert-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cert-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .cert-logo {
    margin: 0 0 15px 0;
    width: 80px;
  }

  .cert-btn {
    margin-top: 12px;
    width: 100%;
  }

  .cert-info {
    text-align: center;
  }
}


/* Certifications ........................................................ */

/* View CV button ........................................................ */

.cv-buttons {
  display: flex;
  justify-content: center;
  gap: 15px; /* space between buttons */
  flex-wrap: wrap; /* responsive on smaller screens */
}

.cv-buttons .btn {
  min-width: 150px;
  transition: all 0.3s ease;
}

.cv-buttons .btn:hover {
  transform: translateY(-3px);
}


/* View CV button ........................................................ */

/* hidden skills row ........................................................ */
.hidden-rows {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s ease, opacity 0.6s ease;
}

.hidden-rows.show {
  max-height: 2000px; /* Large enough to fit both rows */
  opacity: 1;
}
/* hidden skills row ........................................................ */

/* recongition section ........................................................ */

.recognition-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #0f172a, #020617);
    display: flex;
    justify-content: center;
}

.recognition-card {
    max-width: 900px;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 60px;
    display: flex;
    gap: 40px;
    align-items: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.recognition-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.6);
}

/* Badge */
.badge-wrapper {
    flex-shrink: 0;
}

.badge-wrapper img {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(255, 215, 0, 0.5));
    transition: transform 0.4s ease;
}

.recognition-card:hover .badge-wrapper img {
    transform: scale(1.05) rotate(-2deg);
}

/* Content */
.recognition-content h3 {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #a5b4fc;
    margin-bottom: 8px;
}

.recognition-content h4 {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 16px;
}

.recognition-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #e5e7eb;
    margin-bottom: 30px;
}

/* Button */
.cert-btn {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.cert-btn:hover {
    background: linear-gradient(135deg, #4f46e5, #3730a3);
    transform: translateY(-2px);
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .recognition-card {
        flex-direction: column;
        text-align: center;
    }
}
/* recongition section ........................................................ */

/* recongition button ........................................................ */
.recognition-ribbon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    margin-top: 22px;
    padding: 14px 22px;

    /* Horizontal fade */
    background: linear-gradient(
        90deg,
        rgba(99, 102, 241, 0.18) 0%,
        rgba(99, 102, 241, 0.10) 40%,
        rgba(99, 102, 241, 0.04) 70%,
        rgba(99, 102, 241, 0.00) 100%
    );

    border-left: 4px solid #6366f1;
    border-radius: 12px;
    backdrop-filter: blur(2px);
}

/* Text on left */
.ribbon-text {
    font-size: 15px;
    font-weight: 600;
    color: #6f42c1;
    letter-spacing: 0.2px;
}

/* Button on right */
.ribbon-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 18px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;

    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35);
    transition: all 0.25s ease;
}

.ribbon-btn:hover {
    transform: translateY(-1px);
    font-size: 14px;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.5);
}

.ribbon-btn i {
    font-size: 14px;
}

/* recongition button ........................................................ */

