/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  h1, h2, h3, h4, h5, h6 {
  font-family: Garamond, 'Georgia', serif;
}
  font-family: 'Poppins', sans-serif;
  font-weight: normal;
  color: #fff; /* optional, for dark backgrounds */
  background-color: #111; /* optional, for contrast */
}


/* Navbar */
header {
  position: sticky;
  top: 0;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
  z-index: 100;
}

nav {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-weight: 600;
  font-size: 1.5rem;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #dcf0f6;
}

/* Home Section */
.home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6rem 2rem;
  min-height: 100vh;
  background: linear-gradient(135deg, #101010,rgb(30, 29, 29), #101010);
  color: #fff;
  h2{
    color: #fff700;
  }
  flex-wrap: wrap;
}

/* Content */
.home-content {
  max-width: 550px;
  flex: 1;
}

.home-content h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.home-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.home-content p {
  color: #ccc;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.highlight {
  color: #ffd700;
}

/* Buttons */
.home-buttons .btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  margin-right: 0.5rem;
  border-radius: 30px;
  background: linear-gradient(to right, #ffd700, #f39c12);
  color: #333;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-secondary {
  background: transparent;
  border: 2px solid #ffd700;
  color: #ffd700;
}

.home-buttons .btn:hover {
  background: #ffcc00;
  transform: translateY(-3px);
}

.btn-secondary:hover {
  background: #ffd700;
  color: #333;
}

/* Profile Image */

.home-image img {
  width: 350px;
  border-radius: 50%;
  border: 4px solid #ffd700;
  box-shadow: 0 0 25px rgba(255,215,0,0.4);
  transition: 0.3s;
}

.home-image img:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 900px) {
  .home {
    flex-direction: column;
    text-align: center;
  }
  
  .home-content {
    margin-bottom: 2rem;
  }

  .home-image img {
    width: 250px;
  }
}

/* Glass Card */
.glass-card {
  background: rgba(255,255,255,0.1);
  h2{
   color: #ffe100;
}
  backdrop-filter: blur(15px);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 800px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  text-align: center;
}

/* Profile Image */
.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #cfebf4;
  margin-bottom: 1rem;
}

/* Skills Section */
.skills {
  max-width: 600px;
  text-align: left;
}

.skill {
  margin: 1rem 0;
}

.skill span {
  font-weight: 600;
}

.progress {
  width: 100%;
  height: 10px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 0.3rem;
}
.progress div {
  height: 10px;
  background: #f7e8f4;
  width: 0;
  animation: fill 2s forwards;
}

#certificates {
  padding: 60px 20px;

  text-align: center;
}
.section-title {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #ffe100;
}

.certificate-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slide-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.certificate-card {
  flex: 0 0 auto;
  width: 250px;
  background: rgba(0,0,0,0.1);
  border-radius: 15px;
  padding: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.certificate-card img {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
}

.certificate-card:hover {
  transform: scale(1.05);
}

/* Infinite scroll keyframes */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Optional: Pause on hover */
.certificate-slider:hover .slide-track {
  animation-play-state: paused;
}

.contact-section {
  padding: 4rem 2rem;
  background: #0e0e0e;
  color: #fff;
   h2{
    color: #ffe100;
  }
  text-align: center;
}
.contact-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 600px;
  margin: auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  background: #1a1a1a;
  color: #fff;
 
  margin-bottom: 1rem;
}

.contact-form button {
  background: linear-gradient(to right, #ffd700, #f39c12);
  font-weight: 600;
  color: #000;
  border: none;
  padding: 0.9rem 1.5rem;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-form button:hover {
  transform: scale(1.05);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-links a svg {
  width: 32px;
  height: 32px;
  stroke: #ffd700;
  transition: transform 0.3s ease;
}

.social-links a:hover svg {
  transform: scale(1.2);
  stroke: #f39c12;
}

/* Responsive */
@media (max-width: 600px) {
  .contact-container {
    padding: 0 1rem;
  }
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
  margin-top: 3rem;
  font-size: 0.9rem;
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s, transform 1s;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}
