@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  font-family: 'Poppins', sans-serif;
}

html {
  font-size: 62.5%;
}

body {
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  background-color: black;
  color: white;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 9%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  font-size: 3rem;
  color: #b74b4b;
  font-weight: 800;
  cursor: pointer;
  transition: 0.5s ease;
}

.logo:hover {
  transform: scale(1.1);
}

/* Navigation */
nav a {
  font-size: 1.8rem;
  color: white;
  margin-left: 4rem;
  font-weight: 500;
  transition: 0.3s ease;
  border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active {
  color: #b74b4b;
  border-bottom: 3px solid #b74b4b;
}

/* Mobile nav toggle */
.menu-toggle {
  display: none;
  font-size: 3rem;
  color: #b74b4b;
  cursor: pointer;
}

.menu-toggle.active i {
  transform: rotate(90deg);
}

@media (max-width: 995px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 80px;
    right: 20px;
    display: none;
    width: 40%;
    padding: 2rem;
    background-color: #161616;
    border: 2px solid #b74b4b;
    border-radius: 1rem;
    flex-direction: column;
  }

  nav.active {
    display: flex;
  }

  nav a {
    margin: 1.5rem 0;
    font-size: 2rem;
  }
}

/* Sections */
section {
  min-height: 100vh;
  padding: 8rem 9% 5rem;
}

.home {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8rem;
  background-color: black;
  flex-wrap: wrap;
  margin-top: 5rem;
}

.home .home-content h1 {
  font-size: 6rem;
  font-weight: 700;
  line-height: 1.3;
}

span {
  color: #b74b4b;
}

.home-content h3 {
  font-size: 4rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.home-content p {
  font-size: 1.6rem;
  max-width: 600px;
  margin: 1rem 0 2rem;
  line-height: 1.7;
}

.home-img img {
  width: 32vw;
  max-width: 300px;
  border-radius: 50%;
  box-shadow: 0 0 25px #b74b4b;
  transition: 0.3s ease;
  cursor: pointer;
}

.home-img img:hover {
  transform: scale(1.05);
}

/* Social Icons */
.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  background-color: transparent;
  border: 0.2rem solid #b74b4b;
  font-size: 2rem;
  border-radius: 50%;
  margin: 3rem 1.5rem 3rem 0;
  transition: 0.3s ease;
  color: #b74b4b;
}

.social-icons a:hover {
  color: black;
  transform: scale(1.3) translateY(-5px);
  background-color: #b74b4b;
  box-shadow: 0 0 25px #b74b4b;
}

/* Button */
.btn {
  display: inline-block;
  padding: 1rem 2.8rem;
  background-color: black;
  border-radius: 4rem;
  font-size: 1.6rem;
  color: #b74b4b;
  letter-spacing: 0.3rem;
  font-weight: 600;
  border: 2px solid #b74b4b;
  transition: 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  transform: scale(1.05);
  background-color: #b74b4b;
  color: black;
  box-shadow: 0 0 25px #b74b4b;
}


/* Responsive Layout */
@media (max-width: 1000px) {
  .home {
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  .home {
    flex-direction: column;
    margin-top: 10rem;
  }

  .home .home-content h1 {
    font-size: 5rem;
  }

  .home .home-content h3 {
    font-size: 3rem;
  }

  .home-img img {
    width: 70vw;
    margin-top: 4rem;
  }
}

/* Placeholder sections */
section h2 {
  font-size: 4rem;
  text-align: center;
  color: #b74b4b;
  margin-top: 4rem;
}


/* Section Title */
.section-title {
  font-size: 4rem;
  color: #b74b4b;
  text-align: center;
  margin-bottom: 4rem;
}

/* Services Section */
.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  padding: 0 2rem;
}

.service-card {
  background-color: #161616;
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  text-align: center;
  border: 2px solid #b74b4b;
  transition: 0.3s ease;
  box-shadow: 0 0 10px rgba(183, 75, 75, 0.2);
}

.service-card i {
  font-size: 4rem;
  color: #b74b4b;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: white;
}

.service-card p {
  font-size: 1.4rem;
  color: #ccc;
  line-height: 1.6;
}

.service-card:hover {
  transform: translateY(-10px);
  background-color: #1e1e1e;
  box-shadow: 0 0 20px #b74b4b;
}



/* Skills Section */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  padding: 0 2rem;
}

.skill-box {
  background: #161616;
  padding: 2rem;
  border-radius: 1rem;
  border: 2px solid #b74b4b;
  transition: 0.3s ease;
}

.skill-box:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px #b74b4b;
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.skill-header i {
  font-size: 3rem;
}

.skill-header h3 {
  font-size: 2rem;
  color: #fff;
}

/* Progress Bars */
.progress-bar {
  background: #333;
  border-radius: 1rem;
  overflow: hidden;
  height: 20px;
}

.progress {
  height: 100%;
  color: black;
  font-size: 1.3rem;
  font-weight: 600;
  padding-left: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: #b74b4b;
  border-radius: 1rem;
  transition: width 1s ease-in-out;
}

.progress.html { width: 90%; }
.progress.css { width: 85%; }
.progress.js { width: 80%; }
.progress.react { width: 75%; }
.progress.figma { width: 70%; }



.education {
  padding: 80px 10%;
  background: #111;
}

.timeline {
  position: relative;
  margin: 40px 0;
  padding-left: 20px;
  border-left: 2px solid #ff6a00;
}

.timeline-item {
  margin-bottom: 40px;
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -10px;
  top: 5px;
  width: 16px;
  height: 16px;
  background: #ff6a00;
  border-radius: 50%;
}

.timeline-date {
  color: #ff6a00;
  font-weight: bold;
  margin-bottom: 5px;
}

.timeline-content {
  background: #222;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #333;
}

.timeline-content h3 {
  margin-bottom: 10px;
  color: #fff;
}

.timeline-content p {
  color: #bbb;
  font-size: 0.95rem;
}



.experience {
  padding: 80px 10%;
  background: #1a1a1a;
}

.experience-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.experience-box {
  background: #262626;
  padding: 25px;
  border-left: 4px solid #ff6a00;
  border-radius: 6px;
  transition: background 0.3s;
}

.experience-box:hover {
  background: #333;
}

.experience-box h3 {
  color: #fff;
  margin-bottom: 8px;
}

.experience-date {
  color: #ff6a00;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 10px;
}

.experience-box p {
  color: #ccc;
  font-size: 0.95rem;
}





.footer {
  background-color: #111;
  padding: 30px 20px;
  color: #ccc;
  text-align: center;
  margin-top: 60px;
}

.footer-content p {
  margin: 0;
  font-size: 15px;
}

.footer .social-links {
  margin-top: 15px;
}

.footer .social-links a {
  color: #b74b4b;
  margin: 0 12px;
  font-size: 22px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer .social-links a:hover {
  color: #b74b4b;
}



.typing-text {
  font-size: 24px;
  color: #fff;
  margin-top: 10px;
}

#typewriter {
  font-weight: bold;
  color: #b74b4b;
}

.cursor {
  display: inline-block;
  margin-left: 2px;
  color: #b74b4b;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}


 .carousel-wrapper {
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.carousel {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
  padding: 20px 0;
}

.review-card {
  background: #111;
  border-radius: 12px;
  padding: 20px;
  min-width: 280px;
  max-width: 300px;
  color: #fff;
  box-shadow: 0 0 10px #000;
  flex: 0 0 auto;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.review-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.review-card .stars {
  color: gold;
  margin-top: 10px;
  font-size: 18px;
}

.review-card.active {
  border-color: #b74b4b;
  box-shadow: 0 0 15px #b74b4b;
}


