/* Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fonts */
@font-face {
    font-family: 'Metropolis';
    src: url('fonts/Metropolis-Regular.woff2') format('woff2');
    font-weight: 400; /* Normal */
    font-style: normal;
}

@font-face {
    font-family: 'Metropolis';
    src: url('fonts/Metropolis-Bold.woff2') format('woff2');
    font-weight: 700; /* Bold */
    font-style: normal;
}

@font-face {
    font-family: 'Metropolis';
    src: url('fonts/Metropolis-Light.woff2') format('woff2');
    font-weight: 300; /* Light */
    font-style: normal;
}

/* General Styles */
body {
    font-family: 'Metropolis', Verdana, sans-serif;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #535353;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Horizontal Line Formatting */
hr {
    border: none;           /* Remove the default border */
    height: 1px;            /* Set the thickness */
    background-color: #ccc; /* Set your desired light grey color */
    margin: 10px 0;         /* Optional: add vertical spacing */
}

/* Header */
header {
    background-color: #f8f8f8;
    padding-top: 20px;
    padding-bottom: 0px;
    width: 100%;
    display: flex;
    justify-content: center; /* centers the nav container */
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
    max-width: 1280px;
    width: 95%;
    margin: 0 auto;
    background: #896767;
    padding: 1.5rem; /* Thicker header */
}

/* Divide nav into three equal columns */
.nav-left, .nav-center, .nav-right {
    flex: 1;  /* Each takes up roughly one-third of the space */
}

/* Left section: align links to the left */
.nav-left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap; /* Allows wrapping if needed */
    gap: 15px;
    text-align: left;
}

/* Center section: the logo will be centered */
.nav-center {
    text-align: center;
}

/* Right section: align links to the right */
.nav-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap; /* Allows wrapping if needed */
    gap: 15px;
    text-align: right;
}

/* Navigation links */
.nav-links {
    list-style: none; /* Remove bullets from navigation */
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap; /* Allows links to go to the next line */
    gap: 20px;
}

.nav-right .nav-links {
    width: 100%;
    justify-content: flex-end; /* Ensure the links themselves align right */
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-weight: 400;
}

.nav-links li a:hover {
    text-decoration: underline;
}

/* Centered logo */
.nav-center img {
    height: 100px;
    width: auto;
}

/* Modern Hamburger Menu */
.hamburger-menu {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    position: absolute;
    transition: all 0.3s ease-in-out;
}

.hamburger-menu .bar:nth-child(1) {
    top: 0;
}

.hamburger-menu .bar:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-menu .bar:nth-child(3) {
    bottom: 0;
}

.hamburger-menu.open .bar {
    background-color: gray; /* Slightly dim when active */
}


/* Mobile menu (hidden by default) */
.mobile-menu {
    display: none;
    list-style: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 120px; /* Adjusted for taller header */
    right: 20px;
    width: 200px;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* New class to show the menu */
.mobile-menu.show {
    display: flex;
}


.mobile-menu li {
    padding: 5px;
}

.mobile-menu a {
    text-decoration: none;
    color: #333;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-left, .nav-right {
        display: none; /* Hide desktop nav sections */
    }

    .hamburger-menu {
        display: block; /* Show hamburger icon */
    }

    .nav-center {
        flex-grow: 1;
        text-align: center;
    }
    
    .nav-center img {
        height: 100px; /* Adjusted for mobile */
    }
}

/* Main content container */
.container {
    max-width: 1280px;
    width: 95%;
    margin: 0 auto;
    padding: 0 20px;
    background: white;
    border-radius: 0;
}


/* Responsive Design for container and other section */
@media screen and (max-width: 1280px) {
    .container, nav, .how-to-get-started, .contact-section, footer { /*Update this as needed*/
        max-width: 95%;
    }
}

@media screen and (max-width: 768px) {
    .container, nav, .how-to-get-started, .contact-section, footer {
        max-width: 100%;
        padding: 15px;
    }
}

/* Headings */
h1 {
	text-align: left;
	font-weight: 700;
	padding-top: 20px;
}
h2 {
    text-align: left;
    font-weight: 700;
    padding-top: 0px;
}

/* Lists - Ensure default indentation is applied */
ul {
    list-style: disc;
    margin-left: 20px;
}

ol {
    list-style: decimal;
    margin-left: 20px;
}

/* Container for the specialty section */
.specialty-section {
  display: flex;
  align-items: flex-start;  /* Ensures both columns align at the top */
  gap: 20px;                /* Space between the text and image columns */
  margin-bottom: 20px;      /* Optional spacing below the section */
}

/* Left Column: Specialty Text (Heading + List) */
.specialty-text {
  flex: 2;  /* Give more width to the text column */
}

/* Right Column: Specialty Image and Caption */
.specialty-image {
  flex: 1;  /* Image column gets less width */
  display: flex;
  flex-direction: column;
  align-items: center; /* Center the image and caption horizontally */
}

/* Ensure the image scales properly */
.specialty-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Caption styling: black background with white text */
.specialty-caption {
  background-color: black;
  color: white;
  padding: 5px 10px;
  margin-top: 0px;
  text-align: center;
}

/* Mobile view: stack the columns vertically */
@media screen and (max-width: 768px) {
  .specialty-section {
    flex-direction: column;
  }
  /* Optionally, you could reorder if needed */
   .specialty-image {
      order: -1;  // Move image above or below as desired
      margin-bottom: 15px;
  } 
}

.caption-details {
  font-size: 0.8em;   /* Smaller text size (adjust as needed) */
  color: #aaa;        /* Lighter grey color (adjust to your preference) */
}



/*-----------------------------------------*/
/* How to Get Started Section - Full Width */
/*-----------------------------------------*/
.how-to-get-started {
    width: 95%;
    max-width: 1280px;
    margin: 0 auto; /* Centres the section */
    padding: 10px 0px; /* Adds consistent spacing */
    background: #fff;
    border-top: 1px solid #ddd; /* Creates a subtle divider */
}

/* Ensure content inside follows the same layout as other sections */
.how-to-get-started h2 {
    max-width: 1280px;
    margin: 0 auto 0px;
    padding: 0 20px;
    font-weight: bold;
    font-size: 24px;
}

.step-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Step items should be full width but stay within content bounds */
.step {
    width: 100%;
    border-bottom: 1px solid #ddd;
}

/* Buttons take up full width, keeping text aligned */
.step-btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    background: none;
    color: #535353;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    cursor: pointer;
    text-transform: uppercase;
}

/* Add subtle hover effect for a professional look */
.step-btn:hover {
    background: #f0f0f0;
}

/* Step content - Default state (hidden) */
.step-content {
    display: block;
    width: 100%;
    padding: 0 15px; /* Side padding stays, vertical padding animates */
    line-height: 1.4;
    font-size: 16px;
    background: #f8f8f8;
    overflow: hidden;
    max-height: 0;
    text-align: left;
    opacity: 0;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.step-btn span:first-child {
    flex: 1;         /* Allow it to take up available space */
    text-align: left; /* Force left alignment */
}

/* Active state for showing content */
.step-content.active {
    max-height: 10000px; /* Allow for larger content; you can adjust this as needed */
    padding: 15px;
    opacity: 1;
}

/* Adjustments for responsiveness */
@media screen and (max-width: 768px) {
    .how-to-get-started {
        padding: 10px 10px;
    }
    
    .how-to-get-started h2,
    .step-container {
        padding: 0 0px;
    }

    .step-btn {
        font-size: 14px;
        padding: 12px;
        text-align: left; /* Force left alignment */
    }
}

/*-----------------------------------------*/
/* Contact Section */
/*-----------------------------------------*/
.contact-section {
    width: 95%;
    max-width: 1280px;
    margin: 0 auto; /* Centres the section */
    padding: 20px 0px; /* Adds consistent spacing */
    background: #fff;
    border-top: 1px solid #ddd; /* Creates a subtle divider */
}

.contact-section h2 {
    max-width: 1280px;
    margin: 0 auto 0px;
    padding: 0 20px;
    font-weight: bold;
    font-size: 24px;
}

.contact-section form {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 0px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Two-column layout for first/last name */
.contact-section .form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-section .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.contact-section label {
    font-weight: 700;
    font-size: 14px;
    color: #535353;
}

.contact-section input,
.contact-section textarea,
.contact-section select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Metropolis', Verdana, sans-serif;
    color: #535353;
}

.contact-section textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-section button[type="submit"] {
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    background: #896767;
    color: #FFF8E1;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    text-transform: uppercase;
    transition: background 0.3s ease-in-out;
}

.contact-section button[type="submit"]:hover {
    background: #73575b;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .contact-section {
      padding: 0px 0px;
  }
  .contact-section form {
      padding: 0 15px;
  }
  .contact-section .form-row {
      flex-direction: column;
  }
}

/* Overall group label (normal font size) */
.name-group .group-label {
  font-size: 16px;
  font-weight: 700;
  color: #535353;
  margin-bottom: 0px;
  display: block;
}

/* Row layout for the two inputs */
.form-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

/* Sub-form group for each input */
.sub-form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Small sub-label styling */
.field-label {
  font-size: 0.8em;
  color: #535353;
}

/* Required text styling */
.required {
  color: gray;
  font-size: 0.8em;
  margin-left: 3px;
}

/* Style the inputs similarly to your other form inputs */
.sub-form-group input {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Metropolis', Verdana, sans-serif;
  color: #535353;
}

/* For thank-you message*/
.thank-you-message {
  padding-left: 30px;
}

/* Footer */
footer {
    background: #896767;
    color: #FFF8E1;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 95%;
    max-width: 1280px;
    margin: 0 auto; /* Centers the section */
}
