/* Custom Styles for Perfection Du Spray */
/* Color Scheme: #ED1C24 (red), #111 (dark gray), #fff (white) */

/* Import Google Fonts with font-display optimization */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* Ensure consistent font rendering to prevent CLS */
body {
  font-family: 'Open Sans', sans-serif;
  font-display: swap;
}

/* Montserrat for headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-display: swap;
}

/* Apply fonts */
html, body {
  font-family: 'Open Sans', sans-serif;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Montserrat for headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

/* Montserrat for buttons */
.button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

/* Logo Styles */
.logo {
  height: 40px;
  width: auto;
  vertical-align: middle;
}

.title-bar-title .logo {
  height: 30px;
}

/* Improved Hamburger Menu */
.hamburger {
  padding: 15px 15px;
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible;
  z-index: 1001;
  width: 60px;
  height: 60px;
  box-sizing: border-box;
}

/* Full Screen Vertical Menu */
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 17, 17, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fullscreen-menu.active {
  opacity: 1;
  visibility: visible;
}

.fullscreen-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  width: 100%;
  flex-wrap: nowrap;
  flex-direction: column;  
}

.fullscreen-menu ul li {
  margin: 20px 0;
}

.fullscreen-menu ul li a {
  color: white;
  font-size: 2rem;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  display: block;
  padding: 10px 20px;
  transition: color 0.3s ease;
}

.fullscreen-menu ul li a:hover {
  color: #ED1C24;
}

.fullscreen-menu .dropdown.menu ul li a {
  font-size: 1.5rem;
  margin-left: 20px;
}

/* Second Layer for Services */
.services-submenu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 17, 17, 0.98);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  transform: translateX(100%);
}

.services-submenu.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.services-submenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  width: 100%;
  flex-wrap: nowrap;
  flex-direction: column;
}

.services-submenu ul li {
  margin: 25px 0;
}

.services-submenu ul li a {
  color: white;
  font-size: 2.2rem;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  display: block;
  padding: 15px 25px;
  transition: color 0.3s ease;
  position: relative;
}

.services-submenu ul li a:hover {
  color: #ED1C24;
}

.services-submenu .back-button {
  position: absolute;
  top: 30px;
  left: 30px;
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border: 2px solid white;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.services-submenu .back-button:hover {
  background-color: white;
  color: #111;
}

.services-submenu .back-button svg {
  width: 20px;
  height: 20px;
}

.hamburger:hover {
  opacity: 0.7;
}

.hamburger-box {
  width: 30px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}

.hamburger-inner, 
.hamburger-inner::before, 
.hamburger-inner::after {
  width: 30px;
  height: 3px;
  background-color: #111;
  border-radius: 4px;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -10px;
}

.hamburger-inner::after {
  bottom: -10px;
}

/* Spin Animation */
.hamburger--spin .hamburger-inner {
  transition-duration: 0.22s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--spin .hamburger-inner::before {
  transition: top 0.1s 0.25s ease-in, opacity 0.1s ease-in;
}

.hamburger--spin .hamburger-inner::after {
  transition: bottom 0.1s 0.25s ease-in, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--spin.is-active .hamburger-inner {
  transform: rotate(225deg);
  transition-delay: 0.12s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger--spin.is-active .hamburger-inner::before {
  top: 0;
  opacity: 0;
  transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out;
}

.hamburger--spin.is-active .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-90deg);
  transition: bottom 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Unified Navigation with Hamburger Menu for all devices */
.top-bar, .title-bar {
  background-color: #fff;
  color: #111;
  padding: 10px;
  min-height: 60px;
  height: auto;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Always show hamburger menu */
.hamburger {
  display: block !important;
}

/* Unified menu styles */
.top-bar ul, .title-bar ul {
  background: #ffffff;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.top-bar ul li, .title-bar ul li {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  min-height: 60px;
  box-sizing: border-box;
}

.top-bar ul li a, .title-bar ul li a {
  color: #232323;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  padding: 10px 15px;
  display: block;
  min-height: 40px;
  box-sizing: border-box;
  line-height: 1.5;
  text-decoration: none;
}

.top-bar ul li.active a, .title-bar ul li.active a {
  background-color: #ED1C24;
  color: white;
}

/* Desktop menu - hidden by default, shown via JavaScript */
.top-bar {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.top-bar.active {
  display: flex;
}

/* Ensure desktop menu is hidden on all pages by default */
.top-bar:not(.active) {
  display: none !important;
}

.top-bar .top-bar-left, 
.top-bar .top-bar-center, 
.top-bar .top-bar-right {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 60px;
  box-sizing: border-box;
  width: 100%;
  justify-content: center;
}

.top-bar .top-bar-left {
  justify-content: flex-start;
  flex: none;
  min-width: 150px;
}

.top-bar .top-bar-center {
  justify-content: center;
  flex: 2;
}

.top-bar .top-bar-right {
  justify-content: flex-end;
  padding-right: 0.5rem;
  min-width: 200px;
}

/* Center menu adjustments */
.top-bar-center .dropdown.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  height: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.top-bar-center .dropdown.menu > li {
  margin: 0 15px;
  display: flex;
  align-items: center;
  min-height: 60px;
  box-sizing: border-box;
}

/* Dropdown menu adjustments */
.top-bar-center .dropdown.menu .menu {
  background-color: #111;
  border: none;
  border-radius: 0;
  min-width: 200px;
  box-sizing: border-box;
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
}

.top-bar-center .dropdown.menu > li:hover .menu {
  display: block;
}

.top-bar-center .dropdown.menu .menu a {
  color: #fff;
  padding: 10px 15px;
  display: block;
  min-height: 40px;
  box-sizing: border-box;
  line-height: 1.5;
}

.top-bar-center .dropdown.menu .menu a:hover {
  background-color: #ED1C24;
}

/* Phone button adjustments */
.top-bar-right .menu {
  margin: 0;
  display: flex;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.top-bar-right .menu > li {
  margin: 0;
  display: flex;
  align-items: center;
  min-height: 60px;
  box-sizing: border-box;
}

.top-bar ul li.active a {
  background-color: #ED1C24;
}

.title-bar {
  background-color: #fff;
  color: #111;
  padding: 10px;
  min-height: 60px;
  height: auto;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.title-bar-title {
  color: #111;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  min-height: 40px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
.dropdown.menu>li.is-dropdown-submenu-parent>a::after {
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px;
    content: '';
    border-bottom-width: 0;
    border-color: #ED1C24 transparent transparent;
    right: 5px;
    left: auto;
    margin-top: -3px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

/* Phone Button in Navigation */
.phone-button {
  background-color: #ED1C24;
  color: white !important;
  border-radius: 4px;
  padding: 8px 16px;
  font-weight: 600;
  margin-left: 10px;
  transition: background-color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 140px;
  min-height: 40px;
  box-sizing: border-box;
  white-space: nowrap;
}

.phone-button:hover {
  background-color: #b0180c;
  color: white;
}

.phone-icon {
  width: 16px;
  height: 16px;
  stroke: white;
}

/* Adjust logo size in navigation */
.top-bar-left .logo {
  height: 40px;
  width: auto;
  vertical-align: middle;
}

/* Ensure logo has consistent sizing to prevent CLS */
.logo {
  width: 120px;
  height: 40px;
  object-fit: contain;
}

.title-bar-title .logo {
  width: 100px;
  height: 30px;
  object-fit: contain;
}

/* Center menu adjustments */
.top-bar-center .dropdown.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  height: 100%;
  box-sizing: border-box;
}

.top-bar-center .dropdown.menu > li {
  margin: 0 15px;
  display: flex;
  align-items: center;
  min-height: 60px;
  box-sizing: border-box;
}

/* Dropdown menu adjustments */
.top-bar-center .dropdown.menu .menu {
  background-color: #111;
  border: none;
  border-radius: 0;
  min-width: 200px;
  box-sizing: border-box;
}

.top-bar-center .dropdown.menu .menu a {
  color: #fff;
  padding: 10px 15px;
  display: block;
  min-height: 40px;
  box-sizing: border-box;
  line-height: 1.5;
}

.top-bar-center .dropdown.menu .menu a:hover {
  background-color: #ED1C24;
}

/* Phone button adjustments */
.top-bar-right .menu {
  margin: 0;
  display: flex;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.top-bar-right .menu > li {
  margin: 0;
  display: flex;
  align-items: center;
  min-height: 60px;
  box-sizing: border-box;
}

/* Responsive adjustments for phone button */
@media screen and (max-width: 1024px) {
  .phone-button {
    margin-left: 0;
    margin-top: 5px;
  }
}

/* Hero Section */
.hero-section {
  height: 100vh;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(46, 46, 46, 0.3), rgba(0, 0, 0, 0.5)), url('images/home-1.jpg') center/cover no-repeat;
  z-index: -1;
  transform: translateZ(-1px) scale(1.2);
  transition: transform 0.1s linear;
}

.hero-content {
  z-index: 1;
  padding: 20px;
  max-width: 800px;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* Page Header */
.page-header {
  padding: 100px 0;
  color: white;
  text-align: center;
}

.page-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.page-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* Page Content */
.page-content {
  padding: 50px 0;
}

.featured-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-content h2 {
  color: #ED1C24;
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: center;
}

.page-content h3 {
  color: #111;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-content h4 {
  color: #ED1C24;
}

.page-content p {
  font-size: 1.1rem;
  color: #111;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-content ul {
  margin-bottom: 20px;
}

.page-content ul li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* Gallery Styles */
.gallery-item {
  margin-bottom: 30px;
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

.gallery-item p {
  margin-top: 15px;
  font-weight: bold;
  color: #111;
}

/* New styles for uniform gallery grid */
.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 0;
}

.gallery-image-container {
  position: relative;
  width: 100%;
  height: 300px; /* Fixed height for vertical layout */
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 20px;
}

.gallery-image-container:hover {
  transform: scale(1.05);
}

.gallery-image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-image-container:hover img {
  transform: scale(1.05);
}

/* Lightbox Gallery Styles */
.gal-page .cell a {
  display: block;
  height: 100%;
  margin-bottom: 30px; /* Increased vertical spacing */
  width: 100%;
}

.gal-page .cell img {
  width: 100%;
  height: 300px; /* Fixed height for vertical layout */
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gal-page .cell img:hover {
  transform: scale(1.05);
}

/* Ensure consistent spacing in the grid */
.gal-page .grid-padding-x > .cell {
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 30px; /* Increased vertical spacing */
  width: 100%;
}

/* Services Section */
.services-section {
  background-color: #ED1C24;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #ffffff;
  text-align: center;
  padding: 80px 0 0 0;
}

/* Full Bleed Service Sections */
.service-full-bleed {
  padding: 80px 0;
  width: 100%;
}

.service-1 {
  background-color: #fff;
}

.service-2 {
  background-color: #fff;
}

.service-3 {
  background-color: #fff;
}

.service-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ED1C24;
}

.service-content p {
  font-size: 1.1rem;
  color: #111;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* CTA Sections */
.cta-section-1 {
  padding: 80px 0;
  background: linear-gradient(rgba(237, 28, 37, 0.4), rgba(237, 28, 37, 0.4)), url('images/cta-1.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  background-position: center;
  background-attachment: fixed;  
}

.cta-section-1 h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-section-1 p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section-2 {
  padding: 80px 0;
  background: linear-gradient(rgba(237, 28, 37, 0.4), rgba(237, 28, 37, 0.4)), url('images/cta-2.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  background-position: center;
  background-attachment: fixed;  
}

.cta-section-2 h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-section-2 p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Why Choose Us Section */
.why-choose-us-section {
  padding: 80px 0;
  background-color: #fff;
  text-align: center;
}

.why-choose-us-section .section-title {
  padding: 0 0 20px 0;
  color: #111;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 50px;
  font-family: 'Open Sans', sans-serif;
}

.feature-card {
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px;
  background-color: #f8f8f8;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.card-icon {
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #111;
  font-weight: 700;
}

.feature-card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
  flex-grow: 1;
}

/* Contact Section */
.contact-section {
  background-color: #f0f0f0;
  padding: 40px;
}

.contact-section .section-title {
  color: #111;
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
}
.contact-info {
  padding: 40px !important;
}
.contact-info h3 {
  color: #ED1C24;
  margin-bottom: 25px;
  font-size: 1.8rem;
  position: relative;
  padding-bottom: 15px;
}

.contact-info h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: #ED1C24;
}

.contact-info p {
  font-size: 1.1rem;
  color: #111;
  margin-bottom: 15px;
  line-height: 1.6;
}

.contact-details p {
  margin-bottom: 15px;
}

.contact-details h4 {
  color: #111;
  margin: 30px 0 20px 0;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 10px;
}

.contact-details h4:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: #ED1C24;
}

.contact-details a {
  color: #111;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: #ED1C24;
}

/* Contact Form */
.contact-form {
  background-color: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin: 0;
  text-align: left;
  height: 100%;
}

.contact-form h3 {
  color: #ED1C24;
  margin-bottom: 25px;
  font-size: 1.8rem;
  text-align: center;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #111;
  font-family: 'Montserrat', sans-serif;
}

.contact-form .required {
  color: #ED1C24;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  background-color: #fafafa;
  color: #111;
  height: auto; /* Allow natural height */
  line-height: 1.5; /* Ensure proper line height */
}

/* Fix for dropdown text clipping */
.contact-form select {
  color: #111;
  background-color: #fafafa;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 3rem; /* Add extra padding to the right for the arrow */
}

.contact-form select:focus {
  background-color: #fff;
  color: #111;
}

.contact-form select option {
  color: #111;
  background-color: #fff;
  padding: 10px; /* Add padding to options */
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  margin-top: 10px;
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

/* Fix for dropdown text visibility */
.contact-form select {
  color: #111;
  background-color: #fafafa;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

.contact-form select:focus {
  background-color: #fff;
  color: #111;
}

.contact-form select option {
  color: #111;
  background-color: #fff;
}

.form-message {
  padding: 15px;
  border-radius: 4px;
  margin-top: 20px;
  font-weight: 600;
  text-align: center;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
  padding: 30px 0;
  background-color: #111;
  color: white;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
}

.footer a {
  color: #ED1C24;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Buttons */
.button {
  background-color: #ED1C24;
  border-radius: 8px;
}

.button:hover {
  background-color: #b0180c;
}

.button.secondary {
  background-color: #111;
}

.button.secondary:hover {
  background-color: #333;
}

/* Callout */
.callout.primary {
  background-color: #f0f0f0;
  border-left: 5px solid #ED1C24;
}

/* Responsive Adjustments */
@media screen and (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .page-subtitle {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
    padding: 50px 0 0 0;
  }
  
  .service-full-bleed {
    padding: 50px 0;
  }
  
  .service-content h3 {
    font-size: 1.8rem;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  
  .service-content p {
    text-align: center;
  }
  
  .service-content .button {
    display: block;
    margin: 20px auto;
    text-align: center;
  }
  
  .service-image {
    margin-top: 30px;
  }
  
  /* Reorder service sections on mobile - image first */
  .service-1 .service-image,
  .service-2 .service-content,
  .service-3 .service-image {
    order: 1;
  }
  
  .service-1 .service-content,
  .service-2 .service-image,
  .service-3 .service-content {
    order: 2;
  }
  
  .top-bar-right {
    text-align: center;
  }
  
  .page-content h2 {
    font-size: 1.8rem;
  }
  .contact-section {
    padding: 10px;
  }  
}
