.fill {
  min-height: 100%;
  padding-bottom: 100px;
}

.mainheading {
  color: white;
}

.vertical-center {
  min-height: 100%;
  /* Fallback for browsers do NOT support vh unit */
  min-height: 100vh;
  /* These two lines are counted as one :-)       */
  display: flex;
  align-items: center;
}

h2 {
  font-weight: bold;
  font-size: 56px;
  padding-top: 44px;
  color: #000;
}

h3 {
  font-weight: bold;
  font-size: 45px;
  padding-top: 44px;
}

h4 {
  font-weight: bold;
  font-size: 30px;
  padding-top: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  background: #f8f9fa;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  color: #222;
}

p {
  font-size: 150%;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
}

.navbar {
  background: #003b6d !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.navbar .navbar-brand {
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 1px;
  color: #fff !important;
}
.navbar .nav-link {
  color: #e0e6ed !important;
  font-weight: 500;
  margin-right: 1rem;
  transition: color 0.2s;
}
.navbar .nav-link:hover {
  color: #ffd700 !important;
}

section, .fill {
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.03);
  margin-bottom: 48px;
  padding: 32px 0;
}

.h2-black {
  color: #000 !important;
}

h2, h3, h4 {
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  color: #ffffff;
}

.card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}
.card-title {
  color: #003b6d;
  font-size: 1.2rem;
  font-weight: 600;
}
.card-text {
  color: #444;
  font-size: 1rem;
}
.btn-primary, .btn-danger, .btn-warning {
  border-radius: 24px;
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.btn-primary {
  background: linear-gradient(90deg, #0056b3 0%, #003b6d 100%);
  border: none;
}
.btn-primary:hover {
  background: linear-gradient(90deg, #003b6d 0%, #0056b3 100%);
}
.btn-danger {
  background: #b3002d;
  border: none;
}
.btn-warning {
  background: #ffd700;
  color: #003b6d;
  border: none;
}

#face {
  max-width: 280px;
  border: 6px solid #003b6d;
  margin: 24px auto 16px auto;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Section dividers */
#Projects, #Contact, #About {
  margin-top: 80px;
  margin-bottom: 40px;
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}

/* Footer styles */
footer {
  background: #003b6d;
  color: #fff;
  text-align: center;
  padding: 32px 0 16px 0;
  font-size: 1rem;
  letter-spacing: 1px;
  margin-top: 48px;
  border-radius: 18px 18px 0 0;
}

/* Social icons */
#Contact img {
  max-height: 60px !important;
  margin: 0 16px 16px 16px;
  filter: grayscale(0.2) drop-shadow(0 2px 4px rgba(0,0,0,0.08));
  transition: filter 0.2s, transform 0.2s;
}
#Contact img:hover {
  filter: grayscale(0) drop-shadow(0 4px 12px rgba(0,59,109,0.18));
  transform: scale(1.08);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  .card-title { font-size: 1rem; }
  #face { max-width: 120px; }
}

/* --- End Professional Enhancements --- */
