@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* vetgroups2 CSS - Veterinary Groups Page */

/* Spacing Scale */
:root {
  --space-xs: 1rem;
  --space-sm: 1.5rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;
  --space-2xl: 5rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;
  --container-max: 1200px;
  --container-padding: 2rem;
}

.vetgroups h2 {
  font-weight: 500;
  color: #006995;
  margin-bottom: var(--space-sm);
  line-height: 1.2;
  font-family: 'montserrat';
}

.secondary-hero-wrapper {
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
}

.header-container {
  max-width: none;
}

.header .nav-link {
  color: #006995;
}

.header:not(.scrolled) .nav-link:hover {
  color: #006995;
}

.header:not(.scrolled) .nav-link::after {
  background-color: #006995;
}

.hamburger span {
  background: #006995;
}

/* Hero Section */
.secondary-hero-combined {
  position: relative;
  width: calc(100% - 16px);
  height: 75vh;
  border-radius: 20px;
  overflow: hidden;
  margin: 0px auto 0 auto;
  margin-left: 8px;
  margin-right: 8px;
}

.secondary-hero-combined::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('photos/Vet Group Banner_option.webp');
  background-size: cover;
  background-position: top right;
  background-repeat: no-repeat;
}


.secondary-hero-combined::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.secondary-hero-image-section {
  height: 75vh;
  position: relative;
  z-index: 2;
  padding: 60px 0;
}

.secondary-hero-card {
  background: #ffffffb5;
  border-radius: 16px;
  border: 1px solid white;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 10;
}

.secondary-hero-card-container {
  max-width: 1200px;
  margin: 0 auto;
}

.desktop-title {
  display: none;
}

.mobile-title {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: #006995;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.secondary-hero-text-grid {
  display: grid;
}

.secondary-hero-text-main {
  font-size: 1.625rem;
  font-weight: 600;
  color: #374151;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.secondary-hero-text-secondary {
  font-size: 1.0625rem;
  font-weight: 500;
  color: #374151;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 2rem;
}

.secondary-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #006995 0%, #0093D1 100%);
  color: white;
  border: none;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 105, 149, 0.25);
  position: relative;
}

.secondary-contact-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #005580 0%, #0077a8 100%);
  opacity: 0;
  transition: opacity 0.4s ease-out;
  z-index: -1;
  border-radius: 8px;
}

.secondary-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 105, 149, 0.3);
}

.secondary-contact-btn:hover .btn-arrow {
  transform: translateX(8px);
}

.secondary-contact-btn:hover::before {
  opacity: 1;
}

.secondary-contact-btn:active {
  transform: translateY(-1px);
  transition: all 0.1s ease;
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.4s ease-out;
  font-size: 20px;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Donut chart section */ 
#donutchart {
  font-family: 'Montserrat', sans-serif;
}

/* Chart Box */


.chart-box {
  position: relative;
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
  margin-top: 6rem;
  padding: 2rem;  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: white;  
  border: 1px solid #e0e0e0;  
  border-radius: 12px;  
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.05);
  opacity: 0;  
  transform: translateY(60px);  
  min-height: 600px;
  align-self: start;
}

.chart-box.animate {
  animation: slideUpCard 0.8s ease-out forwards;
}

@keyframes slideUpCard {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.donut-subtitle {
  font-weight: 500;
  color: #666666;
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
  text-align: center;
  width: 100%;
	opacity: 0;
transform: translateY(20px);
}

.donut-subtitle.animate {
  animation: fadeInSubtitle 0.6s ease-out 0.5s forwards;
}

@keyframes fadeInSubtitle {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#donutchart {
  width: 100% !important;
  height: auto !important;
  max-width: 600px;
  max-height: 600px;
  align-items: center;
  opacity: 0;
}

#donutchart.animate {
  animation: fadeInChart 0.6s ease-out 0.8s forwards;
}

@keyframes fadeInChart {
  to {
    opacity: 1;
  }
}
/* Main Content Section */
.main-content-section {
  padding: var(--space-4xl) 0;
  background: #ffffff;
  padding-bottom: var(--space-2xl);
}

.content-container{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container-i{
	  display: grid;
  max-width: var(--container-max);
	  margin: 0 auto;
}

.content-left,
.content-right {
  display: flex;
  flex-direction: column;
}

.content-left h2,
.content-right h2 {
  font-weight: 500;
  color: #006995;
  margin-bottom: var(--space-xs);
  margin-top: var(--space-sm);
}

.content-left h2:first-child,
.content-right h2:first-child {
  margin-top: 0;
}

.content-left h3,
.content-right h3 {
  font-weight: 600;
  color: #006995;
  margin-top: var(--space-sm);
  margin-bottom: 0.75rem;
}

.content-left p,
.content-right p {
  line-height: 1.8;
  color: #555;
  margin-bottom: var(--space-xs);
}

.content-right ol {
  list-style: decimal;
  padding-left: var(--space-md);
  margin-bottom: var(--space-sm);
}

.content-right li {
  line-height: 1.8;
  color: #555;
  margin-bottom: 0.75rem;
}

/* Benefits Box */
.benefits-box {
  padding: var(--space-lg) 0;
  margin-bottom: var(--space-2xl);
}

.benefits-box .section-split {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
  padding: 0 var(--container-padding);
}

.benefits-box .section-sidebar {
  top: 40px;
}

.benefits-box h2 {
  color: #006995;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
}

.benefits-box .sidebar-desc {
  color: #64748b;
  line-height: 1.6;
  font-size: 0.95rem;
  font-family: 'Montserrat', sans-serif;
}

.benefits-box .content-list {
  display: grid;
  gap: var(--space-md);
}

.benefits-box .content-item {
  padding-left: var(--space-sm);
  border-left: 3px solid transparent;
  opacity: 0;
  transform: translateX(-20px);
}

.benefits-box .content-item.animate {
  animation: fadeInSlide 0.6s ease forwards;
}

.benefits-box .content-item:nth-child(1).animate {
  animation-delay: 0s;
}

.benefits-box .content-item:nth-child(2).animate {
  animation-delay: 0.2s;
}

.benefits-box .content-item:nth-child(3).animate {
  animation-delay: 0.4s;
}

@keyframes fadeInSlide {
  0% {
    opacity: 0;
    transform: translateX(-20px);
    border-left-color: transparent;
  }
  50% {
    border-left-color: #006995;
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    border-left-color: #006995;
  }
}

.benefits-box .content-item h3 {
  color: #006995;
  margin-bottom: 8px;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
}

.benefits-box .content-item p {
  color: #64748b;
  line-height: 1.6;
  font-family: 'Montserrat', sans-serif;
}

/* Impact Box */
.impact-box {
  background: linear-gradient(135deg, #004d6b 0%, #006995 50%, #0891b2 100%);
  padding: 1.5rem 2rem;
	margin: 1.5rem 2rem;
  border-radius: 1.5rem;
	font-size: LARGE;
}

.impact-box h2 {
  color: white;
  margin-bottom: 60px;
  font-weight: 500;
  letter-spacing: -0.5px;
  font-family: 'Montserrat', sans-serif;
}

.impact-box .impact-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-xs);
}

.impact-box .impact-item {
  background: white;
  color: #333;
  padding: var(--space-md);
  border-radius: 8px;
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.impact-box .impact-item.animate {
  animation: fadeInUp 0.5s ease forwards;
}

.impact-box .impact-item:nth-child(1).animate {
  animation-delay: 0s;
}

.impact-box .impact-item:nth-child(2).animate {
  animation-delay: 0.1s;
}

.impact-box .impact-item:nth-child(3).animate {
  animation-delay: 0.2s;
}

.impact-box .impact-item:nth-child(4).animate {
  animation-delay: 0.3s;
}

.impact-box .impact-item:nth-child(5).animate {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.impact-box .impact-item:hover {
  transform: translateY(-4px);
}

.impact-box .impact-item::before {
  content: '+';
  display: block;
  color: #78b996;
  font-weight: 400;
  font-size: 1.7rem; 
}

.impact-box .impact-item-full {
  grid-column: auto;
}

@media (max-width: 1200px) {
  .impact-box .impact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}

@media (max-width: 900px) {
  .impact-box .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  

  .impact-box h2 {
    margin-bottom: 40px;
  }
}

/* Mobile/Tablet Styles */
@media (max-width: 767px) {
  .mobile-title {
    font-size: 1.375rem;
    margin-bottom: 1.25rem;
    line-height: 1.35;
  }

  .secondary-hero-text-main {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .secondary-hero-text-secondary {
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
  }

  .secondary-hero-card {
    margin: -120px 16px 40px 16px;
    padding: 1.75rem;
  }
  
  .main-content-section {
    padding: var(--space-2xl) 0;
  }

  .content-container{
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: 0 var(--space-md);
  }

  .chart-box {
    max-width: 100%;
    padding: 0;
  }

  #donutchart {
    max-width: 600px;
    max-height: 600px;
  }

  .benefits-box {
    padding: var(--space-md) 0;
  }

  .benefits-box .section-split {
    padding: 0 var(--space-md);
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .content-left p,
  .content-right p {
    line-height: 1.6;
  }

  .chart-box {
    padding: 0;
  }


  .impact-box {
    padding: 1.5rem 1.5rem;
  }
  
  .impact-box h2 {
    margin-bottom: 30px;
  }
  
  .impact-box .impact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .impact-box .impact-item {
    padding: var(--space-sm);
  }
	  .secondary-hero-combined::before {
    background-position: 75% center; /* adjust percentage - higher = more right */
  }
}

/* Mobile Only Styles */
@media (max-width: 480px) {
  .desktop-title {
    display: none;
  }
  
  .mobile-title {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
  }
  
  .secondary-hero-wrapper {
    padding: 0;
  }
  
  .secondary-hero-combined {
    margin-top: 0px;
    height: 60vh;
    margin-left: 8px;
    margin-right: 8px;
  }
  
  .secondary-hero-image-section {
    height: 60vh;
    padding: 20px;
  }
  
  .secondary-hero-card {
    margin: -100px 16px 40px 16px;
    padding: 1.5rem;
  }
  
  .secondary-hero-combined::after {
    background: rgba(0, 0, 0, 0.2);
  }
  
  .secondary-hero-text-main {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 0.875rem;
  }

  .secondary-hero-text-secondary {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
   
	
  .secondary-contact-btn {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
  }
  
  .main-content-section {
    padding: var(--space-lg) 0;
  }

  .content-container {
    padding: 0 var(--space-xs);
  }



  .chart-box {
    padding: 0;
  }

  #donutchart {
    max-width: 600px;
    max-height: 600px;
  }

  .benefits-box .content-item {
    padding-left: var(--space-xs);
  }
  
  .impact-box {
    padding: 1.5rem 1.5rem;
	   margin: 1.5rem 0.5rem;
  }
  
  .impact-box .impact-item {
    padding: 20px;
  }
}

/* Tablet/Desktop Styles 768px+ */
@media (min-width: 768px) {
  .mobile-title {
    display: none;
  }
  
  .desktop-title {
    display: block;
    position: absolute;
    top: 80px;
    left: 60px;
    font-size: 2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0;
    z-index: 3;
    max-width: 800px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
  }

  
  .secondary-hero-image-section {
    position: relative;
  }
  
  .secondary-hero-card {
    opacity: 0;
    animation: fadeSlideUp 0.8s ease-out 0.3s forwards;
    padding: 3rem;
    margin: -200px 40px 60px 40px;
  }
  
  .secondary-hero-text-main {
    font-size: 1.375rem;
  }

  .secondary-hero-text-secondary {
    font-size: 1rem;
  }

}