/* ✅ Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f8f9fa;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* ✅ Navbar */
.navbar {
  padding: 12px 0;
}

.navbar-brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}

.navbar .nav-link {
  font-weight: 500;
  transition: color 0.2s ease-in-out;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #0dcaf0 !important; /* Light blue hover */
}

/* ✅ Search Box (Compact) */
.navbar form input {
  width: 180px;
  border-radius: 30px;
  padding: 6px 12px;
}

.navbar form button {
  border-radius: 30px;
}

/* ✅ Hero Section */
.hero-section {
  padding: 80px 0;
  background: #fff;
}

.hero-section h3 {
  font-size: 36px;
  font-weight: 700;
  color: #222;
}

.hero-section p {
  font-size: 16px;
  color: #555;
}

.btn {
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: #fff !important;
}

.btn:hover {
  background: linear-gradient(135deg, #2575fc, #6a11cb);
  transform: scale(1.05);
}

/* ✅ Circular Profile + Rotating Text */
.circle-container {
  position: relative;
  width: 300px;
  height: 300px;
  margin: auto;
}

.profile-img {
  width: 230px;
  height: 230px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.circle-text {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  animation: rotateText 15s linear infinite;
  pointer-events: none;
}

.circle-text text {
  fill: url(#gradient);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 4px;
}

@keyframes rotateText {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ✅ Section Titles */
section h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 35px;
  position: relative;
  display: inline-block;
}

section h2::after {
  content: "";
  display: block;
  width: 50%;
  height: 3px;
  background: linear-gradient(90deg, #0d6efd, #6610f2);
  margin: 8px auto 0;
  border-radius: 2px;
}

/* ✅ Cards (Skills, Achievements, Experience, etc.) */
.card {
  border: none;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.card h5, .card h4 {
  font-weight: 600;
  color: #222;
}

/* ✅ Contact Section */
.contact-section input,
.contact-section textarea {
  border-radius: 8px;
  padding: 12px;
  border: 1px solid #ddd;
}

.contact-section button {
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
}

/* ✅ Footer */
.footer {
  background: #212529;
  color: #ccc;
  padding: 20px 0;
  font-size: 14px;
}

.footer .social-links a {
  font-size: 18px;
  margin: 0 8px;
  transition: color 0.3s ease;
}

.footer .social-links a:hover {
  color: #0dcaf0;
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
  }

  .circle-container {
    width: 250px;
    height: 250px;
  }

  .profile-img {
    width: 190px;
    height: 190px;
  }

  .circle-text {
    width: 250px;
    height: 250px;
  }

  .navbar form input {
    width: 100%;
  }
}
