@import url('thompsonagri-gallery.css');

/* Force gallery trigger to be visible even when parent has opacity: 0 */
.service-image .gallery-trigger {
    position: absolute !important;
    opacity: 0 !important;
    z-index: 100 !important;
    pointer-events: auto !important;
}

.service-image:hover .gallery-trigger,
.service-image.active .gallery-trigger {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* On mobile, always show the trigger on the VISIBLE image */
@media (max-width: 768px) {
    .service-image .gallery-trigger {
        opacity: 1 !important;
    }
}
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;1,400&display=swap');
/*
===============================================
THOMPSONAGRI CHILD CSS
Filename: thompsonagri-child.css
Upload to: /templates/cassiopeia/css/
Designed for agricultural construction
Works with std-master-core.css foundation
===============================================
*/

/* ============================================
   BRAND COLORS & VARIABLES
   ============================================ */
:root {
    /* Primary Brand Colors */
    --Thompson-primary: #00549f;
    --brand-primary: #4c872b;
    --brand-secondary: #8d9b5f;
    --brand-accent: #c6a878;
    --brand-dark: rgb(62 82 88);
    --brand-light: #f5f5f5;          /* Off White */
    --brand-opaque: rgba(255, 255, 255, 0.1);/* Off White */
    --brand-opaque-15: rgba(255, 255, 255, 0.15);/* Off White */
	
	
    --brand-primary-60: rgb(35 77 12 / 55%);   /* 60% opacity */
    --brand-dark-70: rgba(62, 82, 88, 0.7);
    --brand-dark-50: rgba(62, 82, 88, 0.6);
    --brand-dark-30: rgba(62, 82, 88, 0.5);
    
    /* Additional Palette */
    --color-steel: #6b7280;          /* Steel Grey */
    --color-concrete: #9ca3af;       /* Concrete Grey */
    --color-earth: #92704c;          /* Earth Brown */
    --color-warning: #ea580c;        /* Safety Orange */
    
    /* Neutrals */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-grey-50: #f9fafb;
    --color-grey-100: #f3f4f6;
    --color-grey-200: #e5e7eb;
    --color-grey-300: #d1d5db;
    --color-grey-800: #1f2937;
    --color-grey-900: #111827;
    
    /* Typography */
    --font-primary: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
	--font-headings: 'Merriweather', Georgia, serif;
    /*--font-headings: 'Roboto', 'Open Sans', sans-serif;*/
    
    /* Spacing */
    --section-padding: 4rem 2rem;
    --container-max-width: 1200px;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */
body {
    font-family: var(--font-primary);
    color: var(--color-grey-800);
    line-height: 1.6;
}
@supports (display:grid) {
    .site-grid {
        grid-gap: 0 0em;
	}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 0rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--brand-dark);
    line-height: 1;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

blockquote {
    font-family: var(--font-secondary) !important;
    font-stylefont-style: italic !important;
}

blockquote h1, blockquote h2, blockquote h3, blockquote h4 {
    font-weight: 400 !important;
}

/* ====================================
   2. HEADER - Footer CUSTOMIZATION
   ==================================== */

.header, .footer {
    background: linear-gradient(45deg, var(--brand-dark) 50%, #205800 100%);
    border-bottom: 0px solid var(--brand-accent);
}

.container-header .grid-child {
    padding: 1rem .5em 1em .5em;
}

a.brand-logo img {
    max-width: 280px !important;
}

.container-component>:first-child, .container-sidebar-left>:first-child, .container-sidebar-right>:first-child, .container-component>*+*, .container-sidebar-left>*+*, .container-sidebar-right>*+* {
    margin-top: 0;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-agri {
    background: url('/images/hero-bunker.jpg') center/cover no-repeat;
    min-height: 68vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 50px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-family: var(--font-primary) !important;
    color: var(--color-white);
/*margin-bottom: 1rem;*/
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.tagline {
    font-size: 1.5rem;
    color: var(--color-grey-100);
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* ============================================
   SERVICES CAROUSEL
   ============================================ */
.carousel-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 60px 40px 60px;
    margin-bottom: 50px;
    background-color: rgb(210 216 216);
}

.carousel-container {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
}

.carousel-slide {
  flex: 0 0 calc((100% - 40px) / 3);
  background: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.carousel-slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* ------------------------------
   ARROW BUTTONS
   ------------------------------ */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--brand-accent);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}

.carousel-arrow:hover {
  background: #999;
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
  left: 6px;
}

.carousel-arrow.next {
  right: 6px;
}

button.carousel-arrow {
    font-size: 48px;
    color: white;
    padding-bottom: 10px;
}

/* ------------------------------
   DOTS NAVIGATION
   ------------------------------ */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot:hover {
  background: #999;
  transform: scale(1.2);
}

.carousel-dot.active {
  background: var(--brand-accent);
  width: 32px;
  border-radius: 6px;
}

/* ------------------------------
   RESPONSIVE
   ------------------------------ */
@media (max-width: 1024px) {
  .carousel-slide {
    flex: 0 0 calc((100% - 20px) / 2);
  }
}

@media (max-width: 640px) {
  .carousel-wrapper {
    padding: 0 50px 40px 50px;
  }
  
  .carousel-slide {
    flex: 0 0 100%;
  }
  
  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  .carousel-dot {
    width: 10px;
    height: 10px;
  }
  
  .carousel-dot.active {
    width: 24px;
  }
}

/* Carousel Slide Link as Button */
.carousel-slide .slide-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--brand-primary);
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-slide .slide-link:hover {
    background: #4a7c59;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 95, 45, 0.3);
}

/* Alternative Style 1: Outline Button */
.carousel-slide .slide-link.outline {
    background: transparent;
    color: #2c5f2d;
    border: 2px solid #2c5f2d;
}

.carousel-slide .slide-link.outline:hover {
    background: #2c5f2d;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Alternative Style 2: Subtle Button */
.carousel-slide .slide-link.subtle {
    background: rgba(44, 95, 45, 0.1);
    color: #2c5f2d;
    border: none;
}

.carousel-slide .slide-link.subtle:hover {
    background: rgba(44, 95, 45, 0.2);
    transform: translateX(4px);
}

/* Alternative Style 3: Arrow Animation */
.carousel-slide .slide-link.arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.carousel-slide .slide-link.arrow::after {
    content: '→';
    transition: transform 0.3s ease;
}

.carousel-slide .slide-link.arrow:hover::after {
    transform: translateX(4px);
}

/* ============================================
   GRID LAYOUTS
   ============================================ */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.services-grid {
    padding: var(--section-padding);
    background: var(--color-white);
}

.service-card {
    background: var(--color-white);
    border: 2px solid var(--brand-primary);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(44, 95, 45, 0.2);
}

.service-card h3 {
    color: var(--brand-primary);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: var(--section-padding);
    background: var(--color-grey-50);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-grey-800);
    margin-bottom: 1rem;
}

/* ============================================
   EXPANDABLE SECTIONS (DETAILS/SUMMARY)
   ============================================ */
details {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

summary {
    cursor: pointer;
    color: var(--brand-primary);
    font-weight: 600;
    padding: 0.75rem 1rem;
    background: var(--color-grey-100);
    border-radius: 4px;
    transition: background 0.3s ease;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

summary::-webkit-details-marker {
    display: none;
}

summary::before {
    content: '▼';
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

details[open] summary::before {
    transform: rotate(-180deg);
}

summary:hover {
    background: var(--color-grey-200);
}

.expanded-content {
    padding: 1.5rem 1rem;
	background-color: rgb(236 243 243);
    border: 1px solid var(--color-grey-200);
    border-top: none;
    border-radius: 0 0 4px 4px;
}

.read-more-wrapper summary {
    background: var(--brand-primary);
    color: var(--color-white);
}

.read-more-wrapper summary:hover {
    background: var(--brand-secondary);
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-choose {
    padding: var(--section-padding);
    background: var(--color-white);
}

.reason-card {
    background: var(--color-grey-50);
    border-radius: 8px;
    padding: 2rem;
    border-left: 4px solid var(--brand-primary);
    transition: all 0.3s ease;
}

.reason-card:hover {
    border-left-width: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.reason-card h3 {
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

.reason-card details {
    margin-top: 0.5rem;
}

/* ============================================
   DETAILED SERVICES SECTIONS
   ============================================ */
.services-detailed {
    padding: var(--section-padding);
    background: var(--color-grey-50);
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 3rem;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    align-items: start;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-text h2 {
    text-align: left;
    font-size: 1.8rem;
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

.service-intro {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brand-dark);
    margin-bottom: 1rem;
}

.service-expanded ul {
    list-style: none;
    padding-left: 0;
}

.service-expanded li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.service-expanded li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-weight: bold;
}

.service-image {
    overflow: hidden;
    border-radius: 8px;
}

.service-image img {
    width: 100%;
    /* height: 300px;*/
    object-fit: contain;
    transition: transform 0.3s ease;
}

.service-detail:hover .service-image img {
    transform: scale(1.05);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    margin: 0 7px;
}

.btn-primary {
    background: var(--brand-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--brand-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(44, 95, 45, 0.3);
}
  .btn-opaque {
    background: var(--brand-opaque-15);
    color: var(--color-white);
}
  
.btn-opaque:hover {
        background: var(--brand-dark-30);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(44, 95, 45, 0.3);
}

.btn-thompson {
    background: var(--Thompson-primary);
    color: var(--color-white);
}

.btn-thompson:hover {
    background: var(--Thompson);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(44, 95, 45, 0.3);
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
  
section.projects {
        background-color: var(--brand-dark-30);
        text-align: center;
        padding: 30px;
        margin: 30px 0;
}
  
/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: var(--section-padding);
    background: var(--brand-dark);
    color: var(--color-white);
}

.contact-section h2 {
    color: var(--color-white);
}

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--color-grey-100);
}

.contact-grid {
    /*display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;*/
}

.contact-card {
    background: var(--brand-opaque);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    /*border: 0px solid var(--brand-primary);*/
}

.contact-card h3 {
    color: var(--color-white);
    margin-bottom: 0.25rem;
    margin-top: 1rem;
}

.role {
    color: var(--brand-accent);
    font-weight: 600;
}

.contact-details {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.contact-details p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.contact-details a {
    color: var(--brand-accent);
    text-decoration: none;
    font-weight: 600;
}

.contact-details a:hover {
    color: var(--color-white);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .carousel-wrapper {
        padding: 2rem;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .service-detail {
        grid-template-columns: 1fr;
        gap: 0rem;
        padding: 2rem;
    }
    
    .service-detail.reverse {
        direction: ltr;
    }
    
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 3rem 1rem;
    }
    
    .hero-agri {
        min-height: 50vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .carousel-track {
        height: 250px;
    }
    
    .service-detail {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
	.container {
        padding: 0 0rem;
    }
}

.hero-content {
    background-color: var(--brand-dark-50);
    padding: 30px 200px;
    position: relative;
    margin-top: 347px;
}
	
@media (max-width: 768px) {	
.hero-content {
    padding: 20px 40px;
	}
}

/* Optional: Add a subtle accent line */
.hero-content h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--brand-primary); /* Green accent for agricultural theme */
  margin-top: 15px;
}

/* Responsive design */
@media (max-width: 768px) {
  .hero-content {
    /*left: 30px;
    right: 30px;*/
    max-width: none;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Better than scroll-margin-top */
}

/* Target the service sections */
.service-detail {
  scroll-margin-top: 100px; /* Fallback for older browsers */
}

/* Ensure smooth scroll is enabled */
* {
  scroll-behavior: smooth !important;
}

.parallax-reveal {
  position: relative;
  min-height: 60vh;
  background-image: url('/images/reveal-photo.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.reveal-content {
  position: relative;
  background-color: rgba(255, 255, 255, 0.3);
  padding: 60px 40px;
  margin: 100px auto;
  max-width: 800px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.reveal-content h2, .reveal-content h4 {
  margin-top: 0;
    color: #ffffff;
	text-align: center ;
}

.reveal-content h2 {
    font-style: italic;
}

.reveal-content h4 {
    font-family: var(--font-primary) !important;
    font-style: normal;
}

.reveal-content p {
  color: #666;
  line-height: 1.6;
}
section.services-detailed a.btn {
    visibility: hidden;
}
.why-choose-improved {
    padding: 5rem 2rem;
    background: #f9fafb;
}

.why-choose-wrapper {
    display: grid;
    grid-template-columns: 45% 50%;
    gap: 5%;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Side: Images */
.why-choose-images {
    position: relative;
    height: 100%;
    min-height: 600px;
}

.image-main {
    position: relative;
    width: 100%;
    height: 70%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    /* text-align: left; */
    display: flex;
    justify-content: flex-start;
}

.image-main img {
    height: 100%;
    width: auto;
    object-fit: cover;
    object-position: left center;
}

.image-secondary {
    position: absolute;
    bottom: 0;
    right: -20px;
    width: 60%;
    height: 45%;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 4px solid white;
}

@media (min-width: 968px) {
.image-secondary img {
    /*height: 100%;
    width: auto;
    object-fit: cover;*/
    /*object-position: -9vw center;*/
}
}
/* Right Side: Content */
.why-choose-content {
    padding: 2rem 0;
}

.why-choose-content .read-more-wrapper {
    margin: 0 30%;
}

@media (max-width: 968px) {
.why-choose-content .read-more-wrapper {
    margin: 0 0%;
    width: 100%;
}
}

.section-label {
    color: var(--brand-accent);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-align: left;
}

.why-choose-content h2 {
    font-size: 2.5rem;
    color: var(--brand-dark);
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--brand-dark);
    margin-bottom: 2.5rem;
}

/* Features List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-item img {
    flex-shrink: 0;
    width: 85px;
    height: auto;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-text h3 {
    font-size: 1.25rem;
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.feature-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--brand-dark);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 968px) {
    .why-choose-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .why-choose-images {
        min-height: 400px;
        order: 2;
    }
    
    .why-choose-content {
        order: 1;
    }
    
    .why-choose-content h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .section-label {
        text-align: center;
    }
    
    .intro-text {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .why-choose-improved {
        padding: 3rem 1rem;
    }
    
    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .why-choose-images {
        min-height: 300px;
    }
    
    .image-secondary {
        right: -10px;
        width: 50%;
        height: 40%;
    }
}
.company-relationship {
    padding: 5rem 0rem;
    background: white;
}

.company-relationship h2 {
    color: var(--brand-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--brand-dark);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.relationship-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.relationship-text h3 {
    color: var(--brand-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.relationship-text h3:first-child {
    margin-top: 0;
}

.relationship-text p {
    line-height: 1.8;
    color: var(var(--brand-dark));
    margin-bottom: 1rem;
}

/* CTA Block */
.cta-block {
    margin-top: 2.5rem;
    padding: 2rem;
    background: var(--color-white);
    border-radius: 8px;
    border-left: 0px solid var(--brand-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.cta-block p {
    margin-bottom: 1.5rem;
}
btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--brand-primary);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--brand-secondary);
    transform: translateX(4px);
}

.btn-secondary .arrow {
    transition: transform 0.3s ease;
}

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

/* Visual Structure */
.relationship-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.company-structure {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.parent-company,
.division-box {
    padding: 1.5rem;
    border-radius: 6px;
    margin: 1rem 0;
}

.parent-company {
    background: var(--Thompson-primary);
    color: var(--color-white);
}

.parent-company h4 {
    background: var(--Thompson-primary);
    color: var(--color-white);
    font-family: var(--font-primary) !important;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.division-arrow {
    font-size: 2rem;
    color: var(--brand-primary);
    margin: 0.5rem 0;
}

.division-box {
    background: var(--brand-primary);
    color: var(--color-white);
}

.division-box h4 {
    color: var(--color-white);
    font-family: var(--font-primary) !important;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.company-desc {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Benefits List */
.benefits-list {
    background-color: rgb(236 243 243);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.benefits-list h4 {
    color: var(--brand-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.benefits-list ul {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: var(--brand-dark);
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .relationship-details {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    .company-relationship {
        padding: 3rem 1rem;
    }
}

@media (max-width: 640px) {
    .company-relationship h2 {
        font-size: 2rem;
    }
    
    .intro-text {
        font-size: 1.1rem;
    }
    
    .cta-block {
        padding: 1.5rem;
    }
    
    .btn-secondary {
        display: flex;
        width: 100%;
        justify-content: center;
    }
}

/* Make each slide a vertical flex column */
.carousel-slide {
  display: flex;
  flex-direction: column;
}

/* Push the link down to the bottom of the slide */
.carousel-slide .slide-link {
  margin-top: auto;
}


