/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9fafb;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo-container {
  margin-left: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 48px;
  height: 48px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
}

.text-logo {
  height: 30px;
  width: auto;
  transition: transform 0.3s ease;
}

.text-logo:hover {
  transform: scale(1.05);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 600;
}

.accent {
  color: #3b82f6;
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #3b82f6;
  transition: 0.3s;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 8px 0;
  z-index: 1000;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  display: block;
}

.dropdown-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-content .nav-link {
  color: #4b5563;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: 0.3s;
}

.dropdown-content .nav-link:hover {
  background-color: #f3f4f6;
  color: #3b82f6;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #e0f2fe 0%, #f9fafb 100%);
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 4rem;
}

.hero-text {
  max-width: 500px;
}

.subtitle {
  font-size: 1.2rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.name {
  font-size: 3rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.title {
  font-size: 1.8rem;
  color: #3b82f6;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.1rem;
  color: #4b5563;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #3b82f6;
  color: #fff;
}

.btn-primary:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid #3b82f6;
  color: #3b82f6;
}

.btn-secondary:hover {
  background-color: #3b82f6;
  color: #fff;
  transform: translateY(-2px);
}

.hero-image {
  position: relative;
  max-width: 400px;
  margin-left: auto;
  margin-right: 2rem;
}

.image-container {
  position: relative;
  text-align: right;
}

.profile-image {
  width: 100%;
  max-width: 350px;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* About Section */
.section-padding {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

.section-line {
  width: 60px;
  height: 4px;
  background-color: #3b82f6;
  margin: 1rem auto;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  max-width: 100%;
}

.experience-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: #3b82f6;
  color: #fff;
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
}

.exp-years {
  font-size: 1.5rem;
  font-weight: 700;
}

.exp-text {
  font-size: 0.9rem;
}

.about-text p {
  margin-bottom: 1rem;
  color: #4b5563;
}

.about-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-weight: 500;
  color: #3b82f6;
}

.detail-value {
  color: #1f2937;
}

.status-available {
  color: #10b981;
}

/* Skills Section */
.skills-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.skill-category h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #1f2937;
}

.skills-grid {
  display: grid;
  gap: 1rem;
}

.skill-item {
  margin-bottom: 1rem;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.skill-bar {
  background-color: #e5e7eb;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress {
  background-color: #3b82f6;
  height: 100%;
  transition: width 1s ease-in-out;
}

/* Portfolio Section */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: none;
  background-color: #e5e7eb;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #3b82f6;
  color: #fff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  background-color: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-info {
  padding: 1.5rem;
}

.project-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.project-info p {
  color: #4b5563;
  margin-bottom: 1rem;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.project-tags span {
  background-color: #e5e7eb;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.9rem;
}

.project-link {
  color: #3b82f6;
  font-weight: 500;
}

.project-link:hover {
  text-decoration: underline;
}

.portfolio-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-info {
  display: grid;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: #fff;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
}

.contact-icon svg {
  color: #3b82f6;
}

.contact-details h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.social-links {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  margin-top: 2rem;
  padding-right: 2rem;
}

.social-link svg {
  color: #4b5563;
  transition: all 0.3s ease;
  width: 24px;
  height: 24px;
}

.social-link:hover svg {
  color: #3b82f6;
  transform: translateY(-2px);
}

/* Footer */
footer {
  background-color: #1f2937;
  color: #fff;
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: #d1d5db;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #3b82f6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navigation {
    display: none;
  }

  .navigation.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .navigation ul {
    flex-direction: column;
    padding: 1rem;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .mobile-nav-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-nav-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .mobile-nav-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-image {
    max-width: 300px;
    margin: 0 auto;
  }

  .about-content,
  .skills-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .about-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .name {
    font-size: 2rem;
  }

  .title {
    font-size: 1.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .btn {
    padding: 0.5rem 1rem;
  }
}