/*:root {
  --brand-blue: #5BA4CF;
  --dark-blue: #002244;
  --cream: #F3F3E3;
  --gray-dark: #2F2F2F;
}*/

/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    color: #333;
}

/* Navbar Alignment */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 5%; 
    background-color: #5BA4CF;
    height: auto;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    flex-wrap: nowrap;
}

/* Ensuring navbar contents align properly */
.navbar .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
/*    flex-wrap: nowrap; */
}

/* Fix for navbar brand spacing */
.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: bold;
    font-family: 'Lora', serif;
    color: white !important;
    text-decoration: none;
    white-space: nowrap;
}

.navbar-brand img {
    max-height: 50px; 
}

/* Ensuring the hamburger menu stays aligned */
.navbar-toggler {
    border: none;
    background: transparent;
    outline: none;
    padding: 8px 10px;
}

/* Adjusting the menu icon size */
.navbar-toggler-icon {
    width: 30px;
    height: 30px;
}

/* Centering Nav Links */
/* Navbar Links Centering */
.navbar-nav {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    text-align: center;
    margin: 0 auto;
    flex-wrap: nowrap;
}

/* Ensures dropdown stays aligned properly */
.navbar .dropdown {
    position: relative;
}

.navbar-nav .nav-link {
    color: white !important;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 10px 22px;
    transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: #002244 !important;
}

/* === Dropdown Menu === */
.dropdown-menu {
    background-color: white;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
}

.dropdown-item {
    font-size: 1rem;
    color: #333;
    padding: 10px 15px;
    transition: background-color 0.3s ease-in-out;
}

.dropdown-item:hover {
    background-color: #5BA4CF !important;
    color: white !important;
}




/* Button Container */
/* Fixing Button Alignment */
.navbar-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto; /* Keeps buttons right-aligned */
    white-space: nowrap; /* Prevents breaking */
    flex-shrink: 0; /* Ensures buttons do not shrink */
}

/* Make sure buttons donâ€™t shrink */
.navbar-buttons .btn {
    min-width: 110px;
    padding: 12px 20px;
    text-align: center;
}

/* Button Styling */
.call-btn, .email-btn {
    display: flex; /* Ensures button text is centered properly */
    align-items: center;
    justify-content: center;
    padding: 12px 30px; /* Makes the buttons larger */
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    background-color: white;
    color: #333;
    border: 2px solid #5BA4CF;
    text-align: center;
    transition: all 0.3s ease-in-out;
    min-width: 100px;
    text-align: center;
}


/* Button Hover Effects */
.call-btn:hover, .email-btn:hover {
    background-color: #5BA4CF;
    color: white;
    border-color: white;
    transform: scale(1.02);
}

.custom-navbar .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}






/* === Offcanvas Navigation Fix === */
.offcanvas {
    background-color: #5BA4CF; /* Match main navbar */
    color: white;
}

.offcanvas-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Ensure offcanvas menu items are fully left-aligned */
.offcanvas-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    padding: 30px 20px 0 30px;
    flex-grow: 1;
}

/* Nav Links Inside Offcanvas */
.offcanvas .nav-link {
    color: white !important;
    font-size: 1.4rem;
    padding: 12px 0;
    text-align: left;
}

.offcanvas .nav-link:hover {
    text-decoration: underline;
}

.offcanvas .dropdown-menu {
    background-color: white;
    border-radius: 5px;
    padding: 8px 0;
    text-align: left !important;
    width: 100% !important;
    margin-left: 0 !important;
    left: 0 !important;
}

/* Ensure nav links are properly aligned */
.offcanvas .navbar-nav {
    width: 100% !important;
    text-align: left !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Individual nav link alignment */
.offcanvas .nav-item {
    width: 100% !important;
    text-align: left !important;
    margin-left: 0 !important;
}

/* Fix Call & Email Buttons at the Bottom */
.offcanvas-footer {
padding: 20px 0;
min-height: 120px;
width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.offcanvas .dropdown-item {
    font-size: 1rem;
    color: #333;
    padding: 8px 10px;
}

.offcanvas .dropdown-item:hover {
    background-color: #5BA4CF !important;
    color: white !important;
}

/* === Fix Call & Email Buttons in Mobile Menu === */
/* Button Adjustments in Mobile Nav */
.offcanvas-footer .btn {
    display: flex;
    width: 90%;
    min-height: 48px; /* ðŸ‘ˆ prevent shifting due to late font/icon rendering */
    justify-content: center;
    align-items: center;
    margin: 5px 0;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    transition: transform 0.2s ease-in-out;
}


.offcanvas .call-btn, 
.offcanvas .email-btn {
    background-color: white;
    color: #333;
    border: 2px solid #ffffff;
}

.offcanvas .call-btn:hover, 
.offcanvas .email-btn:hover {
    background-color: #ffffff;
    border-color: #5BA4CF;
    color: #5BA4CF;
    transform: scale(1.02);
}




/* ========== VARIABLES & BASE ========== */
:root {
  /* Color palette */
  --overlay-start: rgba(0, 0, 0, 0.75);
  --overlay-end:   rgba(0, 0, 0, 0.3);
  --text-light:    #f3f3e3;
  --text-muted:    #e0e0d5;
  --btn-bg:        #ff6f61;
  --btn-hover:     #e65b50;

  /* Typography */
  --font-heading: 'Lora', serif;
  --font-body:    'Inter', sans-serif;

  /* YOUR BRAND BLUE */
  --brand-blue:   #5BA4CF;
}

/* ========== LAYOUT ========== */
.bio-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 5% 4rem;
  text-align: center;
  color: var(--text-light);
  overflow: hidden;
}

.bio-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--overlay-start),
    var(--overlay-end)
  );
  z-index: 0;
}

.hero-figure {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

/* ========== CONTENT WRAPPER ========== */
.bio-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
  animation: fadeInUp 1s ease-out both;
}

/* ========== TYPOGRAPHY ========== */
/* Text 1: Creasy Slabs & Block */
.bio-content > h3.bio-subheading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  color: var(--brand-blue);
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
  margin: 0 0 0.5rem;
}

/* Text 2: Main H1 Title */
.bio-title {
  /* constrain width so lines wrap more evenly */
  max-width: 90%;
  margin: 0.25rem auto 1.5rem;

  /* slightly smaller overall and less scaling */
  font-size: clamp(1.25rem, 3vw, 2rem) !important;

  /* tighten the leading for a more compact look */
  line-height: 1.15;

  /* subtle negative tracking to pull letters together */
  letter-spacing: -0.4px;

  /* keep your white text + shadow */
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);

}
/* Text 3: First H2 Subheading */
.bio-content > h2.bio-subheading:first-of-type {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--brand-blue);
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
  margin: 2rem 0 1rem;
}

/* Other H2 Subheadings */
.bio-subheading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* Paragraphs */
.bio-text {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out both;
  animation-delay: 0.3s;
}

/* Buttons */
.bio-btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background-color: var(--btn-bg);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.375rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.bio-btn:hover {
  background-color: var(--btn-hover);
  transform: translateY(-2px);
}

/* 1) Color every H2 sub‐heading in the bio “brand blue” */
.bio-content > h2.bio-subheading {
  color: var(--brand-blue);
}


/* ==== CENTER & CONSTRAIN CTA SECTION ==== */
.bio-content {
  max-width: 700px; /* tighten the overall width a bit */
  margin: 0 auto;
}

/* ==== REFINE PARAGRAPH ==== */
.bio-text {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  line-height: 1.6;
  color: #fff;     /* pure white */
  margin-bottom: 0;/* let button handle the gap */
  opacity: 0.95;   /* sub-tly soften the paragraph */
}


/* ==== CTA BUTTON STYLING ==== */
.cta-btn {
  display: inline-block;
  margin: 1.5rem 0;              /* space above & below */
  padding: 0.75rem 2rem;         /* button padding */
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.125rem;           /* slightly larger text */
  color: #fff;                   /* white text */
  background: var(--brand-blue); /* your sky-blue */
  border-radius: 0.375rem;       /* soft corners */
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}


@media (min-width: 1024px) {
  /* 1) Reduce the “buffer” above the bio */
  .bio-section {
    padding-top: 4rem;    /* was 6rem, now 4rem on desktop */
  }

  /* 2) Enlarge the H3 (“Creasy Slabs & Block”) */
  .bio-content > h3.bio-subheading {
    font-size: clamp(3rem, 5vw, 4.5rem); /* bigger headline on large screens */
    margin-top: 0;                        /* ensure it hugs the top of its container */
    margin-bottom: 0.5rem;               /* keep the existing bottom gap */
  }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== MEDIA QUERIES ========== */
@media (max-width: 768px) {
  .bio-section {
    padding: 4rem 3% 2rem;
  }
  .bio-content > h3.bio-subheading {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }
  .bio-title {
    font-size: clamp(1.75rem, 6vw, 2.75rem);
  }
  .bio-subheading {
    margin: 2rem 0 0.75rem;
  }
  .bio-btn {
    padding: 0.6rem 1.25rem;
  }
}






/* Services Section */
.services h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #5BA4CF;
    text-transform: uppercase;
    font-family: 'Lora', serif;
}

/* Service Cards */
.service-card {
    border: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border-radius: 10px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
}

.service-card img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: #5BA4CF;
    font-family: 'Lora', serif;
}

.service-card p {
    font-size: 1rem;
    color: #2F2F2F;
}

/* Read More Button */
.service-card .btn-primary {
    background-color: #5BA4CF;
    border-color: #5BA4CF;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.service-card .btn-primary:hover {
    background-color: #488EBF;
    transform: scale(1.03);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}





/* Form Submission SUCCESS / ERROR TOAST Styling*/
.alert {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 5px;
  font-size: 0.95rem;
}
.alert-success {
  background-color: #d1e7dd;
  color: #0f5132;
}
.alert-danger {
  background-color: #f8d7da;
  color: #842029;
}
.toast {
  opacity: 0.95;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.toast .toast-body {
  font-size: 1rem;
}

/* Section Background Color */
.estimate-section, .contact-section {
    background-color: #E9F1F7 !important; /* Light background for the forms section */
    padding: 80px 0; /* Add spacing */
}


/* Estimate Form */
.estimate-form-container {
    background: #5BA4CF !important;
    padding: 40px !important;
    border-radius: 10px !important;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2) !important;
    max-width: 700px !important;
    margin: 0 auto !important;
    text-align: center !important;
    opacity: 0.95 !important;
}

.estimate-form-container h2 {
    font-size: 2rem !important;
    font-weight: bold !important;
    color: #F3F3E3 !important;
    font-family: 'Lora', serif !important;
    margin-bottom: 10px !important;
}

/* Form Inputs */
.estimate-form input,
.estimate-form select,
.estimate-form textarea {
    width: 100% !important;
    padding: 12px !important;
    border-radius: 5px !important;
    border: 1px solid #5BA4CF !important;
    background: white !important;
    font-size: 1rem !important;
    color: #2F2F2F !important;
    transition: all 0.3s ease !important;
    text-align: left;
}

.estimate-form input:focus,
.estimate-form select:focus,
.estimate-form textarea:focus {
    border-color: #F3F3E3 !important;
    outline: none !important;
}

/* Form Submit Button */
.estimate-submit-btn {
    width: 100% !important;
    padding: 12px !important;
    font-size: 1rem !important;
    font-weight: bold !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    background-color: #ffffff !important; /* Same color as the title */
    color: #2F2F2F !important; /* Black text */
    font-family: 'Montserrat', sans-serif !important;
    transition: background 0.3s ease, transform 0.2s ease !important;
}

.estimate-submit-btn:hover {
    background-color: #002244 !important; /* Slightly darker for hover effect */
    color: #F3F3E3 !important;
    transform: scale(1.05) !important;
}







/* Contact Form Styling (mirrors estimate form) */
.contact-form-container {
    background: #5BA4CF;
    padding: 40px !important;
    border-radius: 10px !important;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2) !important;
    max-width: 700px !important;
    margin: 0 auto !important;
    text-align: center !important;
    opacity: 0.95 !important;
}

.contact-form-container h2 {
    font-size: 2rem !important;
    font-weight: bold !important;
    color: #F3F3E3 !important;
    font-family: 'Lora', serif !important;
    margin-bottom: 10px !important;
}

/* Contact Form Inputs */
.contact-form input,
.contact-form textarea {
    width: 100% !important;
    padding: 12px !important;
    border-radius: 5px !important;
    border: 1px solid #5BA4CF !important;
    background: white !important;
    font-size: 1rem !important;
    color: #2F2F2F !important;
    transition: all 0.3s ease !important;
    text-align: left;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #F3F3E3 !important;
    outline: none !important;
}

/* Contact Form Submit Button */
.contact-submit-btn {
    width: 100% !important;
    padding: 12px !important;
    font-size: 1rem !important;
    font-weight: bold !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    background-color: #ffffff !important; /* Same color as the title */
    color: #2F2F2F !important; /* Black text */
    font-family: 'Montserrat', sans-serif !important;
    transition: background 0.3s ease, transform 0.2s ease !important;
}

.contact-submit-btn:hover {
    background-color: #002244 !important; /* Slightly darker for hover effect */
    color: #F3F3E3 !important;
    transform: scale(1.05) !important;
}

.form-control, .form-select, .form-textarea {
    border: 1px solid #5BA4CF !important;
    border-radius: 5px;
}

input::placeholder, textarea::placeholder {
    color: #999;
}




/* === Google Business Section === */
.google-business-section {
  background-color: #E9F1F7;
  padding: 60px 0;
}

.google-business-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #5BA4CF !important;
  margin-bottom: 20px;
}

.google-business-section p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
}

.google-business-section .btn-primary {
  background-color: #5BA4CF;
  color: #fff;
  font-size: 1.2rem;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  border: none;
  transition: background 0.3s ease-in-out;
}

.google-business-section .btn-primary:hover {
  background-color: #002244;
}

.google-business-section .row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.google-business-section .col-md-6 {
  padding: 15px;
}

.google-business-section iframe {
  width: 100%;
  height: 300px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}


/* === Yelp Section === */
.yelp-section {
  background-color: #E9F1F7;
  padding: 60px 0;
}

.yelp-section .row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.yelp-section .col-md-6 {
  padding: 15px;
  text-align: center; /* Centers content on all screen sizes */
}

/* Heading */
.yelp-section h2,
.yelp-section h4 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #d32323 !important;
  margin-bottom: 20px;
  text-align: center;
}

/* Paragraph Text */
.yelp-section p {
  font-size: 1.2rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Yelp Image */
.yelp-section img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Yelp Button */
.btn-yelp {
  font-size: 1.2rem;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  background-color: #d32323;
  color: #fff;
  border: none;
  transition: background 0.3s ease-in-out;
  display: inline-block;
  text-align: center;
  margin-top: 15px;
}

.btn-yelp:hover {
  background-color: #a81b1b;
  color: #fff;
}








.footer {
  background: #5BA4CF;
  color: #F3F3E3;
  font-family: 'Lora', serif;
  padding: 60px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  text-align: center;
}

.footer-tagline {
  font-size: 0.95rem;
  max-width: 600px;
  line-height: 1.6;
  margin: 0 auto;
  
}

.footer-top-row,
.footer-bottom-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-contact a {
  color: #F3F3E3;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}



.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: all 0.2s ease;
}

.social-link:hover {
  color: #002244;
  transform: translateY(-2px);
}


.privacy-link {
  text-decoration: none;
  color: #F3F3E3;
  transition: color 0.3s;
}

.privacy-link:hover {
  color: #002244;
  text-decoration: underline;
}




/* === Mobile Styling: max-width: 768px === */
@media (max-width: 768px) {
  .custom-navbar {
    padding: 10px 15px;
  }

  .navbar-brand {
    font-size: 1.5rem;
  }

  .navbar-toggler {
    padding: 6px 8px;
  }

  .bio-section {
    padding: 100px 5% 40px;
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
  }

  .bio-title {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .bio-subheading {
    font-size: 1.4rem;
    line-height: 1.3;
    text-align: center;
  }

  .bio-text {
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
  }

  .google-business-section {
    padding: 40px 5%;
  }

  .google-business-section h4 {
    font-size: 2rem;
    text-align: center;
  }

  .google-business-section p {
    text-align: center;
    font-size: 1.1rem;
  }

  .google-business-section .btn-primary,
  .google-business-section .btn-yelp {
    display: block;
    margin: 15px auto;
  }

  .google-business-section .row {
    flex-direction: column;
    text-align: center;
  }

  .google-business-section iframe {
    height: 250px;
  }

  .google-business-section img {
    max-width: 90%;
    margin: 0 auto;
    display: block;
    height: auto;
  }

  .yelp-section h4 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #d32323 !important;
    margin-bottom: 20px;
    font-family: 'Lora', serif !important;
  }
}

/* === Tablet and Up: min-width: 768px === */
@media (min-width: 768px) {
  .footer-top-row,
  .footer-bottom-row {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    text-align: left;
  }

  .footer-top-row {
    align-items: flex-start;
  }

  .footer-bottom-row {
    align-items: center;
  }

  .footer-contact a {
    margin-bottom: 0;
  }

  .footer-social {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-direction: column; /* previously duplicated */
    align-items: center;
  }
}





@media (max-width: 1200px) {
    .navbar-buttons {
        flex-wrap: nowrap;
        gap: 10px; /* Keeps button spacing controlled */
    }

    .navbar-buttons .btn {
        font-size: 0.9rem;
        padding: 10px 15px;
        min-width: 110px;
    }
}


/* === Responsive Styles === */
@media (max-width: 992px) {
    .navbar {
        padding: 10px 15px;
    }

    .navbar-brand {
        font-size: 1.4rem;
    }

    .navbar-collapse {
        text-align: center;
    }

    .navbar-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar .btn {
        padding: 15px 30px; /* Larger buttons on desktop */
        font-size: 1.1rem; /* Bigger text */
        min-width: 150px; /* Ensures buttons don't shrink too much */
    }

    .navbar-buttons .btn {
        padding: 15px 30px;
        font-size: 1.1rem;
        flex-grow: 1; /* Makes them take up more space */
    }

    .navbar-buttons {
        display: none; /* Hide buttons on smaller screens */
    }

    .bio-section {
        min-height: 80vh; /* Taller bio section on desktop */
        background-size: cover; /* Ensures full background visibility */
        background-position: center center;
    }
}

/* Hide buttons on mobile */
@media (max-width: 991px) {
    .navbar-buttons {
        display: none; /* Hides the buttons in the header on mobile */
    }

    .offcanvas .btn {
        display: flex;
        width: 100%;
        margin: 5px 0;
        padding: 12px;
        font-size: 1.1rem;
        font-weight: bold;
        border-radius: 8px;
    }
}

/* === Print Styles === */
@media print {
  body * {
    color: black !important;
    background: none !important;
    box-shadow: none !important;
  }
  nav,
  .footer,
  .btn,
  .offcanvas {
    display: none !important;
  }
}