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

body {
  font-family: "Instrument Sans", sans-serif;
  /* background-color: #e0e0e0; */
  background-color: #f8f9fa;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  padding: 20px 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(248, 249, 250, 0.7); /* #f8f9fa with opacity for glass effect */
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  transition: background 0.3s;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo a:hover {
  transform: scale(1.05);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
}

nav a {
  text-decoration: none;
  color: #575e6c;
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
  transition: color 0.3s ease;
}

nav li a:after {
    content: '';
    width: 0;
    height: 2px;
    background: #1c202a;
    position: absolute;
    left: 0;
    bottom: 1px;
    transition: width 0.3s;
}

nav li a:hover:after {
    width: 100%;
}


.contact-btn {
  background: #333;
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background: #555;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: #e7eaf0;
  color: #292d32;
  border: none;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 20px;
  transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: #555;
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #f8f9fa;
  border-top: 1px solid #ccc;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
  display: block;
}
.mobile-nav ul {
  flex-direction: column;
  gap: 0;
  padding: 20px;
}

.mobile-nav li {
  border-bottom: 1px solid #ccc;
  padding: 15px 0;
}

.mobile-nav li:last-child {
  border-bottom: none;
}

.mobile-nav a {
  font-size: 16px;
  display: block;
  width: 100%;
}

.mobile-contact {
  display: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #ccc;
}

.mobile-contact .contact-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* Main section */
main {
  margin-top: 100px;
  padding: 20px 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  nav {
    display: none;
  }

  .contact-btn {
    display: flex;
    font-size: 12px;
    padding: 8px 16px;
  }

  .mobile-menu-toggle {
    display: block;
  }
  .mobile-contact {
    display: none;
  }

  .logo a {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  header {
    padding: 15px 0;
  }

  main {
    margin-top: 80px;
  }
}

/* Mobile responsiveness */
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .mobile-nav ul {
    padding: 15px;
  }

  .mobile-nav li {
    padding: 12px 0;
  }
}

/* Call to Action Section */
.pta-section {
  background: #1c202a;
  color: white;
  border-radius: 24px;
  margin: 40px auto;
  box-shadow: 0 10px 30px rgba(10, 20, 47, 0.1);
  text-align: center;
  max-width: 1200px;
  position: relative;
  overflow: hidden;
  padding: 30px 0px;
}

.pta-tagline {
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  line-height: 50px;
}

.pta-description {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.pta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pta-button {
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.email-btn {
  background: white;
  color: black;
  box-shadow: 0 4px 15px rgba(10, 20, 47, 0.2);
}

.email-btn:hover {
  background: #3d3d3d;
  color: white;
  transform: translateY(-3px);
}

.cv-btn {
  background: #3d3d3d;
  color: white;
  border: 3px solid black;
}

.cv-btn:hover {
  background: white;
  color: black;
  transform: translateY(-3px);
}

/* Footer */
footer {
  background: #e7eaf0;
  color: #0a142f;
  padding: 10px 0;
  margin: 40px auto;
  border-radius: 20px;
  width: 100%;
  max-width: 1200px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0 40px;
  margin: 0 auto;
  max-width: 1000px;
}

.footer-section {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: 10px;
}

.footer-section p {
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.footer-section:nth-child(2) p {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.footer-section:last-child p {
  cursor: pointer;
  transition: color 0.3s ease;
}

.footer-section:last-child p:hover {
  text-decoration: underline;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  footer {
    margin: 20px auto;
    border-radius: 15px;
    width: calc(100% - 20px);
    max-width: none;
  }

  .footer-content {
    flex-direction: column;
    gap: 8px;
    padding: 15px 20px;
    align-items: center;
    text-align: center;
  }

  .footer-section {
    flex: none;
    min-width: 0;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .footer-section p {
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
  }

  .footer-section:nth-child(2) p {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    margin: 5px 0;
  }

  /* Reorder sections to match image: Copyright, Jesutofunmi, Contact */
  .footer-section:nth-child(1) {
    order: 1;
  }

  .footer-section:nth-child(2) {
    order: 2;
  }

  .footer-section:nth-child(3) {
    order: 3;
  }

  .pta-section {
    margin: 0 !important;
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    border-radius: 0 !important;
    padding: 20px;
  }

  .pta-tagline {
    font-size: 2rem;
    line-height: 35px;
  }

  .pta-description {
    font-size: 0.8rem;
    line-height: 1.6;
  }

  .pta-buttons {
    display: flex;
    flex-direction: row;
    gap: 7px;
    justify-content: center;
    align-items: center;
  }
  
  .pta-button {
    padding: 10px 18px;
    font-size: 0.97rem;
    border-radius: 40px;
    gap: 8px;
  }
}
