body {

  background-color: #B9C9D8;

  font-family: Arial, Helvetica, sans-serif;
}




/* NAVBAR */

.custom-navbar {
  background-color: #B9C9D8;
  border-radius: 15px;
  padding: 10px 20px;
  width: 80%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
}

/* Logo */
.custom-navbar img {
  transform: translateX(-15px);
}

/* Dropdown wrapper */
.custom-navbar .dropdown {
  position: relative;
}

/* Hamburger button */
.menu-toggle {
  background-color: #031D42;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle:focus {
  background-color: #04A57E;
  outline: none;
}

/* Center dropdown under hamburger */
.dropdown-menu-center {
  left: 50% !important;
  transform: translateX(-50%);
  right: auto !important;
  min-width: 180px;
  text-align: center;
  border: none;
  border-radius: 12px;
  padding: 10px 0;
  margin-top: 10px;
}

/* Dropdown links */
.dropdown-item {
  font-weight: bold;
  color: #031D42;
}

.dropdown-item:hover {
  background-color: #F3D1Ae;
  color: #031D42;
}

/* Tablet and mobile */
@media (max-width: 992px) {
  .custom-navbar {
    width: 90%;
    padding: 10px 15px;
  }

  .custom-navbar img {
    transform: translateX(0);
  }

  .menu-toggle {
    font-size: 24px;
    padding: 8px 14px;
  }

  .dropdown-menu-center {
    left: 50% !important;
    transform: translateX(-50%);
  }
}


/* ----------------------------------------------- */
/* Default (desktop) */
.custom-navbar img {
  transform: translateX(-100px); /* adjust as needed */
}

/* Tablet & smaller (center it again) */
@media (max-width: 992px) {
  .custom-navbar img {
    transform: translateX(0); /* reset */
    display: block;
    margin: 0 auto; /* centers the logo */
  }
}

/* ---------------------- */
/* Mobile Navbar Layout */
/* ---------------------- */
@media (max-width: 768px) {

  /* Stack logo + menu vertically */
  .custom-navbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Center the logo */
  .custom-navbar img {
    transform: translateX(0); /* remove left shift */
    margin-bottom: 10px;
  }

  /* Move hamburger under logo */
  .custom-navbar .dropdown {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* Center dropdown menu under button */
  .dropdown-menu-center {
    left: 50% !important;
    transform: translateX(-50%);
  }
}

/* Align nav items horizontally (desktop) */
.custom-navbar .navbar-nav {
  flex-direction: row;
  align-items: center;
}

/* Add spacing + divider lines */
.custom-navbar .nav-link {
  padding: 0 15px;
  position: relative;
}

/* Add vertical line after each item except last */
.custom-navbar .nav-link:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -5px;
  color: #031D42;
}



/* HEADER */

#Header {

  padding: 50px;
  
 
}



#Header .intro {
  display: flex;
  flex-direction: column;    /* Stack items vertically */
  justify-content: center;   /* Center vertically */

}

#HeaderPhoto img{
  display: flex;
  flex-direction: column;    /* Stack items vertically */
max-width: 100%;
height: auto;
 border-radius: 75px;
}
 


h1 {
  color:#031D42;
}

h5{
  padding-bottom: 10px;
}
@media (max-width: 768px) {

  #Header {
    padding: 0; /* remove big padding */
    margin-bottom: 25px;
  }

  #HeaderPhoto {
    padding: 0;
  }

  #HeaderPhoto img {
    width: 100%;
    height: 300px;          /* control height */
    object-fit: cover;      /* 🔥 makes it fill nicely */
    border-radius: 25;       /* remove rounded corners */
  
  }

}





/* What Makes Us Different */
#Animate .col-md-12 {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 30px;
  text-align: center;

}

#Animate h2 {
  color: #031D42;
  margin-bottom: 25px;
  font-size: 40px;
}

#mission {
  max-width: 850px;   /* keeps text from stretching too wide */
  width: 100%;
  margin: 0 auto;
  font-size: 22px;
  line-height: 1.8;
  color: #031D42;
}

/* Mobile */
@media (max-width: 768px) {
  #Animate .col-md-12 {
    padding: 50px 20px;
  }

  #Animate h2 {
    font-size: 30px;
    margin-bottom: 20px;
  }

  #mission {
    max-width: 100%;
    font-size: 17px;
    line-height: 1.7;
  }
}






/* Mission Section */
.mission-box {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 75px;
  text-align: center;
}

/* Fix text width so it doesn't overflow */
#mission {
  max-width: 800px;
  width: 100%;
}

/* 📱 Mobile Fix */
@media (max-width: 768px) {
  .mission-box {
    padding: 25px; /* reduce padding so it doesn't push off screen */
  }

  #mission {
    font-size: 20px; /* better readability on mobile */
    max-width: 100%;
  }

  h2 {
    font-size: 30px;
  }
}
  
  
/* SERVICES ON LANDING PAGE*/
 /* SERVICES */
 #Services{

  background-color: #031D42;
  display: flex;
  flex-direction: column;    /* Stack items vertically */
  justify-content: center;   /* Horizontally center */
  align-items: center;       /* Vertically center */
  color: #FFFF;


  }

  #Services .col-md-12{
    padding: 50px;  
   
  }
#s5 {

  padding: 25px;
}


 

#button1 {

  margin: 10px;
}

  /* ServicesPage */

#services {
  width: 80%;
  text-align: center;
  padding-top: 25px;
  padding-bottom: 25px;
}

#services img {
  border-radius: 50px;
}

#LifeInsurance {
  background-color: #fff;
  width: 80%;
  border-radius: 15px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
 padding: 50px;
  margin-top: 10px;
}

#FinancialCoaching {
  background-color: #fff;
  width: 80%;
  border-radius: 15px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  padding: 50px;
  margin-top: 10px;
}

#RetirementPlanning {
  background-color: #fff;
  width: 80%;
  border-radius: 15px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  padding: 50px;
  margin-top: 10px;
}

#icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 50px;
}

.life-intro {
  margin: 20px auto;
  max-width: 900px;
}

.life-row {
  margin-top: 40px;
  text-align: left;
}

.life-row h4 {
  font-weight: 600;
  margin-bottom: 15px;
}

.life-row h5 {
  margin: 0;
  line-height: 1.7;
}

.rounded-button {
  padding: 10px 20px;
  background-color: #04A57E;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

.rounded-button:hover {
  background-color: #F3D1Ae;
}

.rounded-button2 {
  padding: 10px 20px;
  background-color: #031D42;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

.rounded-button2:hover {
  background-color: #F3D1Ae;
}

.rounded-button3 {
  padding: 10px 20px;
  background-color: #F3D1Ae;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
}

.rounded-button3:hover {
  background-color: #04A57E;
}

/* Mobile */
@media (max-width: 768px) {
  #LifeInsurance,
  #FinancialCoaching,
  #RetirementPlanning,
  #services {
    width: 95%;
    padding: 25px;
  }

  .life-row {
    margin-top: 25px;
  }

  .life-row .col-md-4,
  .life-row .col-md-8 {
    text-align: left;
  }
}



/* AboutMe */

#AboutMe img{
  display: flex;
  flex-direction: column;    /* Stack items vertically */
width: 100%;
height: auto;
 border-radius: 75px;}

 #allabout { 
 
  padding: 25px;

 }




/* About Page */



#aboutpage {

  background-color: #FFFF;
  padding: 50px;
  width: 80%;
  color: #031D42;
  border-radius: 15px; /* Create rounded edges */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Add a slight shadow */
margin-top: 25px;}

#AboutUs {

  padding: 25px;

}

#AboutMe2 {

  flex-direction: column;    /* Stack items vertically */
  align-items: center;   /* Horizontally center */
  text-align: center;       /* Vertically center */
  padding: 25px;
}

#AboutMe2 img{
  display: flex;
  flex-direction: column;    /* Stack items vertically */
width: 100%;
height: auto;


}

/* Mobile Fix */
@media (max-width: 768px) {

  #aboutpage {
    width: 95%;          /* Give more room on small screens */
    padding: 25px;       /* Reduce padding so text fits */
    margin: 20px auto;   /* Center the whole container */
  }

  #AboutUs {
    text-align: center;  /* Center ALL text */
    padding: 10px;       /* Reduce side spacing */
  }

  #AboutUs h1 {
    font-size: 24px;     /* Prevent title from overflowing */
  }

  #AboutUs h5 {
    font-size: 16px;
    line-height: 1.5;    /* Improve readability */
  }

  #AboutMe2 {
    margin-bottom: 20px; /* Space between image and text */
  }

}

/* footer */





.footer {
  background-color: #031D42;
  color: white;
  padding: 30px 20px;
}

.footer a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.footer a:hover {
  color: #F3D1Ae;
}

/* Social icons */
.social-icons a {
  font-size: 1.4rem;
  margin: 0 10px;
}

.social-icons a:hover {
  color: #F3D1Ae;
}


@media (max-width: 768px) {
  #Header .row {
    display: flex;
    flex-direction: column;
  }

  #AboutMe {
    order: 1;
  }

  #allabout {
    order: 2;
  }
}

@media (max-width: 768px) {


  /* Keep layout clean */
  #Header .row {
    flex-direction: column;
    text-align: center;
  }

  /* Space under image */
  #HeaderPhoto img {
    margin-bottom: 25px;
  }

  /* Space under paragraph */
  #intro h3 {
    margin-bottom: 20px;
  }

  /* ✅ Buttons side by side and centered */
  .header-buttons {
    display: flex;
    justify-content: center;  /* centers horizontally */
    gap: 12px;                /* space between buttons */
    flex-wrap: wrap;          /* prevents squishing */
   
  }

  /* Prevent buttons from shrinking weirdly */
  .header-buttons .rounded-button {
    white-space: nowrap;      /* keeps text on one line */

 
  }

}


#green {


  margin-top: 25px;
}


#mission  {

width: 900px; 
text-align: center;


  }


  /* Color Codes
  #F3D1Ae yellow
  #031D42 dark blue
  #B9C9D8
  #04A57E green

  
  
  