* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background-color: #0f0f0f;
  color: #fff;
}

header {
  background: #1c1c1c;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  color: #8a2be2;
  font-size: 24px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #8a2be2;
}

.section {
  padding: 80px 40px;
  text-align: center;
}

#home h1 {
  font-size: 48px;
  margin: 10px 0;
  color: #8a2be2;
}

#home h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #aaa;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #00b7ff;
  color: #000;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #0099cc;
}
/* Card Layout & Section Titles */
.card-section {
  padding: 60px 20px;
  text-align: center;
}

.section-title {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: bold;
}

.section-title span {
  color: #8a2be2;
  position: relative;
}

.section-title span::after {
  content: '';
  display: block;
  height: 3px;
  width: 40px;
  background: #8a2be2;
  margin: 5px auto 0;
}

/* Card */
.card {
  background: #1f1f1f;
  padding: 30px;
  margin: 0 auto;
  max-width: 800px;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  text-align: left;
  color: #e0e0e0;
}

.card-title {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #fff;
  position: relative;
}

.card-title::after {
  content: '';
  display: block;
  height: 3px;
  width: 50px;
  margin: 6px auto;
  background: linear-gradient(to right, #8a2be2, #00ffff);
}

.highlight-blue {
  color: #00ffff;
  font-weight: bold;
}

.highlight-purple {
  color: #b18aff;
  font-weight: bold;
}

.academic {
  display: flex;
  align-items: center;
  background: #2c2c2c;
  margin-top: 20px;
  padding: 15px 20px;
  border-left: 6px solid #8a2be2;
  border-radius: 10px;
  font-size: 14px;
  color: #dcdcdc;
}

.academic i {
  font-size: 24px;
  margin-right: 15px;
  color: #fff;
}

/* Skill List */
.skill-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skill-list li {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  padding: 10px 15px;
  background: #292929;
  border-radius: 8px;
}

/* Star Ratings */
.stars {
  color: gold;
  font-size: 18px;
  letter-spacing: 2px;
}
/* Project Section Wrapper */
.projects-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Projects Grid */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  justify-items: center;  /* Center cards in columns */
  align-items: start;     /* Align card tops */
}

/* Individual Project Card */
.project {
  background-color: #1a1a1a;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 255, 255, 0.1);
  text-align: center;
  width: 100%;
  max-width: 350px;
  transition: transform 0.3s ease;
}

/* Hover Effect */
.project:hover {
  transform: translateY(-5px);
}

/* Project Image Styling */
.project img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

/* Project Title Link */
.project-link {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: #00ffff;
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
  transition: color 0.3s ease;
}

.project-link:hover {
  color: #00cccc;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  .project img {
    height: 160px;
  }

  .project-link {
    font-size: 13px;
  }
}



/* Section Titles */
.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 10px;
}

.section-title span {
  color: #8a2be2;
}

.section-subtitle {
  text-align: center;
  color: #aaa;
  margin-bottom: 40px;
  font-size: 18px;
}

/* Cards Container */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto 60px;
}

/* Individual Card */
.service-card {
  background-color: #1e1e1e;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0, 255, 255, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0, 255, 255, 0.1);
}

/* Icon Box */
.service-icon {
  font-size: 32px;
  color: #fff;
  width: 60px;
  height: 60px;
  line-height: 60px;
  margin: 0 auto 15px;
  border-radius: 16px;
}

/* Text Content */
.service-card h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 10px;
}

.service-card p {
  color: #ccc;
  font-size: 15px;
}

/* Visit Button */
.visit-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 14px;
  background-color: #00ffff;
  color: #000;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.visit-btn:hover {
  background-color: #00cccc;
}
.contact {
  background-color: #0d0d0d;
  padding: 60px 20px;
  color: #ffffff;
}

.contact .section-title {
  font-size: 36px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 10px;
}

.contact .section-title span {
  color: #b48ef7; /* matching your purple accent */
}

.contact .section-subtitle {
  text-align: center;
  color: #bbbbbb;
  font-size: 16px;
  margin-bottom: 40px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Left Info */
.contact-info {
  flex: 1 1 300px;
}

.contact-info h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.contact-box {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 15px 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #2c2c2c;
}

.contact-icon {
  font-size: 22px;
}

/* Right Form */
.contact-form {
  flex: 1 1 400px;
  background: #1a1a1a;
  border-radius: 12px;
  padding: 25px;
  border: 1px solid #2c2c2c;
}

.contact-form h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #ffffff;
}

.contact-form label {
  font-size: 14px;
  margin: 10px 0 5px;
  display: block;
  color: #dddddd;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  background-color: #2b2b2b;
  border: 1px solid #444;
  border-radius: 8px;
  color: #ffffff;
  margin-bottom: 15px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #888;
}

.contact-form button {
  width: 100%;
  background: linear-gradient(to right, #b48ef7, #86e3ce);
  color: #000;
  font-weight: bold;
  padding: 12px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-form button:hover {
  filter: brightness(1.1);
}



.socials a {
  margin: 0 10px;
  text-decoration: none;
  color: #00ffff;
}

footer {
  background: #111;
  padding: 20px;
  text-align: center;
  font-size: 14px;
}
