body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: rgb(255, 248, 240);
  padding: 0;
  margin: 0;
  padding-top: 65px;
}

/* Headings */
h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #222;
  border-bottom: 2px solid #D1495B;
  display: inline-block;
  padding-bottom: 0.3rem;
}

h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #444;
}

/* Header */
#top {
  background: #003D5B;
  z-index: 1000;
}

.header-inner {
  padding: 0.8rem 1rem;
}

.logo img {
  display: block;
}

nav {
  gap: 1.5rem;
}

.nav_links {
  color: rgb(255, 248, 240);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav_links:hover {
  color: #D1495B;
}

#hero {
  text-align: center;
  padding: 4rem 1rem;
  background: #30638E;
  color: rgb(255, 248, 240);
  margin-top: 80px;
}

#hero h1 {
  font-size: 2.5rem;
}

#hero p {
  font-size: 1.2rem;
}

/* Cards */
.card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-button {
  display: inline-block;
  background: #D1495B;
  color: rgb(255, 248, 240);
  padding: 0.6rem 1.2rem;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.card-button:hover {
  background: #003D5B;
}

/* Footer */
.footer {
  background: #003D5B;
  color: rgb(255, 248, 240);
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 3rem;
}

.footer nav {
  margin-top: 0.5rem;
}

.footer nav a {
  margin: 0 0.8rem;
  text-decoration: none;
  color: #fff;
}

.footer nav a:hover {
  color: #D1495B;
}

html {
  font-size: 14px;
}

@media (min-width: 600px) {
  html {
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  html {
    font-size: 18px;
  }
}

h1 {
  font-size: 2rem;
}

@media (min-width: 600px) {
  h1 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 3rem;
  }
}

h2 {
  font-size: 1.6rem;
}

@media (min-width: 600px) {
  h2 {
    font-size: 2rem;
  }
}

@media (min-width: 1024px) {
  h2 {
    font-size: 2.25rem;
  }
}

h3 {
  font-size: 1.2rem;
}

@media (min-width: 600px) {
  h3 {
    font-size: 1.4rem;
  }
}

@media (min-width: 1024px) {
  h3 {
    font-size: 1.6rem;
  }
}

#hero {
  margin-top: 0;
}


.card:hover .card-button {
  color: rgb(255, 248, 240);
}

.card-button:hover {
  background: #003D5B;
  color: rgb(255, 248, 240);
}

#founder figcaption {
  font-size: 0.9rem;
  color: rgb(255, 248, 240);
  margin-top: 0.5rem;
}

#hero h1 {
  font-size: 2rem;
}

#hero p {
  font-size: 1.1rem;
}


#hero {
  padding: 2.5rem 1rem;
  margin-top: 56px;
}

aside {
  width: 100%;
}

aside h2 {
  font-size: 1.4rem;
  border-bottom: 2px solid #D1495B !important;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  color: rgb(255, 248, 240);
  display: block;
}

@media (min-width: 992px) {
  main.col-lg-9 {
    padding-left: 1.5rem !important;
  }

  #hero {
    margin-top: 0;
  }
}

.bg-deep-blue {
  background-color: #003D5B !important;
}

.navbar .nav-link {
  color: rgb(255, 248, 240);
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover {
  color: #D1495B;
}

.dark-mode {
  background-color: #0D1117 !important;
  color: #E6EDF3 !important;
}

.dark-mode .navbar {
  background-color: #1E2A36 !important;
}

.dark-mode #hero,
.dark-mode .hero-section {
  background-color: #003D5B !important;
  color: #E6EDF3 !important;
}

.dark-mode h1, 
.dark-mode h2, 
.dark-mode h3, 
.dark-mode p {
  color: #E6EDF3 !important;
}

.dark-mode .card,
.dark-mode .accordion-container,
.dark-mode .estimate-card {
  background-color: #1E2A36 !important;
  color: #E6EDF3 !important;
  border-color: #333 !important;
}

.dark-mode .card-button,
.dark-mode .btn-danger {
  background-color: #F07178 !important;
  color: #E6EDF3 !important;
}

.dark-mode .card-button:hover,
.dark-mode .btn-danger:hover {
  background-color: #00A3B3 !important;
  color: #E6EDF3 !important;
}


.dark-mode .navbar .nav-link {
  color: #E6EDF3 !important;    
  transition: color 0.2s ease;
}

.dark-mode .navbar .nav-link:hover,
.dark-mode .navbar .nav-link:focus {
  color: #F07178 !important;   
}

.dark-mode .navbar .nav-link.active,
.dark-mode .navbar .nav-link.show {
  color: #F07178 !important;
}

.dark-mode aside {
  background-color: #263442 !important;
  color: #E6EDF3 !important;   
}

#themeToggle.btn {
  border: none !important; 
  box-shadow: none !important;
}

aside a {
  color: #E6EDF3 !important;
  text-decoration: none;
}

aside a:hover {
  color: #F07178 !important;
}