:root {
  --primary: #6c63ff;
  --primary-dark: #5a52d5;
  --secondary: #ff6584;
  --dark: #2a2d3e;
  --darker: #1f2232;
  --light: #f8f9fa;
  --gray: #8a8d9b;
  --transition: all 0.3s ease;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  background-color: var(--darker);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
}
.container {
  width: 90%;
  z-index: 7;
  max-width: 1200px;
  margin: 0 auto;
}
section {
  padding: 100px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}
.section-title h2 {
  font-size: 2.5rem;
  display: inline-block;
  position: relative;
}
.section-title h2::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: "Poppins", sans-serif;
}
.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
} /* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
header.scrolled {
  background: rgba(31, 34, 50, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
}
.logo span {
  color: var(--primary);
}
.nav-links {
  display: flex;
  list-style: none;
}
.nav-links li {
  margin-left: 40px;
}
.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover {
  color: var(--primary);
}
.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary);
  bottom: -5px;
  left: 0;
  transition: var(--transition);
}
.nav-links a:hover::after {
  width: 100%;
}
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
  z-index: 1001;
} /* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-content {
  max-width: 650px;
  z-index: 5;
}
.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero h1 span {
  color: var(--primary);
}
.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--gray);
}
.hero-btns {
  display: flex;
  gap: 15px;
}
.hero-shape {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--secondary),
    var(--accent, #00ffcc)
  );
  border-radius: 50% 30% 70% 40% / 40% 50% 60% 70%;
  opacity: 0.2;
  z-index: 1;
  filter: blur(20px);
  animation: liquid-flow 12s ease-in-out infinite;
  box-shadow: inset 0 0 100px rgba(255, 255, 255, 0.1),
    0 0 150px rgba(var(--primary-rgb, 100, 200, 255), 0.3);
}
@keyframes liquid-flow {
  0%,
  100% {
    border-radius: 50% 30% 70% 40% / 40% 50% 60% 70%;
    transform: translateY(-50%) scale(1) rotate(0deg);
  }
  33% {
    border-radius: 60% 40% 40% 70% / 70% 40% 60% 40%;
    transform: translateY(-50%) scale(1.1) rotate(120deg);
  }
  66% {
    border-radius: 40% 60% 70% 40% / 50% 60% 40% 60%;
    transform: translateY(-50%) scale(0.9) rotate(240deg);
  }
} /* About Section */

/* ========== Clean Minimal Redesign ========== */

:root {
  --primary: #6c63ff;
  --primary-light: #8a84ff;
  --secondary: #ff6584;
  --dark: #121212;
  --darker: #0a0a0a;
  --light: #f5f5f5;
  --gray: #a0a0a0;
  --light-gray: #2a2a2a;
  --border: #333333;
}

/* About Section */
.about {
  padding: 100px 0;
  background: var(--darker);
}

.about-header {
  text-align: center;
  margin-bottom: 60px;
}

.about-header h2 {
  font-size: 2.8rem;
  color: var(--light);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.about-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary);
}

.about-header p {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 20px auto 0;
}

/* About Cards */
.about-cards {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-card {
  background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.card-title h3 {
  font-size: 1.8rem;
  color: var(--light);
  margin-bottom: 5px;
}

.card-title p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* Bio Content */
.bio-content p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}

.timeline-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 35px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 5px;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--darker);
}

.timeline-content h4 {
  color: var(--light);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.timeline-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.timeline-date {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(108, 99, 255, 0.1);
  padding: 5px 12px;
  border-radius: 20px;
}

.timeline-location {
  color: var(--secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.timeline-content p {
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Skills Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.tag {
  background: rgba(255, 255, 255, 0.05);
  color: var(--light);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.tag:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.05);
}

/* Certifications Grid */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 10px;
}

.cert-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s ease;
}

.cert-box:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.cert-top {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.cert-logo {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
}

.cert-info h4 {
  color: var(--light);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.cert-year {
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 500;
}

.cert-desc {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.cert-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 8px 16px;
  background: rgba(108, 99, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cert-link:hover {
  background: var(--primary);
  color: white;
  gap: 12px;
}

/* ========== Projects Section ========== */
.projects {
  padding: 100px 0;
  background: var(--dark);
}

.projects-header {
  text-align: center;
  margin-bottom: 60px;
}

.projects-header h2 {
  font-size: 2.8rem;
  color: var(--light);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.projects-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary);
}

.projects-header p {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 20px auto 0;
}

/* Projects Grid */
.projects-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.project {
  background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
}

.project:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.project-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary);
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  z-index: 2;
}

.project-image {
  height: 220px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.project-content {
  padding: 30px;
}

.project-content h3 {
  color: var(--light);
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.project-content p {
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
}

.tech {
  background: rgba(255, 255, 255, 0.05);
  color: var(--light);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  border: 1px solid var(--border);
}

.project-actions {
  display: flex;
  gap: 10px;
}

.project-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.project-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.project-btn.demo:hover {
  background: var(--secondary);
  border-color: var(--secondary);
}

/* Coming Soon Project */
.coming-project {
  background: linear-gradient(
    145deg,
    rgba(108, 99, 255, 0.1),
    rgba(108, 99, 255, 0.05)
  );
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 300px;
}

.coming-content {
  padding: 40px;
  max-width: 400px;
}

.coming-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
  opacity: 0.5;
}

.coming-content h3 {
  color: var(--light);
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.coming-content p {
  color: var(--gray);
  margin-bottom: 20px;
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
  .about-card {
    padding: 30px;
  }

  .projects-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }

  .cert-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-header h2,
  .projects-header h2 {
    font-size: 2.2rem;
  }

  .card-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .card-icon {
    margin: 0 auto;
  }

  .timeline {
    padding-left: 20px;
  }

  .project {
    margin-bottom: 20px;
  }

  .project-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .about-card {
    padding: 20px;
  }

  .card-title h3 {
    font-size: 1.5rem;
  }

  .projects-container {
    grid-template-columns: 1fr;
  }

  .project-content {
    padding: 20px;
  }
}

/* Contact Section */
.contact {
  background: var(--dark);
}
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.contact-info p {
  color: var(--gray);
  margin-bottom: 30px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}
.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(108, 99, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}
.contact-text h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.contact-text p {
  margin: 0;
  color: var(--gray);
}
.contact-form {
  background: var(--darker);
  padding: 30px;
  border-radius: 10px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}
.form-control {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: white;
  font-family: "Poppins", sans-serif;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
}
textarea.form-control {
  min-height: 150px;
  resize: vertical;
}
.send-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4%;
}
.send-btn i {
  font-size: xx-large;
  display: none;
  animation: spin 1s linear infinite;
}
.form-message {
  margin-top: 2%;
  font-family: sans-serif;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
} /* Footer */
footer {
  background: var(--darker);
  padding: 50px 0 20px;
  text-align: center;
}
.footer-content {
  margin-bottom: 40px;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}
.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  text-decoration: none;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--primary);
  transform: translateY(-5px);
}
.copyright {
  color: var(--gray);
  font-size: 0.9rem;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
} /* Responsive Design */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }
  .about-img {
    order: -1;
  }
}
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .skills {
    margin-top: 7%;
  }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--darker);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    transform: translateX(-100%);
    opacity: 0;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }
  .nav-links.active {
    transform: translateX(0);
    opacity: 1;
  }
  .nav-links li {
    margin: 20px 0;
  }
  .nav-links a {
    font-size: 1.2rem;
  }
  .hero h1 {
    font-size: 2.3rem;
  }
  .hero-btns {
    flex-direction: column;
    align-items: flex-start;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 576px) {
  .section-title h2 {
    font-size: 2rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .about-text h3 {
    font-size: 1.6rem;
  }
  .hero-btns .btn {
    width: 100%;
    text-align: center;
  }
}
