:root {
  /* Brand */
  --primary: #5b3e96;
  --primary-light: #8b6fcb;
  --primary-soft: #cfc4ee;

  /* Background */
  --bg-main: #f8f6f2;
  --bg-section: #ffffff;
  --bg-card: #ffffff;

  /* Text */
  --text-main: #3a2564;
  --text-light: #6e6a75;
  --text-muted: #9ca3af;

  /* Accent */
  --accent: #a78bfa;

  /* Status */
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #dc2626;

  /* Border */
  --border: #e7e3f0;
}

body {
  background:
    radial-gradient(circle at 20% 30%, var(--primary-soft) 0%, transparent 40%),
    radial-gradient(
      circle at 80% 70%,
      rgba(167, 139, 250, 0.15) 0%,
      transparent 40%
    ),
    linear-gradient(180deg, var(--bg-main), #ffffff);
  margin: 0;
  font-family: "Sono", monospace;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "MONO" 1;
}

/**********************************
=============
Navbar - Section
=============
**********************************/

.glass-navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.glass-navbar {
  left: 50%;
  transform: translateX(-50%);
  top: 20px;

  width: min(1000px, 90%);
  z-index: 9999;
  width: min(1000px, 90%);
  z-index: 9999;

  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);

  box-shadow: 0 3px 15px var(--accent);
  transition: all 0.4s ease;
}

.glass-navbar.scrolled {
  top: 0;

  width: min(1000px, 90%);
  z-index: 9999;

  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);

  box-shadow: 0 3px 15px var(--accent);
  position: fixed;
}

.glass-navbar .nav-link {
  color: var(--text-main);
}

.glass-navbar .nav-link:hover {
  color: var(--primary);
}

.glass-navbar .navbar-brand {
  color: var(--primary);
}

#checkbox {
  display: none;
}

.toggle {
  position: relative;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition-duration: 0.5s;
}

.bars {
  width: 100%;
  height: 4px;
  background-color: rgb(176, 92, 255);
  border-radius: 4px;
}

#bar2 {
  transition-duration: 0.8s;
}

#bar1,
#bar3 {
  width: 70%;
}

#checkbox:checked + .toggle .bars {
  position: absolute;
  transition-duration: 0.5s;
}

#checkbox:checked + .toggle #bar2 {
  transform: scaleX(0);
  transition-duration: 0.5s;
}

#checkbox:checked + .toggle #bar1 {
  width: 100%;
  transform: rotate(45deg);
  transition-duration: 0.5s;
}

#checkbox:checked + .toggle #bar3 {
  width: 100%;
  transform: rotate(-45deg);
  transition-duration: 0.5s;
}

#checkbox:checked + .toggle {
  transition-duration: 0.5s;
  transform: rotate(180deg);
}
/**********************************
navbar - end 
**********************************/

/**********************************
=============
Bubble - Section
=============
**********************************/
.bubble-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.bubble {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;

  box-shadow: inset 0 0 25px rgba(91, 62, 150, 0.25);

  animation: animate_4010 8s ease-in-out infinite;
}
.bubble:nth-child(2) {
  position: relative;
  zoom: 0.45;
  left: -10px;
  top: -100px;
  animation-delay: -4s;
}

.bubble:nth-child(3) {
  position: relative;
  zoom: 0.45;
  right: -80px;
  top: -300px;
  animation-delay: -6s;
}

.bubble:nth-child(4) {
  position: relative;
  zoom: 0.35;
  left: -120px;
  bottom: -200px;
  animation-delay: -3s;
}

.bubble:nth-child(5) {
  position: relative;
  zoom: 0.5;
  left: 0px;
  top: 200px;
  animation-delay: -5s;
}

@keyframes animate_4010 {
  0%,
  100% {
    transform: translateY(-20px);
  }
  50% {
    transform: translateY(20px);
  }
}

.bubble::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 45px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-soft);
  filter: blur(2px);
}

.bubble::after {
  content: "";
  position: absolute;
  top: 80px;
  left: 80px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(2px);
}

.bubble span {
  position: absolute;
  border-radius: 50%;
}

.bubble span:nth-child(1) {
  inset: 10px;
  border-left: 15px solid var(--primary);
  filter: blur(8px);
}

.bubble span:nth-child(2) {
  inset: 10px;
  border-right: 15px solid var(--primary-light);
  filter: blur(8px);
}

.bubble span:nth-child(3) {
  inset: 10px;
  border-top: 15px solid var(--accent);
  filter: blur(8px);
}

.bubble span:nth-child(4) {
  inset: 30px;
  border-left: 15px solid var(--primary-soft);
  filter: blur(12px);
}

.bubble span:nth-child(5) {
  inset: 10px;
  border-bottom: 10px solid var(--primary-light);
  filter: blur(8px);
  transform: rotate(330deg);
}
/**********************************
bubble - end 
**********************************/

/**********************************
=============
Circle - Section
=============
**********************************/

.hero-circles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.circle-2 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 10%;
  background: rgba(224, 216, 246, 0.788);
}

.circle-3 {
  width: 250px;
  height: 250px;
  top: 20%;
  right: -80px;
  background: rgba(168, 143, 236, 0.119);
}

/**********************************
circle - end 
**********************************/

/**********************************
=============
Hero - Section
=============
**********************************/

.hero-banner {
  min-height: 100vh;
  padding: 120px 20px 60px;

  position: relative;
  overflow: hidden;
}

.banner-content {
  max-width: 700px;
  z-index: 2;
}

.banner-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.banner-title2 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 20px;
}

/* btn Flower */
.btn-flower {
  height: 4em;
  width: 12em;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
}

.btn:focus,
.btn:active,
.btn:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.wrapper {
  height: 2em;
  width: 8em;
  position: relative;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.text1 {
  font-size: 15px;
  z-index: 1;
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 8px;

  background: rgba(207, 196, 238, 0.6);
  backdrop-filter: blur(6px);

  border: 1px solid var(--border);

  transition: all 0.4s ease;
}
.text2 {
  font-size: 15px;
  z-index: 1;
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 8px;
  background: rgba(207, 196, 238, 0.6);
  backdrop-filter: blur(6px);

  border: 1px solid var(--border);

  transition: all 0.4s ease;
}

.flower {
  display: grid;
  grid-template-columns: 1em 1em;
  position: absolute;
  transition: grid-template-columns 0.8s ease;
}

.flower1 {
  top: -12px;
  left: -13px;
  transform: rotate(5deg);
}
.flower2 {
  bottom: -5px;
  left: 8px;
  transform: rotate(35deg);
}
.flower3 {
  bottom: -15px;
  transform: rotate(0deg);
}
.flower4 {
  top: -14px;
  transform: rotate(15deg);
}
.flower5 {
  right: 11px;
  top: -3px;
  transform: rotate(25deg);
}
.flower6 {
  right: -15px;
  bottom: -15px;
  transform: rotate(30deg);
}

.petal {
  height: 1em;
  width: 1em;
  border-radius: 40% 70% / 7% 90%;

  background: linear-gradient(var(--primary-light), var(--accent));

  border: 1px solid var(--primary-soft);

  box-shadow: 0 0 6px rgba(167, 139, 250, 0.4);

  transition:
    width 0.6s ease,
    height 0.6s ease;
}

.two {
  transform: rotate(90deg);
}
.three {
  transform: rotate(270deg);
}
.four {
  transform: rotate(180deg);
}

.btn:hover .petal {
  background: linear-gradient(var(--primary), var(--primary-light));

  border-color: var(--accent);

  box-shadow: 0 0 12px rgba(167, 139, 250, 0.7);
}

.btn:hover .flower {
  grid-template-columns: 1.5em 1.5em;
}

.btn:hover .flower .petal {
  width: 1.5em;
  height: 1.5em;
}

.btn:hover .text1 {
  color: white;

  background: linear-gradient(135deg, var(--primary), var(--primary-light));

  box-shadow: 0 6px 20px rgba(91, 62, 150, 0.3);
}
.btn:hover .text2 {
  color: white;

  background: linear-gradient(135deg, var(--primary), var(--primary-light));

  box-shadow: 0 6px 20px rgba(91, 62, 150, 0.3);
}

/**********************************
hero section - end 
**********************************/

/**********************************
=============
Skills - Section
=============
**********************************/

.section-title {
  color: var(--primary);
}

.skill-card {
  padding: 30px;
  border-radius: 18px;
  background: var(--bg-card);
  transition: all 0.3s ease;
  height: 100%;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 5px 15px rgba(91, 62, 150, 0.05);
}

.skill-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-light);
  box-shadow: 0 15px 35px rgba(91, 62, 150, 0.15);
}

.icon {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 15px;
  transition: 0.3s;
}

.skill-card:hover .icon {
  color: var(--accent);
  transform: scale(1.1);
}

.skill-card h4 {
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--text-main);
}

.skill-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.badges {
  margin-top: 15px;
}

.badges span {
  display: inline-block;
  padding: 6px 14px;
  margin: 5px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  transition: 0.3s;
  border: 1px solid transparent;
}

.badges span:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/**********************************
skills section - end 
**********************************/

/**********************************
=============
PROJECT - Section
=============
**********************************/

.projects-section {
  padding: 80px 0;
}
.section-title2 {
  color: var(--primary-light);
  text-shadow: 0 4px 12px rgba(255, 77, 252, 0.366);
  font-size: 40px;
}

.section-subtitle {
  font-size: 30px;
}

/* Pills Base */
.nav-pills .nav-link {
  border-radius: 30px;
  padding: 8px 22px;
  margin: 5px;
  font-weight: 500;

  background: #f1f3f9;
  color: #333;
  border: 1px solid transparent;

  transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
  background: var(--primary);
  color: var(--bg-card);
}

/* Active */
.nav-pills .nav-link.active {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: white;
  box-shadow: 0 6px 18px rgba(13, 110, 253, 0.25);
}

/* ===============================
   CARD
================================ */
/* ===== Projects Section ===== */
.projects-section {
  padding: 80px 0;
}

.section-title2 {
  color: #5b3e96; /* بنفس اللون الأساسي */
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 20px;
  color: #6b5b8a;
  text-align: center;
  margin-bottom: 40px;
}

/* ===== Pills Filter ===== */
.nav-pills .nav-link {
  border-radius: 50px;
  padding: 8px 22px;
  margin: 5px;
  font-weight: 500;
  background: #f1f3f9;
  color: #5b3e96;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
  background: linear-gradient(135deg, #a78bfa, #5b3e96);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.nav-pills .nav-link:hover {
  background: #5b3e96;
  color: #fff;
}

/* ===== Project Cards ===== */

.project-card {
  position: relative;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease;
}
.project-card .video {
  position: relative;
  height: 420px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease;
}
.project-card:hover {
  transform: translateY(-8px);
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-card .content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 25px;

  background: linear-gradient(
    to bottom,
    rgba(91, 62, 150, 0.95),
    rgba(139, 111, 203, 0.81),
    rgba(207, 196, 238, 0.31),
    transparent
  );

  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.project-card:hover .content {
  transform: translateY(0);
}

.tab-content .project-card h5 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease 0.2s;
}

.tab-content .project-card h5 {
  opacity: 1;
  transform: translateY(0);
}

.tab-content .project-card p {
  color: rgba(0, 0, 0, 0.8);
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease 0.3s;
}

.tab-content .project-card .details-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 18px;
  border-radius: 30px;
  background: #a78bfa;
  color: white;
  font-size: 14px;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease 0.4s;
}

.tab-content .project-card:hover h5,
.tab-content .project-card:hover p,
.tab-content .project-card:hover .details-btn {
  opacity: 1;
  transform: translateY(0);
}

/**********************************
Projects section - end 
**********************************/

/**********************************
=============
ABOUT - Section
=============
**********************************/

.about-title {
  font-size: 32px;
  font-weight: 600;
  color: #7c3aed;
  letter-spacing: 1px;
}

.title-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #ec4899, #8b5cf6);
  margin: 15px 0 20px 0;
  border-radius: 5px;
}

.about-text {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}

.about-stats {
  display: flex;
  gap: 30px;
  margin-top: 20px;
  font-size: 15px;
}

.about-stats strong {
  font-size: 18px;
  color: #ec4899;
}

.about-btn {
  background: linear-gradient(to right, #5b3e96bb, #8b6fcbc5, #a78bfa);
  color: white;
  border-radius: 30px;
  padding: 10px 25px;
  transition: 0.3s ease;
}

.about-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.3);
}

.about-image-wrapper {
  position: relative;
  display: inline-block;
}

.about-img {
  max-width: 350px;
  filter: drop-shadow(0 25px 40px rgba(236, 72, 153, 0.25));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.flower {
  position: absolute;
  font-size: 28px;
  opacity: 0.5;
  animation: rotate 10s linear infinite;
}

.flower-2 {
  bottom: -20px;
  right: -10px;
}

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

/**********************************
about section - end 
**********************************/

/**********************************
=============
Certifications - Section
=============
**********************************/
.cert-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 40px 25px;
  box-shadow: 0 25px 60px rgba(139, 92, 246, 0.15);
  transition: 0.4s;
  position: relative;
}

.cert-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 80px rgba(139, 92, 246, 0.35);
}

.badge-certified {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(90deg, #6d28d9, #a855f7);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
}

.view-btn {
  background: linear-gradient(90deg, #6d28d9, #a855f7);
  border: none;
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  transition: 0.3s;
}

.view-btn:hover {
  opacity: 0.85;
}

.academy-logo {
  width: 80px;
}

.modal-content img {
  width: 750px;
  height: auto;

  border-radius: 12px;
}

/**********************************
certifications section - end 
**********************************/

/**********************************
=============
Process - Section
=============
**********************************/

.process-wrapper {
  position: relative;
}

.process-line {
  position: absolute;
  top: 38px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(to right, #ec4899, #8b5cf6);
  z-index: 0;
  opacity: 0.4;

  transform: scaleX(0);
  transform-origin: left;
  animation: drawLine 1.5s ease forwards;
  animation-delay: 0.5s;
}

@keyframes drawLine {
  to {
    transform: scaleX(1);
  }
}

.process-step {
  position: relative;
  z-index: 1;
  transition: 0.3s ease;
}

.process-step:hover {
  transform: translateY(-8px);
}

.icon-circle {
  width: 75px;
  height: 75px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(to right, #ec4899, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: white;
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.3);
}
@media (max-width: 768px) {
  .process-line {
    display: none;
  }
}

/**********************************
Process section - end 
**********************************/

/**********************************
=============
CTA - Section
=============
**********************************/

.cta-title {
  font-size: 34px;
  font-weight: 600;
  color: #6d28d9;
  letter-spacing: 1px;
}

.cta-text {
  font-size: 16px;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
}

.cta-btn {
  background: linear-gradient(to right, #ec4899, #8b5cf6);
  color: white;
  padding: 12px 35px;
  border-radius: 40px;
  font-weight: 500;
  transition: 0.3s ease;
  box-shadow: 0 15px 35px rgba(236, 72, 153, 0.3);
}

.cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(139, 92, 246, 0.4);
}

/**********************************
cta section - end 
**********************************/

/**********************************
=============
Contact - Section
=============
**********************************/

.contact-title {
  font-size: 30px;
  font-weight: 600;
  color: #7c3aed;
  line-height: 1.4;
}

.contact-info a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5b3e96;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 10px;
  transition: color 0.3s;
}
.contact-info a:hover {
  color: #ec4899;
}

.contact-text {
  color: #555;
  margin-top: 15px;
}

.contact-info i {
  color: #ec4899;
  margin-right: 8px;
}

.contact-form {
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.1);
}

.form-control {
  border-radius: 12px;
  border: 1px solid #eee;
}

.form-control:focus {
  border-color: #ec4899;
  box-shadow: 0 0 0 0.2rem rgba(236, 72, 153, 0.15);
}

.contact-btn {
  background: linear-gradient(to right, #ec4899, #8b5cf6);
  color: white;
  border-radius: 30px;
  padding: 10px;
  transition: 0.3s ease;
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.3);
}

/**********************************
contact - end 
**********************************/

/**********************************
***********************************/

/**********************************
=============
Portfolio - Section
=============
**********************************/

.portfolio-hero {
  padding: 100px 0 60px;
  text-align: center;
}

.portfolio-hero h1 {
  font-size: 42px;
  font-weight: 700;
  color: #6d28d9;
}

.portfolio-hero p {
  max-width: 600px;
  margin: 20px auto 0;
  color: #666;
  font-size: 16px;
}

/* ================= OLD PROJECTS SECTION ================= */

.old-projects {
  padding-top: 40px;
}

/* ===== FILTER BUTTONS ===== */
.filter-buttons {
  text-align: center;
  margin: 40px 0;
}
.filter-btn {
  border: none;
  background: transparent;
  font-weight: 500;
  margin: 0 15px;
  padding: 8px 15px;
  color: #777;
  position: relative;
  transition: 0.3s;
}
.filter-btn.active,
.filter-btn:hover {
  color: #6d28d9;
}
.filter-btn.active::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: #6d28d9;
  left: 0;
  bottom: -5px;
}

/* ===== PROJECT CARD ===== */

.old-projects .project-card {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.old-projects .project-card:hover {
  transform: none;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

/* ===== IMAGE ===== */

.old-projects .project-image {
  position: relative;
  overflow: hidden;
}

.old-projects .project-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.old-projects .project-image:hover img {
  transform: scale(1.08);
}

/* ===== OVERLAY ===== */

.old-projects .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.9),
    rgba(236, 72, 153, 0.9)
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.old-projects .project-image:hover .overlay {
  opacity: 1;
}

/* ===== BUTTONS INSIDE OVERLAY ===== */

.old-projects .overlay a {
  text-decoration: none;
  padding: 8px 22px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s ease;
}

.old-projects .view-btn {
  background: white;
  color: #6d28d9;
}

.old-projects .view-btn:hover {
  background: #6d28d9;
  color: white;
}

.old-projects .demo-btn {
  border: 1px solid white;
  color: white;
}

.old-projects .demo-btn:hover {
  background: white;
  color: #6d28d9;
}

/* ===== PROJECT INFO ===== */

.old-projects .project-info {
  padding: 20px;
}

.old-projects .project-info h5 {
  font-weight: 600;
  color: #6d28d9;
  margin-bottom: 8px;
}

.old-projects .project-info p {
  font-size: 14px;
  color: #333;
  margin-bottom: 6px;
  transition: none !important;
}

.old-projects .project-info h5:hover,
.old-projects .project-info p:hover {
  color: inherit;
}

/* ===== FILTER HIDE ===== */

.old-projects .hide {
  display: none !important;
}

.old-projects .project-info .teach {
  color: var(--accent);
}

/**********************************
portfolio section - end 
**********************************/

/**********************************
=============
Projects Details - Section
=============
**********************************/

.projectsdetails .project-banner h1 {
  letter-spacing: 2px;
  z-index: 2;
  position: relative;
  color: var(--primary);
}

.projectsdetails .project-banner p {
  color: var(--accent);
  z-index: 2;
  position: relative;
}

/* ===== Project Card ===== */

.projectsdetails #project-details .card {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  transition: all 0.3s ease;
}

.projectsdetails #project-details .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(91, 62, 150, 0.15);
}

/* Image */

/* Desktop Image */
.card-img-top.d-none.d-md-block {
  width: 100%;
  max-width: 900px;
  display: block;
  margin: 0 auto 50px auto;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 25px 60px rgba(91, 62, 150, 0.15);
  transition: 0.4s ease;
}

.card-img-top.d-none.d-md-block:hover {
  transform: scale(1.02);
}

/* Mobile Image */
.card-img-top.d-md-none {
  width: 100%;
  max-width: 260px;
  display: block;
  margin: 0 auto 50px auto;
  border-radius: 40px;
  border: 6px solid var(--primary);
  box-shadow: 0 20px 40px rgba(91, 62, 150, 0.25);
  transition: 0.4s ease;
}

.card-img-top.d-md-none:hover {
  transform: translateY(-8px);
}

#project-details h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

#project-details p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  border: none;
}

.btn-primary:hover {
  background: var(--primary-light);
}

.btn-outline-dark {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: white;
}

#other-projects .card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: 0.3s ease;
}

#other-projects .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(91, 62, 150, 0.15);
}

#other-projects .card-title {
  color: var(--primary);
  font-size: 1rem;
}

/**********************************
=============
Footer - Section
=============
**********************************/
.footer-section {
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--primary-light),
    var(--accent)
  );
  color: #fff;
  padding: 60px 30px;
  font-family: "Poppins", sans-serif;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.footer-section h4,
.footer-section h5 {
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-logo {
  font-size: 24px;
}

.footer-text {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.6;
}

/* Quick Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* Social Icons */
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-right: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social a:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* Contact info */
.footer-contact a {
  color: #fff;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--accent);
}

/* Divider */
.footer-divider {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 30px 0;
}

/* Footer bottom */
.footer-bottom p {
  font-size: 13px;
  opacity: 0.75;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .footer-social a {
    margin-right: 5px;
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .footer-section {
    padding: 40px 20px;
  }
}

/**********************************
footer section - end  
**********************************/
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 55px;
  height: 55px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
  z-index: 999;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}
