/* -------------------------------------------
   1. GLOBAL SYSTEM RESETS
------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #FBF8CC;
  font-family: 'Poppins', sans-serif;
  color: #03045E;
  overflow-x: hidden;
  padding-bottom: 100px;
}

/* -------------------------------------------
   2. NAVBAR COMPONENT
------------------------------------------- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 35px 40px;
}

.logo {
  font-size: 24px;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
  color: #03045E;
  font-size: 18px;
  margin-left: 35px;
  font-weight: 400;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 0.7;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.icon-box {
  width: 26px;
  height: 16px;
  background-color: #03045E;
  display: inline-block;
  cursor: pointer;
}

/* -------------------------------------------
   3. HERO CONTENT
------------------------------------------- */
.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 40px 120px 40px;
  gap: 60px;
}

.hero-left {
  flex: 1.2;
}

.intro-text {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 8px;
}

.main-title {
  font-size: 96px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.location-text {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 40px;
}

.resume-btn {
  display: inline-block;
  padding: 14px 38px;
  background-color: #F5EE84;
  border: 1px solid #03045E;
  color: #03045E;
  text-decoration: none;
  font-size: 20px;
  font-weight: 400;
  border-radius: 6px;
  box-shadow: 0px 4px 0px #03045E;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.resume-btn:active {
  transform: translateY(4px);
  box-shadow: 0px 0px 0px #03045E;
}

/* --- HERO IMAGE STYLING --- */
.hero-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.image-wrapper {
  position: relative;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 1.5px solid #03045E;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.image-wrapper::before {
  content: "////";
  position: absolute;
  bottom: 40px;
  left: -30px;
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  color: #03045E;
  letter-spacing: 2px;
  font-weight: 500;
  transform: rotate(-15deg);
}

/* -------------------------------------------
   4. COMMON SECTION STRUCTURES (ABOUT, WORK, CONTACT)
------------------------------------------- */
.section-layout {
  display: flex;
  max-width: 1300px;
  margin: 0 auto;
  padding: 100px 40px;
  gap: 40px;
}

.section-header {
  flex: 0 0 300px;
}

.section-content {
  flex: 1;
}

.bg-title {
  color: #F7F197;
  font-size: 100px;
  font-weight: 800;
  line-height: 1;
}

.lead-text {
  font-size: 24px;
  font-weight: 400;
  line-height: 44px;
  max-width: 900px;
  margin-bottom: 50px;
}

/* -------------------------------------------
   5. TIMELINE STYLING (Inside About Section)
------------------------------------------- */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 60px;
}

.timeline-item {
  display: flex;
  gap: 40px;
  border-top: 1px solid rgba(3, 4, 94, 0.2);
  padding-top: 30px;
}

.time-period {
  flex: 0 0 200px;
  font-size: 24px;
  font-weight: 600;
  color: #03045E;
}

.time-desc {
  flex: 1;
  font-size: 24px;
  line-height: 44px;
  font-weight: 400;
}

/* -------------------------------------------
   6. CASE STUDIES GRID STYLING (Inside Work Section)
------------------------------------------- */
.case-studies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 60px;
}

.case-card {
  display: flex;
  flex-direction: column;
}

.case-image {
  width: 100%;
  aspect-ratio: 560 / 400;
  background-color: #EED;
  margin-bottom: 20px;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-meta {
  font-size: 15px;
  font-style: italic;
  margin-bottom: 8px;
}

.case-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.case-desc {
  font-size: 18px;
  line-height: 32px;
  font-weight: 400;
}

/* -------------------------------------------
   7. CLEAN MODERN CONTACT STYLING (Replaces old Footer rules)
------------------------------------------- */
.contact-flex-wrapper {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.contact-left {
  flex: 0 0 440px;
}

.contact-profile-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid #03045E;
}

.contact-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-lead {
  font-size: 24px;
  font-weight: 400;
  line-height: 44px;
  color: #03045E;
}

.contact-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-link, .contact-info-text {
  font-size: 24px;
  color: #03045E;
  text-decoration: none;
  font-weight: 400;
  line-height: 44px;
  width: max-content;
}

.contact-link:hover {
  text-decoration: underline;
}

/* -------------------------------------------
   8. RESPONSIVE BREAKPOINT FOR TABLETS/MOBILES
------------------------------------------- */
@media (max-width: 992px) {
  .hero-container, 
  .section-layout, 
  .timeline-item, 
  .contact-flex-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
  
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header, 
  .time-period, 
  .contact-left {
    flex: none;
    width: 100%;
  }
  
  .hero-right, 
  .image-wrapper {
    width: 100%;
    max-width: 493px;
  }
  
  .main-title {
    font-size: 60px;
  }

  .contact-right {
    width: 100%;
  }
}
