/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Montserrat:wght@400;600;700&display=swap');

/* Body - Remove default margins */
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  line-height: 1.7;
  color: #2d3436;
  background-color: #f8f9fa;
}

/****************   Nav Section **********************/
nav {
  background-color: #1a1a2e;
  color: white;
  padding: 1rem 3rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav p {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}

nav a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  padding: 0.4rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  transition: all 0.3s ease;
}

nav a:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/***********************  Footer Section   **************************/
footer {
  background-color: #1a1a2e;
  color: #cbd5e0;
  padding: 2rem;
  margin-top: 4rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 3px solid #16213e;
}

footer p {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

footer a {
  color: #e2e8f0;
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #63b3ed;
}

footer i {
  font-size: 1.4rem;
  vertical-align: middle;
}

/*********** Splash Page - Header ************************/
header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: white;
  text-align: center;
  padding: 4rem 2rem 3rem;
}

header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffffff;
  margin: 1.2rem 0 0.5rem;
  letter-spacing: 1px;
}

header img {
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  margin: 1rem 0;
  max-width: 200px;
  height: auto;
  transition: transform 0.3s ease;
}

header img:hover {
  transform: scale(1.03);
}

.address {
  font-size: 0.9rem;
  margin: 1rem auto;
  opacity: 0.85;
  letter-spacing: 0.3px;
  max-width: 700px;
}

.tagline {
  font-size: 1.05rem;
  font-style: italic;
  max-width: 750px;
  margin: 1rem auto;
  line-height: 1.7;
  opacity: 0.9;
  font-weight: 300;
}

/************* Sections ********************/
hr {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 2rem auto;
  max-width: 600px;
}

section {
  max-width: 960px;
  margin: 2.5rem auto;
  padding: 0 2rem;
}

section h2 {
  font-family: 'Montserrat', sans-serif;
  color: #1a1a2e;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #0f3460;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

section h3 {
  font-family: 'Montserrat', sans-serif;
  color: #16213e;
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 0.5rem;
  margin-bottom: 0.8rem;
}

section dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem 2rem;
  margin: 1rem 0;
  padding: 1.2rem 1.5rem;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border-left: 3px solid #0f3460;
}

section dt {
  font-weight: 500;
  color: #1a1a2e;
  font-size: 0.98rem;
}

section dd {
  color: #718096;
  margin: 0;
  text-align: right;
  font-size: 0.9rem;
  font-weight: 400;
}

section ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

section ul li {
  padding: 0.45rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: #4a5568;
}

section ul li:before {
  content: "\25B8";
  color: #0f3460;
  font-size: 0.8rem;
  position: absolute;
  left: 0;
  top: 0.5rem;
}

section a {
  color: #2b6cb0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}

section a:hover {
  color: #0f3460;
  text-decoration: underline;
}

/**************   Projects - Three Column Cards   *****************/
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: #ffffff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid #e2e8f0;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card h3 {
  margin-top: 0;
  color: #1a1a2e;
  font-size: 1.05rem;
  line-height: 1.4;
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 0.8rem 0;
  object-fit: cover;
  max-height: 180px;
}

.card ul {
  margin-top: 0.8rem;
}

.card ul li {
  font-size: 0.88rem;
  line-height: 1.5;
}

/**************   Responsiveness   *****************/
@media (max-width: 680px) {
    nav {
      flex-direction: column;
      text-align: center;
      gap: 0.8rem;
      padding: 1rem 1.5rem;
    }

    .three-col {
      grid-template-columns: 1fr;
    }

    header h1 {
      font-size: 2rem;
    }

    header {
      padding: 2.5rem 1.5rem 2rem;
    }

    section {
      padding: 0 1rem;
    }

    section h2 {
      font-size: 1.3rem;
    }

    section dl {
      grid-template-columns: 1fr;
      gap: 0.25rem;
      padding: 1rem;
    }

    section dd {
      text-align: left;
      margin-bottom: 0.8rem;
    }

    .one-col {
      margin: 1.5rem 1rem;
    }
}

/**************   Contact Page   *****************/
.one-col {
  max-width: 560px;
  margin: 2.5rem auto;
  padding: 2.5rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.one-col form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.one-col label {
  font-weight: 600;
  color: #1a1a2e;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

input {
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e0;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: 'Roboto', sans-serif;
  background: #f8f9fa;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

input:focus {
  outline: none;
  border-color: #0f3460;
  background: #ffffff;
}

textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e0;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: 'Roboto', sans-serif;
  background: #f8f9fa;
  resize: vertical;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

textarea:focus {
  outline: none;
  border-color: #0f3460;
  background: #ffffff;
}

button {
  background-color: #0f3460;
  color: white;
  padding: 0.85rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background-color 0.25s ease;
}

button:hover {
  background-color: #1a1a2e;
}
