/* ===========================
   GLOBAL STYLES
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f4f6f8;
  color: #2c3e50;
  line-height: 1.6;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   NAVBAR
=========================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: #ffffff;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 15px rgba(36, 59, 74, 0.15);
}

.nav-logo {
  font-size: 24px;
  font-weight: 700;
  color: #243B4A;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #243B4A;
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #243B4A, #3a5a6e);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 8% 60px;
  gap: 40px;
}

.hero-greeting {
  color: #a8c4d0;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 5px;
}

.hero-name {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-title {
  font-size: 1.2rem;
  color: #d0e4ec;
  font-weight: 500;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: #a8c4d0;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #ffffff;
  color: #243B4A;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
}

.btn-primary:hover {
  background: #d0e4ec;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid #ffffff;
  transition: all 0.3s;
  display: inline-block;
}

.btn-secondary:hover {
  background: #ffffff;
  color: #243B4A;
  transform: translateY(-2px);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-circle {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 4px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: #ffffff;
}

/* ===========================
   SECTIONS
=========================== */
.section {
  padding: 80px 0;
  background: #f4f6f8;
}

.section-alt {
  background: #ffffff;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 50px;
}

.section-title span {
  color: #243B4A;
}

/* ===========================
   ABOUT SECTION
=========================== */
.about-card {
  display: flex;
  gap: 30px;
  background: #ffffff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(36, 59, 74, 0.1);
  border-left: 5px solid #243B4A;
  align-items: flex-start;
}

.about-icon {
  font-size: 50px;
  color: #243B4A;
  min-width: 60px;
}

.about-text p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.8;
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #2c3e50;
  font-size: 0.95rem;
}

.detail-item i {
  color: #243B4A;
  width: 20px;
}

/* ===========================
   EDUCATION TIMELINE
=========================== */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 700px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #f4f6f8;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(36, 59, 74, 0.1);
  transition: transform 0.3s;
}

.timeline-item:hover {
  transform: translateX(5px);
}

.timeline-icon {
  background: linear-gradient(135deg, #243B4A, #3a5a6e);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  min-width: 50px;
}

.timeline-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 5px;
}

.timeline-place {
  color: #243B4A;
  font-size: 0.9rem;
  font-weight: 500;
}

.timeline-date {
  color: #888;
  font-size: 0.85rem;
  margin-top: 3px;
}

/* ===========================
   SKILLS SECTION
=========================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.skill-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(36, 59, 74, 0.1);
  transition: transform 0.3s;
  text-align: center;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(36, 59, 74, 0.2);
}

.skill-card-icon {
  font-size: 2.5rem;
  color: #243B4A;
  margin-bottom: 15px;
}

.skill-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #a8c4d0;
}

.skill-card ul {
  list-style: none;
  text-align: left;
}

.skill-card ul li {
  padding: 8px 0;
  color: #555;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-card ul li i {
  color: #243B4A;
  font-size: 0.8rem;
}

/* ===========================
   CONTACT SECTION
=========================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  align-items: start;
}

.contact-info-box {
  background: linear-gradient(135deg, #243B4A, #3a5a6e);
  padding: 35px;
  border-radius: 15px;
  color: #ffffff;
}

.contact-info-box h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #ffffff;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-item i {
  font-size: 1.2rem;
  margin-top: 3px;
  color: #a8c4d0;
}

.contact-label {
  font-size: 0.8rem;
  color: #a8c4d0;
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 0.95rem;
  color: #ffffff;
}

.contact-form-box {
  background: #f4f6f8;
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(36, 59, 74, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #2c3e50;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #a8c4d0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  color: #2c3e50;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #243B4A;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form-box .btn-primary {
  background: linear-gradient(135deg, #243B4A, #3a5a6e);
  color: #ffffff;
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-form-box .btn-primary:hover {
  background: linear-gradient(135deg, #1a2c38, #243B4A);
  color: #ffffff;
}

/* Thank you message */
#contactForm h3 {
  color: #243B4A;
  text-align: center;
  padding: 20px;
  background: #d0e4ec;
  border-radius: 8px;
  border: 2px solid #243B4A;
  font-size: 1.1rem;
}

/* ===========================
   FOOTER
=========================== */
footer {
  background: linear-gradient(135deg, #243B4A, #3a5a6e);
  color: #ffffff;
  text-align: center;
  padding: 25px;
  font-size: 0.9rem;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 100px 5% 60px;
  }

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

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

  .about-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

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

  .skills-grid {
    grid-template-columns: 1fr;
  }
}