/**************************************************************
* Accessibility
***************************************************************/
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/**************************************************************
* Base styles
***************************************************************/
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Times New Roman', sans-serif;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0, .5);
    height: 100vh;
    overflow: auto;
    background-color: #fefefe;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}
main {
    flex: 1 0 auto;
} 
.float-left {
    float: left;
}
.float-right {
    float: right;
}
.border-bottom {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0.25rem;
}
.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
}
.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}
.margin {
    margin: 1rem 0;
}
.marginH {
    margin: 0 1rem;
}
.marginT {
    margin-top: 1rem;
}
.marginB {
    margin-bottom: 1rem;
}
select {
    display: block;
    background-color: transparent;
    color: black;
}
.completed {
    text-decoration: line-through;
    color: gray;
}
.promo-d-none {
    display: none;
    position: absolute;
}
.halfWidth {
    width: 45%;
    display: inline-block;
    margin: 0 0.25rem;
}
.hybridHalfWidth {
    width: 45%;
    display: inline-block;
    margin: 0 0.25rem;
}
.hybridThirdWidth {
    width: 30%;
    display: inline-block;
    margin: 0 0.25rem;
}
.maxWidth {
    width: 100%;
}

#logo {
    /* border: 2px solid red; */
    padding-bottom: 1rem;
}

#sidenav-logo {
    padding-bottom: 1rem;
       
}
/**************************************************************
* Typography
***************************************************************/
strong, .bold {
    font-weight: 700;
}
cite, em {
    font-style: italic;
}
label {
    color: black;
}
.big {
    font-size: 2rem;
}
/**************************************************************
* Links
***************************************************************/
a {
    text-decoration: none;
}
.fa-github:hover {
    color: #fefefe;
}
.fa-github:active {
    transform: translateY(-4.5px);
}
/**************************************************************
* Header
***************************************************************/
/* partials - header.ejs */
.partial-header nav .nav-wrapper .brand-logo,
.partial-sidenavheader nav .nav-wrapper .brand-logo {
    color: black;
    font-family: Lato;
    font-weight: 700;
}
.partial-header nav,
.partial-sidenavheader nav {
    background-color: transparent;
}
.partial-header nav ul,
.partial-sidenavheader nav ul {
    margin-right: 1rem;
}

/* partials - sidenavheader.ejs */
.partial-header {
    background-color: mintcream !important;
}
.partial-sidenavheader, .todos-main, .sidenav-footer, .profile-main, .editprofile-main {
    padding-left: 300px;
}
.partial-sidenavheader nav ul div .sidenav-brand-logo {
    text-align: center;
    font-size: 2rem;
    font-family: Lato;
    font-weight: 700;
}
.partial-sidenavheader nav ul .logout-container {
    padding: 1rem;
    background-color: rgba(197, 202, 208, 0.25);
    position: absolute;
    bottom: 50px;
    width: 100%;
}
.partial-sidenavheader nav ul .logout-container img {
    display: inline-block;
}
.partial-sidenavheader nav ul .logout-container p {
    display: inline-block;
    vertical-align: text-bottom;
    color: black;
    text-align: left;
    padding-left: 0.25rem;
}
.partial-sidenavheader nav ul .logout-container span:nth-child(1) {
    display: block;
    line-height: 0;
}

#startInspectionBtn {
    width: 90% !important;
    /* border: 2px solid red; */
}

.inspection-header-flex {
    width: 100% !important;
}

.sidenav-logo-container {
    display: flex;
    justify-content: center;
}

/* inspectionModal.ejs */
.truckTractorNoContainer {
    margin-top: -1rem;
    margin-bottom: 2rem;
}

.defectsCheckboxContainer {
    margin-bottom: 0;
}
/**************************************************************
* Flash
***************************************************************/
/* partials - flash.ejs */
#scale-demo .card-content {
    /* border: 2px solid red; */
    text-align: center;
}
#scale-demo .card-content .dismissBtn {
    border:0; 
    background-color: #f8d7da;
    border-radius: .25rem;
    opacity: 0.5;
    color: #000;
    /* border: 2px solid red; */

}
#scale-demo .card-content .dismissBtn:hover {
    color: #842029;
    /* border: 2px solid red; */

}
#scale-demo .card-content .successDismissBtn {
    border:0; 
    background-color: #d1e7dd;
    border-radius: .25rem;
    opacity: 0.5;
    color: #000;
    /* border: 2px solid red; */

}
#scale-demo .card-content .successDismissBtn:hover {
    color: #0f5132;
    /* border: 2px solid red; */

}
/**************************************************************
* Main
***************************************************************/
/* Login.ejs & signup.ejs */
.login-main {
    background-image: url('/imgs/pexels-steve-johnson-1781710.jpg');
    background-repeat: no-repeat;
    background-position: top;
}
.signup-main {
    background-image: url('/imgs/pexels-steve-johnson-1781710.jpg');
    background-repeat: no-repeat;
    background-position: bottom;
}
.signup-main .firstArea,
.login-main .firstArea {
    text-align: center;
}
.signup-main .firstArea section h3,
.login-main .firstArea section h3 {
    color: #fefefe;
}
.signup-main .firstArea section p,
.login-main .firstArea section p {
    font-size: 1.25rem;
    color: #999;
}
.signup-main .secondArea .container h4,
.login-main .secondArea .container h4,
.forgot-main .secondArea .container h4 {
    margin: 0 0 2rem 0;
}
.signup-main .secondArea .container .card .card-content form input,
.login-main .secondArea .container .card .card-content form input,
.forgot-main .secondArea .container .card .card-content form input {
    margin-bottom: 2rem;
}
.signup-main .secondArea .container .card .card-content form select {
    margin: 1rem 0;  
}
.signup-main .secondArea .container .card .card-content form .btn,
.login-main .secondArea .container .card .card-content form .btn,
.forgot-main .secondArea .container .card .card-content form .btn {
    width: 100%;
    margin-bottom: 2rem;    
}
.login-main .secondArea .container .card .card-content .forgot {
    display: block;
}

/* Forgot.ejs */
.forgot-main .container .container .card .card-content form a {
    display: block; 
}


/* Edit.ejs */
.edit-main .container .card .card-content form select {
    display: block;
}
.edit-main .container .card .card-content form button {
    width: 100%;
}

/* Index.ejs */
.hero-section {
    height: 100vh;
    margin: 0 !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-color: mintcream;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -15%;
    width: 120%;
    height: 130%;
    background: linear-gradient(120deg, #e8f5e9 60%, #b2dfdb 100%);
    transform: skewY(32deg);
    z-index: 0;
    pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background-image: url('data:image/svg+xml;utf8,<svg width="100%25" height="100%25" viewBox="0 0 1200 800" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="200" cy="200" r="120" stroke="white" stroke-width="2" fill="none" opacity="0.5"/><circle cx="1000" cy="600" r="80" stroke="white" stroke-width="1.5" fill="none" opacity="0.3"/><rect x="400" y="100" width="300" height="60" rx="20" stroke="white" stroke-width="1.5" fill="none" opacity="0.25"/><line x1="100" y1="700" x2="1100" y2="700" stroke="white" stroke-width="1" opacity="0.18"/><line x1="600" y1="0" x2="600" y2="800" stroke="white" stroke-width="1" opacity="0.12"/><polyline points="300,400 350,420 400,390 450,410" stroke="white" stroke-width="1.5" fill="none" opacity="0.22"/><rect x="900" y="200" width="120" height="40" rx="10" stroke="white" stroke-width="1" fill="none" opacity="0.18"/><circle cx="800" cy="150" r="30" stroke="white" stroke-width="1" fill="none" opacity="0.18"/></svg>');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  
}
.hero-section > * {
    position: relative;
    z-index: 1;
}
.hero-text {
    padding: 2rem 1.5rem 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-img {
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(55, 71, 79, 0.18);
    transition: transform 0.3s, box-shadow 0.3s;
    max-width: 95%;
    
    margin-bottom: 3rem;
    margin-top: 0rem;
}
.hero-img:hover, .hero-img:focus {
    /* transform: scale(1.04) rotate(-1deg); */
    box-shadow: 0 16px 48px rgba(76, 175, 80, 0.25);
}

.hero-canvas-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 2; /* Above ::before/::after, below content */
  }
  #hero-particles {
    width: 100%;
    height: 100%;
    display: block;
  }
  .hero-section > *:not(.hero-canvas-container) {
    position: relative;
    z-index: 3;
  }
  .services-header {
    background: linear-gradient(90deg, #43cea2 0%, #185a9d 100%);
    color: #fff;
    padding: 2rem 1rem 1rem 1rem;
    box-shadow: 0 8px 32px rgba(24,90,157,0.08);
  }
  .services-header h2 {
    font-size: 2.2rem; 
    font-weight: 800; 
    margin: 0.5rem 0 1rem 0; 
  }
  .services-header p {
    max-width: 600px; 
    margin: 0 auto; 
    font-size: 1.15rem; 
    opacity: 0.95;
  }

  .services-cards-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.services-cards-flex > article {
    flex: 0 1 calc(33.333% - 2rem);
    max-width: calc(33.333% - 2rem);
    min-width: 260px;
    display: flex;
}
.services-cards-flex .card {
    width: 100%;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: black;
}
.arrow-animate {
    display: inline-block;
    margin-left: 0.5em;
    transition: transform 0.3s cubic-bezier(.4,2,.6,1), opacity 0.3s cubic-bezier(.4,2,.6,1);
    opacity: 0.7;
  }
  .btn:hover .arrow-animate,
  .btn:focus .arrow-animate {
    transform: translateX(7px);
    opacity: 1;
  }
.green-text {
    color: #66bb6a !important; 
}
.index-main .d-flex {
    border-bottom: 1px solid rgba(0,0,0, .25);
}
.index-main .firstArea section {
    padding-bottom: 2rem;
}
.index-main .firstArea .slider {
    height: auto !important;
}
.index-main .firstArea .slider .indicators {
    display: none;
}
.index-main .firstArea .slider .slides li {
    transition: all 0.3s ease;
    overflow: hidden;
}
.index-main .firstArea .slider .slides li:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.index-main .firstArea .slider .slides li img {
    transition: all 0.3s ease;
}
.index-main .firstArea .slider .slides li:hover img {
    filter: brightness(1.1) contrast(1.05);
    transform: scale(1.02);
}
.index-main .firstArea section #scale-demo {
    display: flex;
    flex-direction: row;
    width: 50%;
    margin: 2rem auto 0 auto;
    color: #fefefe;
}
.index-main .firstArea section button {
    border: 0;
    border-radius: .25rem;
    opacity: 0.5;
    font-size: 1.5rem;
    padding: 1rem 1.25rem;
    color: #fefefe;
}
.index-main .firstArea section button:hover {
    color: #999;
}
.index-main .mission {
    flex-direction: column;
    border-bottom: 1px solid #cfd8dc;
}
.index-main .mission h1 {
    margin: 0;
    padding-top: 2rem;
}
.index-main .secondArea {
   
    margin-bottom: 0;
}
.index-main .secondArea .col .card {
    border-radius: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}
.index-main .secondArea .col .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.index-main .secondArea .col .card:hover .card-image {
    filter: brightness(1.1) contrast(1.1);
    transition: filter 0.3s ease;
}
.index-main .secondArea .col .card:hover .card-title {
    color: #4CAF50;
    transition: color 0.3s ease;
}
.index-main .secondArea .col .card:hover .card-action .btn {
    background-color: #4CAF50 !important;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
}
.index-main .secondArea .col .card-image {
    border-radius: 1rem 1rem 0 0;
}
.index-main .secondArea .col .card-action {
    border-radius: 0 0 1rem 1rem;
} 
.index-main .secondArea .col {
    padding: 1rem;
}
.index-main .secondArea .col .card .card-title {
    width: 100%;
    text-align: center;
    font-weight: 700;
}
.index-main .thirdArea {
    padding: 1rem 0;
    background: linear-gradient(135deg, #f093fb 0%, #43cea2 100%);
    background: black;
    box-shadow: 0 8px 32px rgba(24,90,157,0.18);
    background-image: url('data:image/svg+xml;utf8,<svg width="100%25" height="100%25" viewBox="0 0 1200 800" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="200" cy="200" r="120" stroke="white" stroke-width="2" fill="none" opacity="0.5"/><circle cx="1000" cy="600" r="80" stroke="white" stroke-width="1.5" fill="none" opacity="0.3"/><rect x="400" y="100" width="300" height="60" rx="20" stroke="white" stroke-width="1.5" fill="none" opacity="0.25"/><line x1="100" y1="700" x2="1100" y2="700" stroke="white" stroke-width="1" opacity="0.18"/><line x1="600" y1="0" x2="600" y2="800" stroke="white" stroke-width="1" opacity="0.12"/><polyline points="300,400 350,420 400,390 450,410" stroke="white" stroke-width="1.5" fill="none" opacity="0.22"/><rect x="900" y="200" width="120" height="40" rx="10" stroke="white" stroke-width="1" fill="none" opacity="0.18"/><circle cx="800" cy="150" r="30" stroke="white" stroke-width="1" fill="none" opacity="0.18"/></svg>');
}
.index-main .thirdArea .container .container form div input {
    border: 1px solid gray;
    border-radius: 6px;
    background-color: rgba(197, 202, 208, 0.25);
}
.index-main .thirdArea .container .container form div button {
    border-radius: 6px;
    width: 100%;
}

.animated-button-container {
    position: relative;
    display: inline-block;
    padding: 2px;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c, #4facfe, #00f2fe, #667eea);
    background-size: 400% 400%;
    animation: gradientRotate 3s ease infinite;
    background: none;
}

.animated-button-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c, #4facfe, #00f2fe, #667eea);
    background-size: 400% 400%;
    z-index: -1;
    animation: gradientRotate 3s ease infinite;
    filter: blur(12px);
    opacity: 0.6;
}

.animated-button {
    position: relative;
    z-index: 1;
    background: #4CAF50;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    width: 100%;
}

.animated-button:hover {
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
    background: #45a049;
}

@keyframes gradientRotate {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.contact-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 2rem 0;
    text-align: center;
    color: white;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.contact-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.4);
}

.contact-section:hover .contact-content h3 {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.contact-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.contact-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form .input-group {
    margin-bottom: 1.5rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.contact-form .input-group:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.contact-input {
    width: 100%;
    border: none !important;
    border-bottom: none !important;
    outline: none !important;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    background: white;
    box-shadow: none !important;
}

.contact-textarea {
    width: 100%;
    border: none !important;
    outline: none !important;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    background: white;
    box-shadow: none !important;
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: #999;
}

.contact-btn {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    border: none;
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    margin: 2rem auto 1rem auto;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.contact-btn:hover {
    background: linear-gradient(45deg, #45a049, #4CAF50);
    box-shadow: 0 12px 35px rgba(76, 175, 80, 0.4);
    transform: translateY(-2px);
}

.contact-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.contact-btn:hover i {
    transform: translateX(3px);
}

.contact-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: block;
    margin-top: 1rem;
}

#contact-message {
    margin-top: 1rem;
}
#contact-subject, #contact-email, #contact-name {
    padding-left: 1.5rem;
}

/* todos.ejs */
.todos-main {
    background-color: rgba(197, 202, 208, 0.15);
    padding: 1rem 0;
}

.todos-main div section div a {
    color: black;
    margin: 0 0.25rem;
}

.todos-main .container .container .collapsible .todoItem .collapsible-header div img {
    display: block;
    margin: 0 auto;
}

.todos-main .container .container .collapsible .todoItem .collapsible-body div .btnContainer {
    display: flex;
    flex-direction: column;
}
.todos-main .container .container .collapsible .todoItem .collapsible-body div form button {
    width: 100%;
    margin: 0.25rem 0;
}

.todos-main #modal1 .modal-content form select {
    margin: 0.5rem 0 1rem 0;
}
.todos-main #modal1 .modal-content form label {
    border-left: 1px solid rgba(230, 0, 0, 0.5); 
    padding-left: .25rem;   
}
.todos-main #modal1 .modal-content form button {
    margin-top: 0.5rem;
    width: 100%;
}
.todos-main #modal1 .modal-content form .halfWidth {
    width: 45%;
    display: inline-block;
    margin: 0 0.25rem;
}

.inspection-header-flex {
    display: flex;
    justify-content: space-between;
}
.inspection-header-flex1 {
    flex: 1;
}
.inspection-header-flex3 {
    flex: 3;
}
.inspection-header-flex2 {
    flex: 2;
}

.inspection-body-padding {
    padding: 2rem;
}

.inspection-section-title {
    font-size: 1.1rem;
}

.inspection-defect-list {
    padding-left: 20px;
}
.inspection-defect-item {
    list-style-type: disc;
}

.form-inline {
    display: inline;
}

.load-more-container {
    margin-top: 2rem;
}
.fullReportBtn {
    margin: 0 !important;
}
.button-row {
    display: flex;
    gap: 0.5rem;
}
.button-row .btn,
.button-row form {
    flex: 1;
}

.inspection-header-flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.badge {
    margin-right: 0.25rem;
}
/* profile.ejs  */
.profile-main {
    background-color: rgba(197, 202, 208, 0.15);
}
.profile-main .card,
.editprofile-main .card {
    margin: 1rem auto 0 auto;
}
.profile-main .card .card-content {
    display: flex;
    flex-direction: column;
}
.profile-main .card .card-content p {
    margin: 1rem;
}
.profile-main .card .card-content div form button,
.editprofile-main .card .card-content div form button {
    width: 100%;
}
.profile-main .card .card-content div + div img,
.editprofile-main .card .card-content div + div img {
    display: block;
    margin: 0 auto;
}
.profile-main .card .card-content form label {
    border-left: 1px solid rgba(230, 0, 0, 0.5); 
    padding-left: .25rem;   
}

.profile-main .btn,
.profile-main .file-field .btn {
  transition: box-shadow 0.3s, background 0.3s;
}
.profile-main .btn:hover,
.profile-main .file-field .btn:hover {
  background: #37474f !important;
  color: #fff !important;
  box-shadow: 0 0 12px 2px #66bb6a;;
}
.profile-main .card-panel {
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.profile-main .card-panel:hover {
    
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(55, 71, 79, 0.18);
  border: 1px solid #b0bec5;
}

/* Profile info label and value styling */
.profile-main p span.bold {
  color: #263238;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-right: 0.5rem;
}
.profile-main p span:not(.bold) {
  color: #607d8b;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.profile-main p {
  margin-bottom: 0.5rem;
}

/* Profile info card-like design */
.profile-main .profile-info-card {
  background: #f5f7fa;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(55, 71, 79, 0.07);
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  min-height: 48px;
}

/* Profile page spacing and font improvements */
.profile-main .profile-info-section {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.profile-main .profile-info-card {
  font-size: 1.12rem;
}
.profile-main .profile-info-card dd {
  font-weight: 600;
  margin-left: 0.5rem;
}
.profile-main .profile-info-section form {
  margin-top: 1.5rem;
}


/**************************************************************
* Footer
***************************************************************/
/* partials - footer.ejs */
.page-footer {
    /* padding: 3rem 0 1rem 0; */
    margin: 0;
    background: transparent;
    border-top: 1px solid rgba(0,0,0, .1);
}

.page-footer .container .row {
    display: flex;
    gap: 2rem;
}

.page-footer .container .row h5 {
    color: #2c3e50;
    text-align: center;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    position: relative;
}

.page-footer .container .row h5::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    border-radius: 2px;
}

.page-footer .container .row ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-footer .container .row ul li {
    margin: 0.75rem 0;
    text-align: center;
    transition: all 0.3s ease;
}

.page-footer .container .row ul li a {
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.25rem 0;
}

.page-footer .container .row ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    transition: width 0.3s ease;
}

.page-footer .container .row ul li:hover {
    transform: translateX(5px);
}

.page-footer .container .row ul li a:hover {
    color: #4CAF50;
}

.page-footer .container .row ul li a:hover::before {
    width: 100%;
}

.page-footer .container .row ul li a:hover {
    color: rgba(76, 175, 80, 0.8);
}

.social-links {
    margin-top: 1rem;
    background-color: transparent;
    display: flex;
    justify-content: center;
}

.social-links ul {
    display: flex;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
    justify-content: flex-start;
  }
  .social-links ul li a {
    color: #222;
    font-size: 1.5rem;
    transition: color 0.2s;
  }
  .social-links ul li a:hover {
    color: #4CAF50;
  }

  /* 404.ejs */
  #error-fof {
    margin-top: 4rem;
  }

  #error-fof h1 {
    font-size: 5rem;
    color: #66bb6a;
    margin-bottom: 0;
  }
  
  #error-fof h2 {
    margin-top: 0;
  }

  /* 500.ejs */

  #error-fh {
    margin-top: 4rem;
  }

  #error-fh h1 {
    font-size: 5rem;
    color: #66bb6a;
    margin-bottom: 0;
  }

  #error-fh h2 {
    margin-top: 0;
  }

  .hero-section {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: center;
    display: flex;
    flex-direction: column;
    
  }

  .hero-section div {
    margin: auto;
  }
/**************************************************************
* Media queries
***************************************************************/
@media (max-width: 600px) {
    .hero-section {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
        align-items: center;
        display: flex;
        flex-direction: column;
      }
      .hero-text {
        padding: 1.5rem 1rem 1.5rem 1.5rem;
        font-size: 1.1rem;
      }
      .hero-img {
        max-width: 80vw;
        margin: 1rem auto;
      }
      .hero-section div {
          margin: auto;
      }

  .profile-main .card-panel {
    padding: 1rem 0.5rem;
  }
  .profile-main .profile-info-card {
    padding: 0.75rem 0.75rem;
    font-size: 1rem;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
  }
  .profile-main .profile-info-section {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  .profile-main img.circle {
    width: 80px !important;
    height: 80px !important;
  }

  .page-footer .container .row {
    display: flex;
    flex-direction: column;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
    .hero-section {
      margin-top: 1.5rem;
      margin-bottom: 1.5rem;
      align-items: center;
      display: flex;
      flex-direction: column;
    }
    .hero-text {
      padding: 1.5rem 1rem 1.5rem 1.5rem;
      font-size: 1.1rem;
    }
    .hero-img {
      max-width: 80vw;
      margin: 1rem auto;
    }
    .hero-section div {
        margin: auto;
    }
  }

@media only screen and (max-width : 992px) {
    .partial-sidenavheader, .todos-main, .sidenav-footer, .profile-main, .editprofile-main {
      padding-left: 0;
    }
  }

@media screen and (min-device-width: 1024px) {

    .partial-header .nav-wrapper .brand-logo {
        margin-left: 1rem;    
    }
    .partial-header .nav-wrapper ul li a {
        margin: 1rem 0.25rem;
    }

    .index-main .d-flex .slider .slides li #firstImg {
        background-repeat: no-repeat;
        background-position: top;
    }

    .signup-main,
    .login-main {
        display: flex;
    }
    .signup-main .firstArea,
    .login-main .firstArea {
        display: flex;
    }
    .signup-main .firstArea section,
    .login-main .firstArea section {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .signup-main .secondArea,
    .login-main .secondArea {
        display: flex;
    }
    .signup-main .secondArea .container,
    .login-main .secondArea .container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .todos-main .container .container .collapsible .todoItem .collapsible-body div .btnContainer {
        flex-direction: row;
        justify-content: space-evenly;
    }

    .partial-sidenavheader nav .brand-logo {
        margin-left: 1rem;
    }

    .todos-main #modal1 .modal-content form .locationContainer,
    .todos-main #modal1 .modal-content form .vehicleContainer,
    .todos-main #modal1 .modal-content form .optionalContainer {
        padding: 0 2rem;
    }

    .todos-main #modal1 .modal-content form .hybridHalfWidth {
        width: 45%;
        display: inline-block;
        margin: 0 0.25rem;
    }

    .todos-main #modal1 .modal-content form .hybridThirdWidth {
        width: 30%;
        display: inline-block;
        margin: 0 0.25rem;
    }
}


@media screen and (max-width: 768px) {
    .contact-section {
        padding: 2rem 1rem;
        margin: 1rem 0;
    }
    
    .contact-content h3 {
        font-size: 2rem;
    }
    
    .contact-content p {
        font-size: 1rem;
    }
    
    .contact-form .input-group {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .contact-input {
        border-radius: 15px 15px 0 0;
    }
    
    .contact-btn {
        border-radius: 0 0 15px 15px;
        justify-content: center;
    }

    .contact-form .input-group {
        padding-top: 1rem;
    }
    
}

@media (max-width: 900px) {
    .services-cards-flex {
        gap: 1.25rem;
    }
    .services-cards-flex > article {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
