/* Varialbes for colors and common styles */
/* Varialbes for colors and common styles */
/* Varialbes for colors and common styles */

:root {
  --primary: #007CF9; /* Primary brand color */
  /* --secondary: #62B0FF;  */
  --secondary: #111; 
  --accent: #007CF9; /* Same as primary brand color */
  /* --background: #f0eee9;  */
  --background: #edeef0; 
  --gray: #708292; /* Gray text color */
  --xlight: #E5F2FF; /* Light blue alternative to white */
  --text: #1F252C; /* white color for text */
  --dark: #07070775;
  /* --light: #f7f5f1;  */
  --light: #f3f4f7; 
  --white: #fff; /* Navy color for greater contrast against background color */
  --tan: #D6D2C9;  /*Used in image backgrounds */
  --textrgb: 255, 255, 255; /* #D6D2C9 in decimal RGB Used to match image backgrounds */
  --choco: #1D1B19; /* Chocolate color for text and accents */
  --blue-gradient: linear-gradient(to bottom, var(--primary), #359aff);
  --light-gradient: linear-gradient(to bottom, var(--white), var(--light));
  --choco-gradient: linear-gradient(to bottom, var(--light), var(--choco));
  --color-gradient: linear-gradient(to right, #f3f4f7, #ff7474, #007CF9, #66E4E7, #007CF9, #f3f4f7);
}
/* This allows for smooth scrolling behavior across the site - especially where anchor tags are used*/
html {
  scroll-behavior: smooth;
}

/* Reset default margins and paddings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base body styles */
body {
  font-family: Roboto, sans-serif;
  /* line-height: 1.6; */
  background-color: var(--background);
  color: var(--text);

}


h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  text-wrap: balance;
}

h1 {
  font-size: 6rem;
  margin-bottom: 60px;
  line-height: 1;   
  letter-spacing: -4px;  
}

h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    margin-top: 40px;
    line-height: 1;
    letter-spacing: -3px;     
}

h3 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 20px;    
    line-height: 1;   
}

h4 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.5;   
}

h5 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1.5;   
}

h6 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    line-height: 1;
    color: var(--secondary)   
}

h6 img {
  height: 2em;
  width: auto;
  vertical-align: middle;
  margin-right: 0.5em;
  margin-top: -2px;
}


p {
  font-size: 1.125rem;
  margin-bottom: 20px;
  color: var(--gray);
  text-wrap: pretty;
}

hr {
  border: 1px solid var(--white);
}

img {
  overflow: hidden;
}





/* Layout styles: Header, Footer, Grid */
/* Layout styles: Header, Footer, Grid */
/* Layout styles: Header, Footer, Grid */

/* Header styling */

.header-sticky {
  position: sticky;
  top: 0;
  z-index: 1000; /* Ensures header stays on top */
  background-color: var(--background);
  backdrop-filter: blur(50px);
}

header {
  /* background-color: var(--background); */
  color: var(--text);
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid var(--white);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo img {
  height: 40px; /* Adjust based on logo size */
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.logo:hover img,
.logo:focus img {
    transform: scale(1.02);
    opacity: 0.85;
}

/* Footer styling */

footer {
  background-color: var(--light);
}

.footer-container {
  text-align: center;
  margin: 0 auto;
  max-width: 1000px;
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
}

.footer-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-item p {
  font-size: .75rem;
  margin-bottom: 0;
}




/* Hero section */
.hero {
  color: var(--text);
  padding: 60px 20px;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1400px;
}


.hero-text {
  max-width: 780px;
}

.hero-text h1 {
  margin-bottom: 30px;
}

.hero-text h5 {
  color: var(--gray);
  margin-bottom: 40px;
}

.doctor-img {
  overflow: visible;
}

.doctor-img.left {
  position: relative;
  top: 0px;
}

.doctor-img.right {
  position: relative;
  top: 80px;
}

.container {
  max-width: 1420px;
  padding-left: 20px !important;
  padding-right: 20px !important;
  margin: 60px auto !important;
}

/* Component styles (buttons, cards, nav, col etc.) */
/* Component styles (buttons, cards, nav, col etc.) */
/* Component styles (buttons, cards, nav, col etc.) */


/* Navigation styles */
.nav-list {
  list-style: none;
  display: flex;
  justify-content: center; /* centers the nav */
  gap: .7rem; /* space between items */
  padding: 0;
  margin: 0;
}

.nav-list li a {
  color: var(--gray);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 4px;
}

.nav-list li a:hover,
.nav-list li a:focus {
  color: var(--text);
  outline: none;
}

.nav-list li a.active {
  color: var(--text);


}


/* Site Nav menu toggle styles */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text)
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle.open .icon-open {
  display: none;
}

.menu-toggle.open .icon-close {
  display: inline;
}


/* Sidebar nav styles */
.sidebar-list {
  list-style: none;
  display: flex;
  justify-content: center; /* centers the nav */
  gap: .7rem; /* space between items */
  padding: 0;
}

.sidebar-list li a {
  color: var(--gray);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 4px;
}

.sidebar-list li a:hover,
.sidebar-list li a:focus,
.sidebar-list li a:active {
  color: var(--text);
  outline: none;
}



/* Button styles */
.btn {
  color: var(--light);
  border-radius: 4px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn-primary {
  background-color: var(--accent);
  padding: 1rem 2.5rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.75rem;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-4px);
  background-image: var(--blue-gradient);
  box-shadow: 0 10px 40px #00000050;
}

.btn-secondary {
  padding: .75rem 1.5rem !important;
  text-decoration: none;
  color: var(--text) !important;
  border: 1px solid var(--text);
  font-size: 1.1rem;
  font-weight: 400 !important;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--text);
  color: var(--light) !important;
}

.btn-tertiary {
  padding: .75rem 1.5rem !important;
  text-decoration: none;
  color: var(--text) !important;
  border: 1px solid var(--background);
  font-size: 1.1rem;
  font-weight: 400 !important;
}

.btn-tertiary:hover,
.btn-tertiary:focus {
  background-color: var(--text);
  color: var(--light) !important;
  border: 1px solid var(--text);
}

/* internal page Content section styles */
.int-content-section {
  display: flex;
  max-width: 1400px;
  flex-direction: column;
  text-align: center;
  margin: 100px auto;
  padding: 20px;
}

.int-content-section h3 {
  font-weight: 400;
}

.int-content-section h6 {
  color: var(--gray);
  margin-bottom: 40px;
}



/* 2-col layout styles */
.two-column {
  display: flex;
  align-items: stretch;
  padding: 80px 20px;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: wrap; /* Helps with stacking */
  transition: transform 0.3s ease;
}



.two-column .col {
  flex: 1 1 45%;
}

.two-column .image {
  /* border-radius: 10px 0 0 10px; */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
  min-height: 500px;
}

.two-column div:first-child {
  border-radius: 30px 0 0 30px;
}

.two-column div:last-child {
  border-radius: 0 30px 30px 0;
}


.bg-home-design {
    background-image: url('../assets/img/x1.5/laptopRock45SlantRuiz.jpg');
}

.bg-home-medwebsites {
    background-image: url('../assets/img/laptopequal45.jpg');
}

.bg-home-responsive {
    background-image: url('../assets/img/x1.5/phoneRockLinesContact.jpg');
}


.bg-home-medmobile {
    background-image: url('../assets/img/x1.5/phoneRockEqual.jpg');
}




.two-column .content {
  background-color: var(--light);
  padding: 50px;
  height: auto;
  /* border-radius: 0 10px 10px 0; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
} 

/* Card styles */

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 60px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.card {
  background-color: var(--light);
  border-radius: 10px;
  overflow: hidden;
  /* box-shadow: 0 4px 12px rgba(0,0,0,0.05); */
  flex: 1 1 calc(33.333% - 2rem);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 15px 15px 0 0;
  margin-bottom: 2rem;
}

.card .btn {
  align-self: flex-start;
  border: 1px solid var(--text);
  color: var(--text);
  padding: 0.5rem 1rem;
  margin: 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 400;
  margin-top: auto;
}

.card h6 {
  padding: 20px;
}

.card h5 {
  padding: 20px;
}

/* .card .btn:hover,
.card .btn:focus {
  background-color: var(--primary, #0066cc);
  border: 0px solid var(--gray, #004080);
  outline: none;
} */

/* styles for icons*/
.card h6 img {
  height: 2em;
  width: auto;
  margin-bottom: 0;
} 



/* Banner CTA styles */
/* Primary Banner */
.banner-cta {
  color: var(--text);
  padding: 100px 20px;
  text-align: center;
  margin: 40px 0;
  border-top:1px solid var(--white);
  border-bottom:1px solid var(--white);
}

.banner-cta h3 {
  font-weight: 400;
}

.banner-cta h4 {
  color: var(--gray);
}

/* Secondary Banner */
.banner-cta-alt {
  display: flex;
  max-width: 1000px;
  margin: 60px auto;
  flex-wrap: wrap;
  justify-content: space-between;
}

.banner-cta-alt h5 {
  color: var(--gray);
  margin-bottom: 0px;
}

.banner-cta-alt h4 {
  font-weight: 400;
  margin-bottom: 0px;
}

.banner-button {
  margin: auto;
} 

.banner-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* FAQ styles */
.faq {
  background-color: var(--light);
  padding: 60px;
  max-width: 1000px;
  margin: 100px auto;
  text-align: center;
  border-radius: 20px;
}

.faq h5 {
  font-weight: 400;
}
.question {
  margin: 50px 0 20px;
}

.answer {
  color: var(--gray);
  margin-bottom: 50px
}

.faq img {
  height: 3em;
}

/* Image Styles */

.mural {
  text-align: center;
  overflow: hidden;
}

.mural img {
  transition: transform 0.25s ease;
}

/* .mural img:hover {
  transform: scale(0.97);
  transition: transform 1s ease-out;
} */

/* Styles for internal pages hero section */
.int-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 60px auto 0;
  padding: 20px 20px 0;
  text-align: center;
  max-width: 1000px;
}

.int-hero h5 {
  color: var(--secondary);
  margin-bottom: 20px;
}

.int-hero hr {
  width: 45px;
  height: 1px;
  color: var(--primary);
  border: 1px solid var(--secondary);
}

.int-hero h3 {
  line-height: 1.2;
  font-weight: 400;
  margin: 60px 20px 10px;
}

.int-hero img{
  max-width:149%;
  margin-top: 100px;
}

.int-hero p {
  margin-bottom: 30px;
}

/* Sidebar setup and styles */
.sidebar-container {
  border-top: 1px solid var(--white);
  background-color: var(--secondary);
}

.grid-layout {
  display: grid;

  grid-template-columns: 12% 76% 12%;
  max-width: 1400px;
  margin:0 auto;

}

/* Left Sidebar menu styles */
.sidebar-nav {
    position: sticky;
    align-self: start;
    height: max-content; /* ensures sticky works properly */
    margin: 60px 0;
    top: 100px;
}

  .sidebar-nav ul {
      list-style: none;
      padding: 0;
  }

  .sidebar-nav ul li {
      padding: .25rem 0;
  }

  .sidebar-nav ul li a {
      border-left: 2px solid var(--secondary);
      font-weight: 400;
      color: var(--gray);
      padding: 12px 20px;
      cursor: pointer;
      transition: color 0.2s ease-in-out, transform 0.1s ease-in-out;
      text-decoration: none;
      width: 100%;
      display: inline-block;
      opacity: 0.8;
  }

  .sidebar-nav ul li a:hover {
      color: var(--light);
  }



  .sidebar-nav ul li a.active {
      border-left: 2px solid var(--accent);
      color: var(--light);
  }

/* Right Sidebar menu styles */
.sidebar-right-nav {
    position: sticky;
    align-self: end;
    /* height: max-content;*/
    bottom: 60px;
    display: flex;
    justify-content: end;
    padding: 20px;
}

.sidebar-right-nav ul {
    list-style: none;

  }


.sidebar-right-nav ul li a{
  color: var(--gray);
  cursor: pointer;
  text-decoration: none;
  display: flex;
  justify-content: center;
  flex-direction: column;
  transition: color 0.2s ease-in-out;
  text-align: center;
}

.sidebar-right-nav ul li a:hover {
  color: var(--text);
}

.sidebar-right-nav ul li a img {
  width: 35px;
  margin: 10px auto;
}



/* Main content that belongs to sidebar menu*/

.main-content {
  overflow: hidden; /* allow natural page scroll */
  /* border-left: 1px solid var(--white); */
  padding: 0 5% 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.main-content h4 {
  margin-bottom: 0;
  text-align: center;
}

.main-content h6 {
  padding-top: 100px;
}
.main-content img {
  border-radius: 10px;
}

.main-content h5 {
  text-align: center;
}

.main-content p {
  text-align: center;
}


/* Image gallery flexbox styles */
.image-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  /* margin-bottom: 30px; */
  max-width: 1000px;
}

.image-flex img {
  width: 100%;
}

.flex-item-1 {
  flex: 1 1 100%;
}
.flex-item-2 {
  flex: 1 1 45%;
} 
.flex-item-3 {
  flex: 1 1 32%;
} 
.flex-item-4 {
  flex: 1 1 23%;
} 

.flex-item-5 {
  flex: 1 1 18%;
} 

/* Image gallery grid styles */
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1000px;
  margin-bottom: 60px
}

.image-grid img {
  width: 100%;
  transition: transform 0.3s ease;
}

.image-grid img:hover {
  transform: translateY(-4px);
}

.tile-flex {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  width: 100%;
}

.tile-item {
  background-color: var(--dark);
  border-top: 2px solid var(--text);
  border-radius: 10px; 
  width: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transition: transform 0.3s ease;
}

.tile-item:hover {
  transform: translateY(-4px);
}



.tile-item img {
  height: 45px;
  /* margin: 0 auto; */
}



.tile-item p {
  margin: 0;
  color: var(--text);
}

/* Large tile flexbox styles */

.lrg-tile-flex {
  display: flex;
  gap: 1rem;
  margin-bottom: 20px;
  width: 100%;
}

.lrg-tile-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lrg-tile-img {
  height: 275px;
  border-radius: 10px;
  background-size: cover;        /* Ensures image covers the whole area */
  background-position: center;   /* Centers the image */
  background-repeat: no-repeat;  /* Prevents tiling */
}

.tile-img01 {
  background-image: url('../assets/img/medweb-who01.jpg');
}

.tile-img02 {
  background-image: url('../assets/img/medweb-who02.jpg');
}

.tile-img03 {
  background-image: url('../assets/img/medweb-who03.jpg');
}

.lrg-tile-item {
  background-color: var(--light);
  border-top: 2px solid var(--white);
  border-radius: 10px; 
  width: 100%;
  padding: 80px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transition: transform 0.3s ease;

}

.lrg-tile-item:hover {
  transform: translateY(-4px);
}


.lrg-tile-item img {
  height: 110px;
}

.lrg-tile-item .highlight {
  color: var(--text);
}

.lrg-tile-item h5 {
  margin: 10px 0 0;
  font-weight: 400;
  color: var(--gray);

}



/*alt tile item styles */
.alt-tile .lrg-tile-item {
  min-height: 300px;
  background-size: cover;         /* Ensures the image covers the whole area */
  background-position: center;    /* Centers the image */
  background-repeat: no-repeat;   /* Prevents tiling */
  background-color: var(--dark);  /* Fallback color */
  border-top: 2px solid var(--light);
  color: var(--text);
  text-align: left;
  flex-direction: column-reverse;
  padding: 30px;
  justify-content: space-between;
  align-items: flex-start;
}

.alt-tile .lrg-tile-item .highlight {
  color: var(--white);
}

.alt-tile .bg-01 {
  background-image: url('../assets/img/bgdark01.jpg'); /* Update the path */
}

.alt-tile .bg-02 {
  background-image: url('../assets/img/bgdark02.jpg'); /* Update the path */
}

.alt-tile .bg-03 {
  background-image: url('../assets/img/bgdark03.jpg'); /* Update the path */
}

.alt-tile img {
  height: 45px;
  align-items: flex-start;
}


/* Accordion styles */
.accordion {
  background-color: var(--light);
  border-radius: 10px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.accordion-header {
  background: var(--light);
  color: var(--text, #fff);
  cursor: pointer;
  padding: 1rem;
  border: none;
  outline: none;
  width: 100%;
  text-align: left;
  font-size: 1.1rem;
  transition: background 0.2s;
}
.accordion-header.active,
.accordion-header:hover {
  background: var(--white);
}
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  background: var(--light);
  transition: max-height 0.3s ease;
  padding: 0 1rem;
}
.accordion-panel.open {
  padding: 1rem;
  max-height: 500px; /* adjust as needed */
}

.accordion-panel p {
  text-align: left;
}



/* Fade in styles that work using js to add the .fade-in class to elements*/
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: 0.2s; 
}

.fade-01 {
  transition-delay: 0.4s !important; 
}

.fade-02 {
  transition-delay: 0.6s !important; 
}


.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Custom list styles */
.custom-list {
  list-style: none;
  padding: 10px 0;
}

.custom-list li {
  position: relative;
  padding: 5px;
  margin-bottom: .5em;
  display: flex;
  align-items: flex-start; /* Align icon and text at the top */
  font-size: 1.2rem;
}

.custom-list li::before {
  content: '';
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  margin-right: 0.75em;
  margin-top: 0em; /* Adjust as needed for vertical alignment */
  /* background: url('data:image/svg+xml;utf8,<svg fill="skyblue" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle cx="8" cy="8" r="7"/></svg>') no-repeat center center; */
  background: url('/assets/icons/check-circle.svg') no-repeat center center;
  background-size: contain;
  flex-shrink: 0;
  position: relative;
  left: 0;
  top: 0;
}

.details-flex {
  display: flex;
  gap: 5%;
}

.details-flex div {
  flex: 1 1 45%;
}

.bg-prod-biz-responsive {
  background-image: url('../assets/img/x1.5/phoneRockLinesContact.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 5px;
}

.bg-prod-ace-responsive {
  background-image: url('../assets/img/feat-store-manager.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 5px;
}

.bg-prod-med-responsive {
  background-image: url('../assets/img/desktopRedesignEqual.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 5px;
}

.bg-prod-mobile-responsive {
  background-image: url('../assets/img/mobileHomepageRockAmica.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 5px;
}

.bg-prod-mngr-responsive {
  background-image: url('../assets/img/feat-member-mngr.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 5px;
}





/* Page Specific Styles: Homepage, About, Contact, etc. */
/* Page Specific Styles: Homepage, About, Contact, etc. */
/* Page Specific Styles: Homepage, About, Contact, etc. */



/* Homepage Auto Scrolling Banner */

.scroll-banner {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
  padding: 1.5rem 0;
}

.scroll-track {
  display: inline-block;
  animation: scroll-left 40s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0); /* ✅ Start fully visible */
  }
  100% {
    transform: translateX(-50%); /* Or -100% if your content is long enough to repeat cleanly */
  }
}

.scroll-track span {
  display: inline-block;
  padding-right: 2rem;
  font-weight: 600;
  font-size: 1rem;
}

.scroll-track img {
  height:75px;
  padding: 0 100px;
}


/* Contact Page Styles */
.bg-contact {
  background-image: url('../assets/img/x1.5/contactform-light.jpg');
  background-position-y: top !important; 
}

.contact-header {
  margin: 60px auto;
}

/* Contact Form with vertical layout */


.contact-container {
  padding-top: 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 5px; /* space between fields */
  width: 100%;
  max-width: 600px;
}

form label {
  font-weight: 400;
  font-size: 1.2rem;
  margin: 10px 0 0;
  color: var(--text);
}

form input,
form textarea {
  padding: 15px;
  border-radius: 5px;
  border: 1px solid var(--gray);
  background-color: var(--light);
  color: var(--text);
  font-size: 1.5rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 200; 
}

form input:hover,
form textarea:hover,
form input:focus,
form textarea:focus {
  background-color: var(--white);
  border: 1px solid var(--gray, #ccc);
  box-shadow: 0 10px 20px 10px #00000015;
  transition: border 0.2s, background 0.2s, box-shadow 0.2s;
}

form button {
  /* margin: 10px auto; */
  padding: 1rem 1.25rem;
  border-radius: 5px;
  border: 0px solid var(--gray, #ccc);
  background-color: var(--accent);
  color: var(--white);
  font-weight: 500;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-family: 'Roboto', Arial, sans-serif; 
}

form button:hover {
  transform: translateY(-4px);
  background-image: var(--blue-gradient);
  box-shadow: 0 10px 40px #00000030;
}

form textarea {
  min-height: 200px;
  resize: vertical;
}

.required {
  color: var(--gray);
  font-weight: 600;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* gap: 20px; */
  margin-top: 20px;
}

/* Products Page Styles */
.products-intro {
  max-width: 1400px;
  margin-bottom: 60px;
}

  .products-intro h3, .portfolio-intro h3 {
    margin-bottom:20px;
  }

  .products-intro h6, .portfolio-intro h6 {
    margin-bottom:60px;
    color: var(--gray)
  }

  .feat-tile-flex {
    display: flex;
    /* gap: 1rem; */
    gap: 4px;
    margin-bottom: 20px;
    width: 100%;
  }

  .feat-tile-item {
    display: flex;
    flex-direction: column;
    align-items: start;
    background-color: var(--light);
    border-top: 2px solid var(--white);
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    width: 100%;
    text-align: left;
    justify-content: space-between;
    text-decoration: none;
    min-height: 300px;
  }

  .feat-tile-item:hover {
    transform: translateY(-4px);
    background-color: var(--white);
    flex-basis:200%;
  }

  .feat-tile-item:hover h6 {
    color: var(--secondary);
  }

  .feat-tile-item:hover p {
    color: var(--text);
  }

  .feat-tile-item:hover .text-label p {
    color: var(--gray);
  }

  .feat-tile-item:hover .feat-btn {
    height: 40px;
    transform: scale(1);
    transition: transform 0.3s ease;
  }

  .feat-tile-item h6 {
    color: var(--text);
    margin-bottom: 10px;
  }

  .feat-tile-item p {
    margin: 20px 0 0 0;
  }
  
  .feat-tile-item .feat-btn {
    display: flex;
    align-self: end;
    height: 0px;
    transform: scale(0);
  }

  .text-label p {
    color: var(--secondary);
    opacity: .7;
    font-size: .8rem;
    text-transform: uppercase;
    margin-top: 0;
  }

  .feat-tile-img {
    margin-bottom: 20px;
    border-radius: 5px;
    height: 35px;
  }

  /* Product page text formatting and layout styles */
  .product-overview {
    /* padding: 30px; */
    width: 100%;
    background-color: var(--light);
    border-radius: 10px;
  }

  .product-overview img {
    border-radius: 10px 10px 0 0;
  }

  .product-overview .image-flex {
    margin-bottom: 0;
  }
  
  .product-overview h6, 
  .product-overview h5, 
  .product-overview p {
    text-align: left;
    padding-top: 10px;
  }

  .product-details {
    padding: 30px;
    width: 100%;
    background-color: var(--light);
    border-radius: 10px;
    border-top: 2px solid var(--white);
  }
  
  .product-details h6, 
  .product-details h5, 
  .product-details p {
    text-align: left;
    padding-top: 10px;
    margin-bottom: 20px;
  }


  .product-cta {
    text-align: center !important;
    background-color: var(--background);
    border: 1px solid var(--gray);
  }

  .product-cta h5, 
  .product-cta h6 {
    text-align: center !important;
    margin: 20px;
    padding: 0;
  }


/* Details grid for 2 column layouts */
.details-2col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 columns */
  grid-auto-rows: 1fr;           /* as many rows as needed */
  /* border: 2px solid var(--gray); */
  background-color: var(--light);
  border-radius: 10px;
  border-top: 2px solid var(--white);
}

  .details-grid-cell {
    padding: 40px;
    text-align: center;
    font-size: 1.5rem;
    border-right: 2px solid var(--background);
    border-bottom: 2px solid var(--background);
    /* background: #fff; */
    text-align: left;
  }



  .details-grid-cell p {
    color: var(--gray);
    margin-bottom: 0;
    text-align: left;
  } 

  .details-grid-cell h6 {
    color: var(--secondary);
    margin-bottom: 10px;
    padding: 0;
  }
  /* Details Grid: Remove right border from last column */
  .details-2col-grid .details-grid-cell:nth-child(2n) {
    border-right: none;
  }

  /* Details Grid: Remove bottom border if in last row */
  .details-2col-grid .details-grid-cell:nth-last-child(-n+2) {
    border-bottom: none;
  }



 .callout {
    background-color: var(--background);
    padding: 20px !important;
    border-radius: 5px;  
    color: var(--gray) !important;
    margin-bottom: 0;
    border-bottom: 2px solid var(--white);
  }


  /* Why Altair page specific styles */


  
.why-altair {
  background-color: var(--secondary);
}
  .why-hero {
    text-align: left;
    padding: 150px 20px 20px;
    max-width:1400px;
    margin: 0 auto;
  } 

  .why-altair h1,
  .why-altair h2,
  .why-altair h3,
  .why-altair h4,
  .why-altair h5{
    color: var(--white);
  } 

 

  .why-altair h6 {
  font-weight: 600;
  background: var(--color-gradient);
  background-size: 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* For Firefox */
  color: transparent;
}


  .waterfall h3,
  .waterfall h4,
  .waterfall h6 {
    margin-bottom: 75px;
  } 


  .waterfall {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    gap: 10%;
    padding: 20px;
    align-items: center;
    }

  .waterfall-item {
    flex: 1 1 50%;
    margin-top: 8%;
  }

  .waterfall img {
    max-width: 100%;
    border-radius: 20px;
  }


  .waterfall-item:nth-child(1) {
    margin-bottom: -100px;
  }

  .waterfall-item:nth-child(2) img {
    margin-top: -250px;
  }
  



  /* why altair row items: flex styles */
  .why-flex {
    display: flex;
    max-width: 1400px;
    margin: 150px auto;
  }

  .why-flex img {
    /* padding-bottom: 25px; */
    height: 150px;
  }


  .why-flex h6 {
    margin: 10px 0 50px 0;
  }

  .why-item {
    padding: 50px;
    border-radius: 10px;
    gap:50px;
    transition: transform 0.3s ease, box-shadow 0.2s;
  }

  .why-item:hover {
    background-color: var(--dark);
    transform: translateY(-4px);
    filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .1));
  }


   

.why-altair .banner-cta {
  border-top: 1px solid;
  border-bottom: 1px solid;
}

  .why-altair .banner-cta-alt {
  background-image: url('../assets/img/x1.5/banner-bg.jpg'); /* Update the path as needed */
  background-size: cover;         /* Cover the entire area */
  background-position: center;    /* Center the image */
  background-repeat: no-repeat;   /* Prevent tiling */
  max-width: 1400px;
  padding: 50px 100px;
  border-radius: 100px;
  margin: 100px auto;
  transition: transform 0.3s ease, box-shadow 0.2s;
}


  .why-altair .banner-cta-alt:hover {
    /* background-color: rgba(var(--textrgb), 0.8); */
    transform: translateY(-4px);
    filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .1));
  }

  .why-altair .btn-secondary {
    color: var(--white) !important;
    border: 1px solid var(--white);
  }

  .why-altair .btn-secondary:hover {
    box-shadow: 0 10px 40px #00000050;
    color: var(--text) !important;
    background-image: var(--light-gradient);
    }
  
/* About Page Styles */

#about-altair h4 {
  color: var(--secondary)
}

.about-hero {
  border-radius:40px;
  margin: 0 auto;
  width: 100%;
  max-width: 1400px;
  text-align: center;
  display: flex;
  padding: 10px;
}

.about-page .why-flex {
  margin: 20px auto;
}

.about-page .why-item:hover {
  /* background-image: var(--light-gradient); */
  border-top:3px solid var(--white);
  background-color: var(--light);
}


/* MedWeb Page Styles */

#medweb-features h4 {
  font-weight: 400;
  color: var(--light);
}

#medweb-features h6 {
  color: var(--accent);
}

#medweb-features p {
  max-width: 600px;
  /* line-height: 1.6;
  padding: 20px 0; */
}

#medweb-features .tile-item p {
  padding: 0px;
  color: var(--gray);
}

#medweb-features .tile-item:hover p {
  padding: 0px;
  color: var(--light);
}

.sidebar-intro {
  padding-bottom: 0;
  margin-bottom: 0;
}


/* Responsive styles */
/* Responsive styles */
/* Responsive styles */


@media (min-width: 769px) {
/* Responsive style for hero */
  .hero-content {
    flex-direction: row;
    justify-content: center;
    gap: 80px;
  }

  .doctor-images {
    display: contents;
    margin-top: 0;
    }

  .doctor-img.left {
    order: -1;
  }

  .doctor-img.right {
    order: 1;
  }
}

/* Responsive: Adjust form layout for larger screens */
/* Responsive: Adjust form layout for larger screens */
/* Responsive: Adjust form layout for larger screens */
@media (max-width:1360px) {
/* Contact form styles */
  form {
      align-items: center;
      margin: 0 auto;
  }
  
  form input, 
  form textarea {
    width: 100%;
  }

  .form-actions {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .int-hero img {
    max-width:107%;
    margin-top: 50px;
  }
}

/*fixes navigation running into logo in between breakpoints */
@media (max-width: 1000px) {
  .nav-list li a {
    padding: 0.5rem .5rem;
  }
}



/*tablets and smaller screens */
/*tablets and smaller screens */
/*tablets and smaller screens */

@media (max-width: 900px) {
/* Dropdown Menu Nav mobile styles */
  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background);
    padding: 2rem 2rem 4rem;
    border-top: 1px solid var(--white);
    border-bottom: 1px solid var(--white);
  }

  .site-nav.open {
    display: block;
    height: 100vh;
    z-index: 2000;
  }

  /* Responsive style for navigation and header */
  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    justify-content: space-around;
    padding: 30px 0;
    /* height: 70%; */
  }

  .nav-list li a {
    color: var(--text);
    font-weight: 300;
    font-size: 1.5rem;
  }

  .header-container {
    gap: 1rem;
  }

  /* Button styles */

  .btn {
    min-width: 50%;
  }

  /* Responsive: Adjust card layout for smaller screens */
  .card {
    flex: 1 1 calc(50% - 2rem);
  }

  /* Responsive Alt Banner Styles */
  .banner-cta-alt {
    flex-direction: column;
    align-items: center;
    margin-bottom: 100px;
  }

  .why-altair .banner-cta-alt {
    background-position: left;
  }

  .banner-cta-alt h4 {
    text-align: center;
  }

  .banner-cta-alt h5 {
    text-align: center;
    margin-bottom: 20px;
  }

  .banner-button {
    margin-top: 20px;
  }

 

    /* footer styles on mobile */
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-item {
    margin: 10px;
  }

  /* Responsive: Stack columns vertically on smaller screens */
  .two-column {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .two-column .col {
    flex-basis: 100%;
  }


  .two-column .image { 
    margin-bottom: 0;
  }

  .two-column .content {
    padding: 30px;
  }

  .two-column div:first-child {
    border-radius: 10px 10px 0 0;
  }

    .two-column div:last-child {
    border-radius: 0 0 10px 10px;
  }


  /* Responsive: Adjust spacing for card grid and card styles text formatting */
  .card-grid {
    padding: 1rem;
  }

  .card {
    text-align: center;
    flex-direction: column;
  }

  .card h6 {
    padding: 0 20px;
  }

  .card h5 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.5; 
    padding: 0 20px;  
  }

  .card .btn {
    align-self: center;
  }

  /* Responsive: FAQ styles */
  .faq {
    margin: 100px 20px;
  }  

  /* Sidebar layout using grid responsive styles*/
  .grid-layout {
    grid-template-columns: 1fr;
  }

  .main-content {
    border-left: 0px;
    padding: 0 20px 100px 20px;
  }

  .sidebar-nav {
    display: none;
    position: sticky;
    top: 0;
    margin: 0;
    padding: 20px;
    background-color: var(--background);
    border-bottom: 1px solid var(--gray);
    overflow-x: auto;
  }

  .sidebar-nav ul {
    display: flex;
    justify-content: center;
  }

  .sidebar-right-nav {
    display: none;
  }

  /* Responsive Featured Tiles on Products page */
  .feat-tile-flex {
    flex-wrap: wrap;
  }
  
  .feat-tile-item {
    flex: 1 1 200px;
    min-height: 100%;
  }

  .feat-tile-item:hover {
    transform: translateY(0px);
    background-color: var(--white);
  }

  .details-flex {
    flex-direction: column;
  }

  .details-2col-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }

  .details-grid-cell {
    border-right: 0;
    border-bottom: 0;
    padding: 20px;
  }

  .details-grid-cell h6, p, li {
    font-size: 1rem;
  }

    /* Details Grid: Remove bottom border if in last row */
  .details-2col-grid .details-grid-cell:nth-last-child(-n+1) {
    border-bottom: none;
  }

  /* Flexbox on About and Why Altair pages */
  .why-flex {
    flex-direction: column;
    align-items: center;
  }

  .why-altair .banner-cta-alt {
    padding: 50px 20px;
    margin: 20px;
    border-radius: 20px;
  }

  .why-altair .banner-cta-alt h5 {
    color: var(--gray);
    font-size: 1.2rem;
  } 

  .about-hero {
    border-radius: 20px;
    padding:10px;
  }

}



@media (max-width: 768px) {
  /* Homepage Hero doctor images */
  .doctor-img.right {
    top: -30px;
    left: 100px;
  }

  .doctor-img.left {
    top: -30px;
    right: 100px;
  }

}



/* Small screens and mobile devices */
/* Small screens and mobile devices */
/* Small screens and mobile devices */

@media (max-width: 600px) {

  /* Header text styles */
  h1 {
    font-size: 3.5rem;
  }

  h3 {
    font-size: 2rem !important;
  }

  /* h4 {
    font-size: 1.5rem;
  } */

  h4, h5 {
    font-size: 1.5rem !important;
  }

  li {
    font-size: 1rem !important;
  }

  /* header logo and navigation */

  .header-container {
    padding: 0;
  }

  /* Button styles */

  .btn {
    min-width: 90%;
  }

  /* Homepage Hero section */

  .hero {
    padding: 0px;
  }

  /* Hero Doctor images */
  .doctor-img {
    max-width: 49%;
  }

  .doctor-img.right {
    top: -30px;
    left: 20px;
    width: 120px;
  }

  .doctor-img.left {
    top: -30px;
    right: 20px;
    width: 140px;
  }

  /* Responsive: 2 column layout stacking */
  .two-column .image {
    min-height:300px;
  }

  /* Responsive: FAQ styles */
  .faq {
    margin: 60px 20px;
    padding: 60px 20px;
  }

  /* Responsive: Card styles */
  .card {
    flex: 1 1 100%;
  }
  /*Image Gallery*/
  .main-content {
    padding: 0 10px;
  }

  

  /* Image Gallery grid styles */
  .image-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
    margin-bottom: 20px;
  }

  .image-grid img {
    border-radius: 5px;
  }

  /* Mural on mobile */
  .mural img {
    width:200vw;
  }  

  /*Stack columns vertically on smaller screens */
  .two-column .content {
    padding: 30px 10px;
  }

  /* Featured Tiles on Products page */
  
  .feat-tile-item {
    text-align: center;
  }

  
  .feat-tile-item:hover .feat-btn {
    height: 0px;
    transform: scale(0);
    transition: transform 0.3s ease;
  }


  /*large tiles on Services/MedWeb page */
  .lrg-tile-flex {
    flex-direction: column;
    gap: 5px;
  }

  .lrg-tile-col {
    gap: 5px;
  }

  .lrg-tile-item {
    padding: 25px;
  }

  .lrg-tile-item img {
    max-height: 75px;
  }

  .reverse-mobile {
    flex-direction: column-reverse;
  }

  .alt-tile .lrg-tile-item {
    min-height: 200px;
  }

  /* Image Gallery Flexbox styles */
  .image-flex {
    gap: 1em;
    margin-bottom: 10px;
  }


  .tile-flex {
    flex-direction: row;
  }

  .tile-item {
    padding: 10px;
    gap: 5px;
    justify-content: space-between;
    align-items: flex-start;
    min-height:100px;

  }

  .tile-item p {
    font-size: 15px;
    line-height: 1.2;
    text-align: left;
    opacity: 0.8;
  }

  .tile-item img {
    height: 30px;
  }


  /* Portfolio hero image scaling */
  .int-hero img {
    max-width: 100%;
  }

  .tile-flex {
    gap: 5px;
  }


  /* flexbox for Waterfall on why altair pages */

  
  .waterfall {
    flex-direction: column;
  }

  .waterfall-rev {
    flex-direction: column-reverse;
  }

  .waterfall-item {
    margin-bottom: 50px;
  }

  .waterfall-item img {
    margin: 0 auto !important;
  }

  .waterfall-item:nth-child(1),
  .waterfall-item:nth-child(2) {
    margin-bottom: 0;
  }

  .why-flex {
    margin: 0px 10px;
  }

  .about-page .why-flex {
    margin: 0px 10px;
  }

  .why-item {
    padding: 20px;
  }

  .why-hero {
    padding: 20px;
  }

  .why-hero h1 {
    margin-bottom: 0;
  }

  .waterfall h3, 
  .waterfall h4,
  .waterfall h6 {
    margin-bottom: 30px;
  }



}
