/* Modern CSS Reset and Custom Properties */
:root {
  --primary: #2dd4bf;
  --secondary: #0f172a;
  --accent: #f43f5e;
  --text: #1e293b;
  /* --bg: #f8fafc; */
  --bg:black;
  --gradient: linear-gradient(135deg, #2dd4bf 0%, #0ea5e9 100%);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background-color: var(--bg);
  /* background-color: black; */

  overflow-x: hidden;
}

/* Animated Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 0% 0%, rgba(45, 212, 191, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.15) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

/* Modern Navigation */
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.logo::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  right: -12px;
  top: 5px;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  /* background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/cannon.jpg');
  background-size: cover;
  background-position: center 50%;
  background-attachment: fixed;
  z-index:-1;
  opacity: 1;
  transition: opacity 0.3s ease; */
}
.hero::before{
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('images/Nl-Barahi-dance-1.jpg');
  background-repeat: no-repeat;
  background-size: fit;
  background-position: center 60%;
  background-attachment: fixed;
  z-index: -1;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  animation: fadeInUp 1s ease;
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitle {
  font-size: 1.8rem;
  color: var(--text);
  opacity: 0.8;
  margin-bottom: 3rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  background: var(--gradient);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(45, 212, 191, 0.2);
}

.cta-button:hover::before {
  transform: translateX(100%);
}

/* About Section */
.about {
  padding: 8rem 2rem;
  background: rgba(255, 255, 255, 0.658);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: var(--gradient);
  filter: blur(150px);
  opacity: 0.8;
  top: -300px;
  right: -300px;
  border-radius: 50%;
}


h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 4rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--gradient);
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
}

.about-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
}

.skill {
  padding: 0.8rem 1.5rem;
  background: white;
  border-radius: 50px;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(45, 212, 191, 0.2);
  transition: all 0.3s ease;
}

.skill:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(45, 212, 191, 0.2);
  border-color: var(--primary);
}

/* Projects Section */
.projects {
  padding: 8rem 2rem;
  background: var(--bg);
  position: relative;
}

/* .project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
} */
.project-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* This below project-card is for display-grid */
/* .project-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.5s ease;
  position: relative;
} */

/* This below project-card is for display flex */
.project-card {
  width: 280px;
  height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.5s ease;
  position: relative;
}


.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 10px 30px rgba(231, 23, 23, 0.767);
  /* box-shadow: 0 20px 30px rgba(45, 212, 191, 0.1); */
}

.project-image {
  height: 250px;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
}
.PLHub{
  width:100%;
  height:60%;
  background-color: #380F4C;
}
.BookHub{
  width: 100%;
  height: 60%;
  background-color: rgb(250, 250, 250);
}
.birdie{
  width:100%;
  height:60%;
}

.cv{
   width:100%; 
  height:64%; 

}

.ML{
  width:100%;
  height:60%;

}

.facial{
  width:100%;
  height:60%;
}

.project-image::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.project-card h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  font-size: 1.5rem;
  color: var(--text);
}

.project-card p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text);
  opacity: 0.8;
}

/* Contact Section */
.contact {
  padding: 8rem 2rem;
  background: white;
  position: relative;
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(45, 212, 191, 0.1);

}

.contact-info iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: -1; /* Place the map behind the content */
  opacity: 0.5;
}

.contact-info {
  font-size: 1.3rem;
  line-height: 2.5;
}

.contact-info a {
  text-decoration: none;
  color:#2dd4bf;
}

.contact-info p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.contact-info p:hover {
  transform: translateX(10px);
  color: var(--primary);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: var(--secondary);
  color: white;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .subtitle {
    font-size: 1.4rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

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

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

#link{
  text-decoration: none;
}

.icons{
  display: flex;
  margin:0px 300px 0px;
  justify-content: space-between;
}

.icons>a{
  font-size:35px;
  color: black;
}

