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

body {
  font-family: "Raleway", sans-serif;
  background-color: rgb(37, 26, 49);
  color: white;
  line-height: 1.6;
}

/* Navigation Styles */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  height: 70px;
  background-color: rgb(38, 34, 75);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
}

.left {
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
}

/* Logo removed */

nav ul {
  display: flex;
  justify-content: center;
}

nav ul li {
  list-style: none;
  margin: 0 23px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 8px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  color: rgb(255, 0, 234);
  background-color: rgba(255, 255, 255, 0.1);
}

nav ul li a.active {
  color: rgb(255, 0, 234);
  border-bottom: 2px solid rgb(255, 0, 234);
}

/* Dropdown Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgb(38, 34, 75);
  min-width: 180px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.4);
  z-index: 1;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 10px;
}

.dropdown-content li {
  list-style: none;
  margin: 0;
}

.dropdown-content li a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: all 0.2s ease;
}

.dropdown-content li a:hover {
  background-color: rgb(255, 0, 234);
  color: white;
}

/* Show dropdown on click instead of hover */
.dropdown-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.dropdown.active .dropdown-content {
  display: block;
}

.dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown > a::after {
  content: '▼';
  font-size: 0.7em;
  transition: transform 0.3s ease;
}

.dropdown.active > a::after {
  transform: rotate(180deg);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Main Content Styles */
main {
  padding: 20px 0;
}

main hr {
  border: 0;
  background: rgb(255, 0, 234);
  height: 2px;
  margin: 40px 84px;
  border-radius: 1px;
}

/* First Section Styles */
.firstSection {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 80px 0;
  padding: 0 5%;
}

.firstSection > div {
  width: 45%;
}

.leftSection {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
}

.leftSection div {
  margin: 15px 0;
}

.rightSection img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.rightSection img:hover {
  transform: scale(1.03);
}

/* Color and Text Styles */
.purple {
  color: rgb(255, 0, 234);
}

#element {
  color: rgb(255, 0, 234);
  font-weight: 600;
}

.text-gray {
  color: #aaa;
  font-size: 1.2rem;
  font-weight: 500;
}

/* Second Section Styles */
.secondSection {
  max-width: 80vw;
  margin: auto;
  padding: 20px;
}

.secondSection h1 {
  font-size: 2.2rem;
  margin: 15px 0;
  position: relative;
  display: inline-block;
}

.secondSection h1::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50%;
  height: 3px;
  background-color: rgb(255, 0, 234);
  border-radius: 2px;
}

.secondSection .p1 {
  width: 100%;
  min-height: 150px;
  margin: 45px 0;
  display: flex;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.secondSection .p1:hover {
  transform: translateY(-5px);
}

.secondSection .p1 img {
  width: 200px;
  object-fit: cover;
  object-position: center;
}

.secondSection .content {
  padding: 20px;
  flex: 1;
}

.secondSection .content h2 {
  margin-bottom: 10px;
  color: rgb(255, 0, 234);
}

.secondSection .content p {
  margin: 10px 0;
}

.secondSection .content a {
  display: inline-block;
  text-decoration: none;
  color: rgb(255, 0, 234);
  font-weight: 600;
  margin-top: 10px;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.secondSection .content a:hover {
  border-bottom: 2px solid rgb(255, 0, 234);
}

/* CTA Buttons */
.cta-buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: rgb(255, 0, 234);
  color: white;
  border: 2px solid rgb(255, 0, 234);
}

.btn-primary:hover {
  background-color: transparent;
  color: rgb(255, 0, 234);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgb(255, 0, 234);
  color: rgb(255, 0, 234);
}

/* Contact Section */
.contactSection {
  max-width: 80vw;
  margin: 80px auto;
  text-align: center;
}

.contactSection h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.contactSection p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #aaa;
}

.contact-options {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: white;
  padding: 25px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  width: 150px;
}

.contact-option:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 0, 234, 0.1);
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.contact-text {
  font-weight: 600;
}

/* About Page Styles */
.about-section {
  max-width: 80vw;
  margin: auto;
  padding: 40px 20px;
}

.about-section h1 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.about-text {
  flex: 2;
  min-width: 300px;
}

.about-text h2 {
  font-size: 1.8rem;
  margin: 25px 0 15px;
  color: rgb(255, 0, 234);
}

.about-text h3 {
  font-size: 1.3rem;
  margin: 15px 0 10px;
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}

.skill-category {
  flex: 1;
  min-width: 200px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 8px;
}

.skill-category ul {
  margin-left: 20px;
}

.skill-category li {
  margin: 5px 0;
}

.education, .experience {
  margin: 20px 0;
}

.education-item, .experience-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.education-item:last-child, .experience-item:last-child {
  border-bottom: none;
}

/* Footer Styles */
footer {
  text-align: center;
  padding: 20px;
  background-color: rgb(38, 34, 75);
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .firstSection {
    flex-direction: column;
    text-align: center;
  }
  
  .firstSection > div {
    width: 90%;
    margin: 20px auto;
  }
  
  .leftSection {
    font-size: 2.5rem;
    margin: 30px 0;
  }
  
  .secondSection .p1 {
    flex-direction: column;
    height: auto;
  }
  
  .secondSection .p1 img {
    width: 100%;
    height: 200px;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  nav {
    flex-direction: column;
    height: auto;
    padding: 15px;
  }
  
  nav .left, nav .right {
    width: 100%;
    text-align: center;
    margin: 10px 0;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 5px 10px;
  }
}