/* ========================
   General Reset & Fonts
======================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* ========================
   Header & Navbar
======================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  background-color: #4a90e2;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}


.navbar ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.navbar ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar ul li a:hover,
.navbar ul li a.active {
  color: #ffdd59;
}

.cta, .ai-btn {
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  margin-left: 15px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.cta {
  background-color: #ffdd59;
  color: #333;
}

.cta:hover {
  background-color: #ffc107;
}

.ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

/* ========================
   Hero Section
======================== */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 20px 50px;
  background-color: #e6f0fa;
}

.hero-content-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  width: 100%;
}

.hero-content-container .content {
  flex: 1;
  min-width: 280px;
  padding-right: 20px;
}

.hero-content-container h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #333;
}

.hero-content-container h1 span {
  color: #4a90e2;
}

.hero-content-container p {
  margin-bottom: 20px;
  color: #555;
}

.hero-content-container .btn-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.profile-image-container img {
  max-width: 300px;
  border-radius: 15px;
}

/* ========================
   Sections (About, Skills, Projects, etc.)
======================== */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 50px 20px;
}

.section-heading {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
  color: #333;
}

/* Skills */
.skills-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #ffffff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
  width: 120px;
  text-align: center;
}

.skill-item img {
  width: 50px;
  margin-bottom: 10px;
}

/* Projects */
.projects-wrapper {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.project-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  object-fit: cover;
}

.project-content {
  padding: 15px;
}

.project-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.project-content p {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.project-content .tags span {
  display: inline-block;
  background-color: #e6f0fa;
  color: #4a90e2;
  padding: 3px 8px;
  margin: 2px 3px 0 0;
  border-radius: 5px;
  font-size: 0.8rem;
}

.project-content .buttons a {
  text-decoration: none;
  color: white;
  background-color: #4a90e2;
  padding: 6px 12px;
  margin-right: 5px;
  border-radius: 5px;
  font-size: 0.85rem;
  transition: background-color 0.3s;
}

.project-content .buttons a:hover {
  background-color: #667eea;
}

/* Timeline (Experience & Education) */
.timeline, .education-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.timeline-item, .education-item {
  background-color: white;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.timeline-item h3, .education-item h3 {
  color: #4a90e2;
}

.period {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 10px;
}

/* Contact Form */
.contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact form input,
.contact form textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.contact form button {
  width: 150px;
  padding: 10px;
  border: none;
  border-radius: 50px;
  background-color: #4a90e2;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.contact form button:hover {
  background-color: #667eea;
}



/* ========================
   FAQ Styles
======================== */
.faq-section {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
}

.faq-section h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2em;
  color: #333;
}

.faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 15px 25px;
  background-color: #f2f5fa;
  border: none;
  text-align: left;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #e6ecf7;
}

.faq-answer {
  max-height: 0;
  padding: 0 25px;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #fff;
}

.faq-answer p {
  margin: 15px 0;
  color: #555;
  line-height: 1.6;
}

.faq-answer a {
  color: #4a90e2;
  text-decoration: underline;
}

/* ========================
   Responsive
======================== */
@media screen and (max-width: 768px) {
  .hero-content-container {
    flex-direction: column;
    align-items: center;
  }

  .navbar ul {
    flex-direction: column;
    gap: 15px;
  }

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