/* ---------------- GLOBAL ---------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #080808;
  color: #fff;
}

.container {
  width: 100%;
  padding: 0 8%;
  margin: auto;
}

/* ---------------- HEADER ---------------- */
#header {
  height: 100vh;
  width: 100%;
  background: #080808;
  position: relative;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.logo {
  width: 140px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ff004f;
}

/* Resume Button */
.resume-btn {
  padding: 8px 18px;
  border: 2px solid #ff004f;
  border-radius: 6px;
  color: #ff004f;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.resume-btn:hover {
  background: #ff004f;
  color: #fff;
}

/* Header Content */
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(100vh - 120px);
}

.header-text {
  flex-basis: 55%;
}

.header-text h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.header-text span {
  color: #ff004f;
}

.header-text p {
  font-size: 20px;
  color: #ddd;
}

/* Header Image */
.header-photo img {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 5px solid #ff004f;
  object-fit: cover;
  box-shadow: 0 0 50px rgba(255, 0, 79, 0.4);
}

/* Buttons */
.header-buttons {
  display: flex;
  gap: 20px;
  margin-top: 25px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hire-btn {
  background: #ff004f;
  color: #fff;
}

.hire-btn:hover {
  background: #e60047;
  transform: translateY(-2px);
}

.projects-btn {
  border: 2px solid #ff004f;
  color: #ff004f;
}

.projects-btn:hover {
  background: #ff004f;
  color: #fff;
  transform: translateY(-2px);
}

/* Stats */
.header-stats {
  display: flex;
  gap: 50px;
  margin-top: 40px;
}

.stat h3 {
  font-size: 28px;
  color: #ff004f;
}

.stat p {
  color: #ddd;
  font-size: 16px;
}

.stat a {
  color: #ddd;
  text-decoration: none;
}

.stat a:hover {
  color: #ff004f;
}

/* Scroll Down */
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-down a {
  display: block;
  width: 30px;
  height: 50px;
  border: 2px solid #ff004f;
  border-radius: 25px;
  position: relative;
}

.scroll-down a span {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #ff004f;
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% { top: 10px; opacity: 1; }
  50% { top: 25px; opacity: 0.5; }
  100% { top: 40px; opacity: 0; }
}
/* ------------------------ ABOUT ------------------------ */
#about {
  padding: 40px 10% 60px;
  margin-top: 0; 
  color: #ababab;
  background-color: #080808;
}

.row {
  display: flex;
  align-items: center; /* vertically center both columns */
  justify-content: space-between;
  flex-wrap: wrap;
}

.about-col-2 .sub-title {
  font-size: 50px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}

.about-col-2 p {
  font-size: 18px;
  line-height: 1.8;
  color: #ddd;
}

/* Image column — left side */
.about-col-1 {
  flex-basis: 40%;
  order: 1; /* image first */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Text column — right side */
.about-col-2 {
  flex-basis: 55%;
  order: 2; /* text second */
  color: #ddd;
  line-height: 1.8;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px; /* add this */
}

.about-col-1 img {
  width: 80%;
  max-width: 350px;
  border-radius: 50%;
  border: 4px solid #ff004f;
  object-fit: cover;
  box-shadow: 0 0 30px rgba(255, 0, 79, 0.4);
}

#about .container {
  padding-left: 0;
  padding-right: 0;
}

/* For smaller screens */
@media (max-width: 900px) {
  .row {
    flex-direction: column-reverse;
    text-align: center;
  }

  .about-col-1, .about-col-2 {
    flex-basis: 100%;
  }

  .about-col-1 img {
    width: 200px;
    margin-top: 40px;
  }
}


/* ------------------- TABS ------------------- */
.tab-titles {
  display: flex;
  margin: 20px 0 40px;
}

.tab-links {
  margin-right: 50px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}

.tab-links::after {
  content: '';
  width: 0;
  height: 3px;
  background: #ff004f;
  position: absolute;
  left: 0;
  bottom: -8px;
  transition: 0.5s;
}

.tab-links.active-link::after {
  width: 50%;
}

/* ------------------- FLASH CARD LAYOUT ------------------- */
.tab-contents {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.tab-contents.active-tab {
  display: grid;
}

/* ------------------- FLASH CARD STYLE ------------------- */
.card {
  background: #111;
  border: 2px solid #ff004f;
  border-radius: 15px;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 12px rgba(255, 0, 79, 0.2);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(255, 0, 79, 0.6);
}

.card h3 {
  color: #ff004f;
  font-size: 22px;
  margin-bottom: 10px;
}

.card p {
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}

/* ------------------- PROJECT SLIDER ------------------- */
#projects {
  text-align: center;
  padding: 80px 0;  
  margin-top: 0; 
  background: #080808;
  color: #fff;
}

#projects .container {
  padding: 0 5%;
}

#projects .sub-title {
  font-size: 50px;
  font-weight: 600;
  margin-bottom: 40px;
  text-align: left;
}

/* Slider container */
.project-slider {
  position: relative;
  overflow: hidden;
}

/* Slides container */
.slides {
  display: flex;
  transition: transform 0.8s ease-in-out;
}

/* Each slide */
.project {
  display: flex;
  flex: 0 0 100%;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  background: #111;
  border: 2px solid #ff004f;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 0 30px rgba(255, 0, 79, 0.3);
}

/* Image */
.project img {
  width: 45%;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.6s ease;
}

.project:hover img {
  transform: scale(1.05);
}

/* Text content */
.project-info {
  flex: 1;
}

.project-info h2 {
  color: #ff004f;
  font-size: 28px;
  margin-bottom: 20px;
}

.project-info p {
  font-size: 17px;
  line-height: 1.6;
  color: #ddd;
  margin-bottom: 25px;
}

/* Buttons */
.project-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  color: #fff;
  transition: transform 0.3s ease, background 0.3s ease;
}

.btn.live {
  background: #ff004f;
}

.btn.code {
  background: transparent;
  border: 2px solid #ff004f;
}

.btn:hover {
  transform: translateY(-3px);
  background: #e60047;
}

/* Arrows */
.arrow {
  background: rgba(255, 0, 79, 0.7);
  border: none;
  color: #fff;
  font-size: 30px;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  transition: background 0.3s ease, transform 0.3s ease;
}

.arrow:hover {
  background: #ff004f;
  transform: translateY(-50%) scale(1.1);
}

.arrow.left {
  left: -20px;
}

.arrow.right {
  right: -20px;
}

/* Responsive */
@media (max-width: 900px) {
  .project {
    flex-direction: column;
    text-align: center;
  }

  .project img {
    width: 100%;
    height: 250px;
  }

  .arrow {
    display: none;
  }
}

/* ------------------- CONTACT SECTION ------------------- */
#contact {
  background: #000;
  color: #fff;
  padding: 0; /* Remove top, bottom, and side padding */
  margin: 0;
}

.contact-container {
  display: flex;
  justify-content: flex-start; /* Align content to the left */
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 50px;
  width: 100%;
  margin: 0;
  padding: 80px 0 80px 0; /* only top and bottom padding */
}

/* Left Side */
.contact-left {
  flex-basis: 35%;
  padding-left: 0; /* Remove default padding */
  margin-left: 0;
}

.contact-left h1 {
  font-size: 50px;
  color: #fff;
  margin-bottom: 20px;
}

.contact-left p {
  margin: 10px 0;
  font-size: 18px;
  color: #ccc;
}

.contact-left i {
  color: #ff004f;
  margin-right: 10px;
}

/* Social Icons */
.social-icons {
  margin-top: 20px;
}

.social-icons a {
  display: inline-block;
  margin-right: 20px;
  font-size: 28px;
  color: #ffffff; /* visible on black background */
  transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.2s ease;
}

.social-icons a:hover {
  color: #ff004f;
  text-shadow: 0 0 10px rgba(255, 0, 79, 0.7);
  transform: translateY(-3px) scale(1.1);
}

/* CV Button */
.btn {
  display: inline-block;
  background: #ff004f;
  color: white;
  padding: 12px 25px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  margin-top: 20px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #e60045;
}

.btn2 {
  background: #ff004f;
}

/* Right Side */
.contact-right {
  flex-basis: 60%;
  padding-left: 0;
}

.contact-right form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-right input,
.contact-right textarea {
  width: 100%;
  background: #1a1a1a;
  border: none;
  outline: none;
  padding: 15px;
  border-radius: 6px;
  font-size: 16px;
  color: #fff;
}

.contact-right textarea {
  resize: none;
}

.contact-right button {
  width: 150px;
  align-self: flex-start;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    gap: 30px;
    padding: 40px 0;
  }
  
  .contact-left,
  .contact-right {
    flex-basis: 100%;
    padding-left: 20px; 
  }

  .contact-right button {
    align-self: center;
  }
}
#msg {
  margin-top: 10px;
  display: block;
  font-size: 16px;
  color: #00ff88;
  font-weight: 500;
  transition: opacity 0.3s ease;
}
/* ------------------- VOLUNTEER SECTION ------------------- */
#volunteer {
  text-align: center;
  padding: 80px 0;
  margin-top: 0;
  background: #0a0a0a;
  color: #fff;
}

#volunteer .container {
  padding: 0 5%;
}

#volunteer .sub-title {
  font-size: 50px;
  font-weight: 600;
  margin-bottom: 40px;
  text-align: left;
}

/* Slider container */
.volunteer-slider {
  position: relative;
  overflow: hidden;
}

/* Slides container */
.volunteer-slides {
  display: flex;
  transition: transform 0.8s ease-in-out;
}

/* Each slide */
.volunteer {
  display: flex;
  flex: 0 0 100%;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  background: #111;
  border: 2px solid #00c2ff;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 0 30px rgba(0, 194, 255, 0.3);
}

/* Image */
.volunteer img {
  width: 45%;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.6s ease;
}

.volunteer:hover img {
  transform: scale(1.05);
}

/* Info */
.volunteer-info {
  flex: 1;
  text-align: left;
}

.volunteer-info h2 {
  color: #00c2ff;
  font-size: 28px;
  margin-bottom: 10px;
}

.volunteer-info h4 {
  color: #ff004f;
  font-size: 20px;
  margin-bottom: 15px;
}

.volunteer-info p {
  font-size: 17px;
  line-height: 1.6;
  color: #ddd;
  margin-bottom: 25px;
}

.duration {
  display: inline-block;
  font-size: 14px;
  color: #aaa;
  margin-top: 10px;
}

/* Buttons inside volunteer cards */
.volunteer-buttons {
  display: flex;
  gap: 15px;
}

.volunteer-buttons .btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Primary & secondary color scheme */
.view-btn {
  background: #00c2ff;
  color: #fff;
  border: none;
}

.view-btn:hover {
  background: #00a3d4;
  transform: translateY(-3px);
}

.certificate-btn {
  background: transparent;
  border: 2px solid #00c2ff;
  color: #00c2ff;
}

.certificate-btn:hover {
  background: #00c2ff;
  color: #fff;
  transform: translateY(-3px);
}

/* Arrows */
.vol-arrow {
  background: rgba(0, 194, 255, 0.7);
  border: none;
  color: #fff;
  font-size: 30px;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  transition: background 0.3s ease, transform 0.3s ease;
}

.vol-arrow:hover {
  background: #00c2ff;
  transform: translateY(-50%) scale(1.1);
}

.vol-arrow.left {
  left: -20px;
}

.vol-arrow.right {
  right: -20px;
}

/* Responsive */
@media (max-width: 900px) {
  .volunteer {
    flex-direction: column;
    text-align: center;
  }

  .volunteer img {
    width: 100%;
    height: 250px;
  }

  .vol-arrow {
    display: none;
  }

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