/* style.css */
/* Modern Color Scheme */
:root {
  --primary: #6366f1;
  --primary-gradient: linear-gradient(135deg, #6366f1, #8b5cf6);
  --secondary: #1e293b;
  --dark: #0f172a;
  --darker: #020617;
  --light: #f1f5f9;
  --lighter: #f8fafc;
  --gray: #94a3b8;
  --gray-light: #cbd5e1;
  --success: #10b981;
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.2);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--darker);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--light);
  transition: var(--transition);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 70px;
  height: 5px;
  background: var(--primary-gradient);
  border-radius: 3px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--primary-gradient);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(10px);
  padding: 18px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid var(--glass-border);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
}

.logo span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 5px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 35px;
}

.nav-links a {
  color: var(--light);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  left: 0;
  bottom: 0;
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--light);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(99, 102, 241, 0.1) 0%,
      transparent 20%
    ),
    radial-gradient(
      circle at 80% 10%,
      rgba(139, 92, 246, 0.1) 0%,
      transparent 25%
    );
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 1;
  animation: fadeIn 1s ease-out;
}

.hero-subtitle {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 15px;
  display: block;
  font-size: 1.2rem;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-title span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--glass);
  backdrop-filter: blur(10px);
  color: var(--light);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--primary);
  transform: translateY(-5px);
}

/* About, Education Sections */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-edu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  perspective: 1000px;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transform: rotateY(5deg) rotateX(5deg);
  transition: var(--transition);
}

.about-image:hover img {
  transform: rotateY(0) rotateX(0);
  box-shadow: var(--shadow-hover);
}

.about-content h3 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  font-weight: 700;
}

.about-content p {
  margin-bottom: 25px;
  color: var(--gray);
  font-size: 1.1rem;
  line-height: 1.8;
}

.info-list {
  list-style: none;
  margin-bottom: 40px;
}

.info-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--glass-border);
}

.info-list strong {
  min-width: 120px;
  display: inline-block;
  font-weight: 600;
}

.info-list span {
  color: var(--gray);
}

/* Skills Section */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.skill-item {
  background: var(--glass);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 20px;
  transition: var(--transition);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.skill-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background: var(--primary-gradient);
  transition: var(--transition);
}

.skill-item:hover::before {
  height: 100%;
}

.skill-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.skill-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.skill-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.skill-description {
  color: var(--gray);
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--glass-border);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.project-card:hover {
  transform: translateY(-15px) rotateX(5deg);
  box-shadow: var(--shadow-hover);
}

.project-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-content {
  padding: 25px;
}

.project-title {
  font-size: 1.6rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.project-description {
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 25px;
  gap: 10px;
}

.project-tag {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.project-links {
  display: flex;
  gap: 20px;
}

.project-link {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--light);
  transition: var(--transition);
}

.project-link:hover {
  color: var(--primary);
  transform: translateX(5px);
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateX(10px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  font-size: 1.5rem;
}

.contact-details h4 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-form {
  background: var(--glass);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 16px 20px;
  background: rgba(15, 23, 42, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--light);
  transition: var(--transition);
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

textarea.form-control {
  min-height: 180px;
  resize: vertical;
}

/* Footer */
footer {
  background: var(--dark);
  padding: 60px 0 30px;
  text-align: center;
  border-top: 1px solid var(--glass-border);
}

.footer-logo {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 25px;
  display: inline-block;
}

.footer-logo span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-links {
  display: flex;
  justify-content: center;
  list-style: none;
  margin-bottom: 30px;
  gap: 30px;
}

.footer-links a {
  color: var(--light);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.copyright {
  color: var(--gray);
  font-size: 1rem;
  margin-top: 30px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

.animated {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1100px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 992px) {
  .about-grid,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .about-image {
    margin-bottom: 40px;
  }

  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 75px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 75px);
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    gap: 30px;
  }

  .nav-links.active {
    left: 0;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .contact-form {
    padding: 25px;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}
/* End of style.css */
