:root {
  --primary: #6C63FF;
  --secondary: #FF6584;
  --accent: #00BFA6;
  --dark: #2D3748;
  --light: #F7FAFC;
  --white: #FFFFFF;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}



/* Header Styles */


header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.90);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo img {
  height: 80px;
  width: 80px;
  object-fit: cover;
  border-radius: 100px ;
  transition: var(--transition);
}

.logo img:hover {
  transform: scale(1.05);
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style-type: none;
}

nav li a {
  font-weight: 500;
  color: var(--dark);
  position: relative;
  padding: 0.5rem 0;

 
}

nav li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: var(--transition);

}

nav li a:hover::after,
nav li a.active::after {
  width: 100%;

}



/* Hero Section */



.hero {
  background: linear-gradient(135deg, #f0f4ff 0%, #e6f9ff 100%);
  padding: 10rem 0 8rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, rgba(108, 99, 255, 0) 70%);
  border-radius: 50%;
  z-index: 1;
}

.hero-content {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-image img {
  max-width: 80%;
  height: auto;
  border-radius:100% 100% 5% 5% ;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .subtitle {
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 2rem;
  opacity: 0.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* About Section */
.about {
  background-color: var(--white);
}

.about-container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-content {
  flex: 1;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.02);
}

.about-image::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 5px solid var(--primary);
  border-radius: 1rem;
  top: -20px;
  left: -20px;
  z-index: -1;
}

.about-content p {
  margin-bottom: 1.5rem;
  color: var(--dark);
  line-height: 1.8;
  opacity: 0.9;
}

.skills {
  margin-top: 2rem;
}

.skill-item {
  margin-bottom: 1.5rem;
}

.skill-name {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.skill-bar {
  height: 8px;
  background-color: var(--light);
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: var(--gradient);
  border-radius: 4px;
}

/* Services Section */
.services {
  background-color: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--dark);
  opacity: 0.8;
  font-size: 0.95rem;
}

/* Portfolio Section */
.portfolio {
  background-color: var(--white);
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  background-color: transparent;
  border: 1px solid var(--light);
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.portfolio-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.portfolio-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.portfolio-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(108, 99, 255, 0.9));
  color: var(--white);
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  bottom: 0;
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.05);
}

.portfolio-overlay h3 {
  margin-bottom: 0.5rem;
}

.portfolio-overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Resume Section */
.resume {
  background-color: var(--light);
}

.resume-container {
  display: flex;
  gap: 3rem;
}

.resume-column {
  flex: 1;
}

.resume-item {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  padding-left: 3rem;
}

.resume-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.resume-item::before {
  content: '';
  position: absolute;
  left: 1.5rem;
  top: 2.5rem;
  width: 2px;
  height: calc(100% - 3.5rem);
  background: var(--gradient);
}

.resume-item:last-child::before {
  display: none;
}

.resume-icon {
  position: absolute;
  left: 1rem;
  top: 2rem;
  width: 2rem;
  height: 2rem;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.resume-date {
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.resume-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.resume-company {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1rem;
  display: inline-block;
}

.resume-description {
  color: var(--dark);
  opacity: 0.8;
  font-size: 0.95rem;
}

/* Contact Section */
.contact {
  background-color: var(--white);
}

.contact-container {
  display: flex;
  gap: 3rem;
}

.contact-info {
  flex: 1;
}

.contact-form {
  flex: 1;
  background: var(--light);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
}

.info-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.info-content p {
  color: var(--dark);
  opacity: 0.8;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--light);
  border-radius: 0.5rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 1.5rem;
}

.footer-about p {
  margin-bottom: 1.5rem;
  opacity: 0.8;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--white);
}

.footer-social a:hover {
  background: var(--gradient);
  transform: translateY(-3px);
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-links h3::after,
.footer-contact h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gradient);
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--white);
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  padding-left: 5px;
  color: var(--primary);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-item i {
  color: var(--primary);
  margin-top: 3px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-content,
  .about-container,
  .resume-container,
  .contact-container {
      flex-direction: column;
  }

  .hero-text {
      text-align: center;
      margin-bottom: 3rem;
  }

  .hero-cta {
      justify-content: center;
  }

  .about-image {
      margin-top: 3rem;
  }

  .about-image::before {
      display: none;
  }
}

@media (max-width: 768px) {
  .header-container {
      padding: 1rem 0;
  }

  nav {
      position: fixed;
      top: 0;
      left: -100%;
      width: 80%;
      height: 100vh;
      background-color: var(--white);
      box-shadow: var(--shadow-lg);
      transition: var(--transition);
      z-index: 1000;
      padding: 2rem;
  }

  nav.active {
      left: 0;
  }

  nav ul {
      flex-direction: column;
      gap: 1.5rem;
  }

  .menu-toggle {
      display: block;
      font-size: 1.5rem;
      cursor: pointer;
      z-index: 1001;
  }

  .hero h1 {
      font-size: 2.5rem;
  }

  section {
      padding: 4rem 0;
  }

  .section-title h2 {
      font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .container {
      padding: 0 1.5rem;
  }

  .hero h1 {
      font-size: 2rem;
  }

  .btn {
      padding: 0.7rem 1.5rem;
  }

  .portfolio-filter {
      gap: 0.5rem;
  }

  .filter-btn {
      padding: 0.5rem 1rem;
      font-size: 0.9rem;
  }
}