/* RESET & BASE */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* HEADER */
header {
  background: #333;
  color: white;
  padding: 0.1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

header .container {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-family: 'Dancing Script', cursive;
}

header h1 i {
  color: #bb09ec;
}

header nav {
  display: flex;
  flex-wrap: wrap;
}

header nav a {
  color: white;
  margin-left: 2rem;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1.1rem;
}

header nav a:hover {
  color: #bb09ec;
  text-decoration: underline;
}

header nav a.active {
  color: #bb09ec;
  text-decoration: underline;
}

main {
  padding-top: 80px;
}

section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 2rem;
}

.hero {
  background: #f5f5f5;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 7rem;
  padding: 6rem 2rem 2rem;
  height: 100vh;
}

#about { background: #e0f7fa; }
#education { background: #f1f8e9; }
#skills { background: #fff3e0; }
#projects { background: #fce4ec; }
#experience { background: #e8eaf6; }
#hobbies { background: #ede7f6; }

.hero-left {
  flex: 1;
  text-align: center;
  margin-left: 10rem;
  padding: 5rem 2rem;
}

.hero-right {
  flex: 2;
  padding: 7rem 2rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin: 0 0 1rem;
}

.static-text {
  font-size: 2rem;
}

.dynamic-text {
  font-size: 2rem;
  font-weight: bold;
  color: #bb09ec;
}

.cursor {
  font-size: 2rem;
  font-weight: bold;
  color: #0c0b0c;
  animation: blink 1s infinite;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

/* 3D profile pic */
.profile-pic-container {
  display: inline-block;
  perspective: 1200px;
  margin-top: 3rem;
}

.profile-pic {
  border-radius: 50%;
  width: 350px;
  height: 350px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transform-style: preserve-3d;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.profile-pic:hover {
  transform: rotateY(20deg) rotateX(10deg) scale(1.05);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

/* ✅ HERO BUTTONS WITH DIFFERENT FONTS */
.hero-button {
  display: inline-flex;
  align-items: center;
  background: #0b0c0c;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 50px;
  transition: background 0.3s ease;
}

.hero-buttons {
  display: flex;
  gap: 1rem; /* ✅ This controls the space BETWEEN buttons */
  margin-top: 1.5rem;
}


.hero-button i {
  margin-left: 0.5rem;
  font-size: 1.2rem;
}

.hero-button:hover {
  background: #bb09ec;
  text-decoration: none;
}

/* Specific button font styles */
.about-button {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
}

.resume-button {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  text-transform: capitalize;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #333;
  color: #fff;
  border-radius: 50%;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #bb09ec;
  transform: translateY(-5px) scale(1.1);
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  border-left: 6px solid #333;
  padding-left: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.section-title i {
  margin-right: 0.5rem;
  color: #333;
}

.section-title:hover {
  color: #bb09ec;
  transform: translateX(5px);
}

.card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
  transition: transform 0.5s, box-shadow 0.5s;
  font-size: 1.2rem;
  line-height: 1.8;
}

.card:hover {
  transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* ✅ FOOTER */
footer {
  background: #333;
  color: white;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
  text-align: left;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-weight: bold;
  font-size: 1.8rem;
  margin: 0 0 1rem 0;
}

.footer-subtext {
  margin: 0;
  font-size: 1.1rem;
  opacity: 0.8;
  line-height: 1.5;
}

.footer-designed {
  margin: 0;
  font-size: 1.4rem;
  color: #bb09ec;
  font-weight: bold;
  opacity: 1;
  font-family: 'Pacifico', cursive;
}

.footer-divider {
  width: 2px;
  height: auto;
  background: #555;
  align-self: stretch;
}

.footer-divider-horizontal {
  width: 100%;
  height: 2px;
  background: #555;
  margin: 0.5rem 0;
}

.footer-contact-title {
  font-weight: bold;
  font-size: 1.6rem;
  margin: 0 0 0.5rem 0;
}

.footer-contact p {
  margin: 0.2rem 0;
  font-size: 1.1rem;
  opacity: 0.9;
}

.footer-contact i {
  margin-right: 0.5rem;
  color: #bb09ec;
}

@media (max-width: 768px) {
  footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-divider {
    display: none;
  }

  .footer-divider-horizontal {
    align-self: center;
  }

  .footer-section {
    align-items: center;
  }
}

a {
  color: #007acc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ✅ Custom Scrollbar */
body::-webkit-scrollbar {
  width: 12px;                /* Width of vertical scrollbar */
}

body::-webkit-scrollbar-track {
  background: #f1f1f1;        /* Light grey track */
}

body::-webkit-scrollbar-thumb {
  background-color: #bb09ec;  /* Your accent color for the thumb */
  border-radius: 10px;        /* Rounded corners */
  border: 2px solid #f1f1f1;  /* Creates space around thumb */
}

body::-webkit-scrollbar-thumb:hover {
  background-color: #9506b5;  /* Darker shade when hovered */
}
