:root {
  --cream: #FFF8F2;
  --navy: #20313D;
  --blue: #326080;
  --light-blue: #B5D2E6;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }
body {
  background-color: var(--cream);
  color: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
}

.navbar {
  background-color: var(--blue);
  padding: 14px 0;
  box-shadow: 0 2px 10px rgba(32, 49, 61, 0.12);
}

.navbar-brand,
.navbar .nav-link { color: var(--cream); }
.navbar-brand { font-weight: 700; letter-spacing: .5px; }

.navbar .nav-link {
  position: relative;
  color: var(--cream);
  margin: 0 10px;
  padding-bottom: 8px;
  background-color: transparent;
}

.navbar .nav-link:visited,
.navbar .nav-link:focus,
.navbar .nav-link:active {
  color: #ffffff;
  background-color: transparent;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--cream);
  transition: width 0.3s ease;
}


.navbar .nav-link:hover::after {
  width: 100%;
}

.hero { min-height: calc(100vh - 74px); display: flex; align-items: center; }
.hero-title { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 800; line-height: 1.05; }
.hero-title span { color: var(--blue); }
.hero-subtitle { font-size: 1.15rem; color: #53636d; max-width: 650px; }

.btn-main {
  background-color: var(--blue);
  color: var(--cream);
  border: 2px solid var(--blue);
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
}
.btn-main:hover { background-color: var(--navy); border-color: var(--navy); color: var(--cream); }
.btn-outline-main { border: 2px solid var(--blue); color: var(--blue); padding: 10px 22px; border-radius: 8px; font-weight: 600; }
.btn-outline-main:hover { background-color: var(--blue); color: var(--cream); }

.profile-box {
  background-color: var(--light-blue);
  border-radius: 28px;
  padding: 40px;
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 15px 15px 0 var(--navy);
}
.profile-placeholder {
  width: 230px; height: 230px; border-radius: 50%;
  background-color: var(--blue); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; font-weight: 800;
}

.profile-box img {
    width: 150%;
    height: 300px;
    object-fit: scale-down;
    border-radius: 20px;
    
}

.page-header { padding: 80px 0 45px; }
.page-header h1 { font-size: 3rem; font-weight: 800; }
.page-header p { color: #53636d; max-width: 700px; }

.section-card {
  background: var(--white);
  border: 1px solid rgba(50,96,128,.12);
  border-radius: 18px;
  padding: 28px;
  height: 100%;
  box-shadow: 0 8px 24px rgba(32,49,61,.06);
}
.section-card h3 { color: var(--blue); font-weight: 700; }

.timeline { border-left: 3px solid var(--light-blue); padding-left: 28px; }
.timeline-item { position: relative; margin-bottom: 35px; }
.timeline-item::before {
  content: ''; position: absolute; width: 14px; height: 14px;
  background: var(--blue); border: 3px solid var(--cream); border-radius: 50%;
  left: -37px; top: 4px;
}
.timeline-item h3 { margin-bottom: 5px; }
.timeline-item .year { color: var(--blue); font-weight: 700; }

.skill-card { text-align: center; }
.skill-icon { font-size: 2rem; font-weight: 800; color: var(--blue); margin-bottom: 12px; }
.progress { height: 9px; background-color: #e6edf1; }
.progress-bar { background-color: var(--blue); }

.contact-info a { color: var(--blue); text-decoration: none; }
.contact-info a:hover { color: var(--navy); text-decoration: underline; }
.form-control, .form-control:focus { border-color: var(--light-blue); box-shadow: none; }
.form-control:focus { outline: 2px solid rgba(50,96,128,.18); }

footer { background-color: var(--navy); color: var(--cream); margin-top: 80px; padding: 25px 0; }

@media (max-width: 767px) {
  .hero { padding: 60px 0; }
  .profile-box { margin-top: 30px; box-shadow: 8px 8px 0 var(--navy); }
  .page-header { padding-top: 55px; }
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 10px;
  color: #326080;
  background-color: transparent;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid #326080;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-btn:hover {
  background-color: #326080;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(50, 96, 128, 0.25);
}

.navbar-brand {
  color: #ffffff !important;
}

.navbar-toggler {
  filter: invert(1) grayscale(100%) brightness(200%);
  box-shadow: none !important;
}