:root {
  /*--primary-header: #dfc6a8;  peach */
  --primary: #ffffff;            /* white */
  --primary-hover: #444;
  --primary-inverse: #444;

  --accent: #82c1bb;             /* Muted Teal */
  --accent-hover: #4ea7a0;
  --accent-inverse: #ffffff;

  --light: #ffffff;
  --light-100: #ffffff;
  --default: #444;
  --border-radius: 8px;

  --bs-btn-color1: #fff;
	--bs-btn-bg1: #75afaa !important;
  --bs-btn-border-color: #75afaa;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #436663;
}

.view-switcher {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

#viewToggle {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #007bff;
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
}

    #viewToggle[aria-pressed="true"] {
        background-color: #28a745;
    }

.view-espa {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
}

    .view-espa img {
        width: 350px;
        height: 100%;
    }


.btn-custom {
  background-color: var(--bs-btn-bg1);
  color: var(--bs-btn-color1);
  border: none;
  border-radius: var(--border-radius);
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.btn-custom:hover {
  background-color: var(--bs-btn-hover-bg);
  color: var(--bs-btn-hover-color);
}

.btn-custom.show {
    background-color: var(--bs-btn-bg1);
}

/* Background Section with Flip */
.custom-section {
  position: relative;
  overflow: hidden; /* This is crucial to contain ::before */
  z-index: 0; /* Lower than content and dividers */
}

.custom-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 300px;
  background-image: url('../img/demos/startup-agency/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scaleX(-1); /* Flip horizontally */
  z-index: 1; 
  opacity: 1;
}

/* Link Styles */
a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-hover);
}

/* Header Styling */
header {
  background-color: var(--primary);
  color: var(--primary-inverse);
}

.custom-section-svg {
	position: relative;
	overflow: hidden;
	height: 700px; /* Adjust as needed */
}

.custom-section-svg-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center center;
	z-index: 0;
}

.custom-section-svg svg,
.custom-section-svg .container {
	position: relative;
	z-index: 1;
}

.hero-fullscreen {
	position: relative;
	height: 100vh;
	width: 100%;
	overflow: hidden;
}

.hero-bg {
	position: absolute;
	top: 0;
  bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('../img/demos/startup-agency/backgrounds/background.jpg'); /*relative path */
	background-size: cover;
	background-position: 80% center;
	background-repeat: no-repeat;
	z-index: 1;
	filter: brightness(0.9);
}

.hero-wrapper {
  position: relative;
  z-index: 2;
}

.hero-wrapper .hero-fullscreen,
.hero-wrapper .container {
  position: relative;
  z-index: 2;
}
/* Bottom shadow fade-out */
.hero-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 120px; /* increased for better overlap */
  margin-bottom: -20px; /* pulls it down slightly */
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.35) 100%
  );
  z-index: 3;
}
/* Cards */
.card {
  background-color: var(--light-100);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 24px;
  margin: 20px 0;
  transition: box-shadow 0.3s ease;
  border: 1px solid var(--primary-hover);
}

.card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
.section-light {
  background-color: var(--light-100);
  padding: 60px 20px;
}

.section-accent {
  background-color: var(--accent-hover);
  color: var(--primary-inverse);
  padding: 60px 20px;
}

.section-with-shape-divider {
  position: relative;
  /* Add a min height so the background is visible */
  min-height: 600px; /* Adjust as needed */
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  /* Optional overlay to darken background */
  /* You can add a ::before pseudo if needed */
}


/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: #444444e0;
  font-weight: 600;
  margin-top: 0;
}

/* Blockquotes */
blockquote {
  background-color: #fff9f3;
  border-left: 5px solid var(--primary);
  padding: 15px 20px;
  margin: 20px 0;
  font-style: italic;
  color: #666;
}

/* Footer ID*/
#footer {
  background-color: #82c1bb;
  color: var(--default);
  text-align: center;
  padding: 30px 20px;
}

.footer-copyright{
  background-color: #82c1bb !important; 
  color: var(--default);
  text-align: center;
}
/* Base styles */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff9f3;
  color: #333;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: #333;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.logo {
  font-weight: bold;
  color: #1a3c34;
}

nav a {
  text-decoration: none;
  color: inherit;
  padding: 5px 10px;
  transition: border-bottom 0.2s ease;
}

nav a.active{
  text-decoration: underline;
  font-weight: bold;
}

.navbar nav a {
  margin-left: 20px;
  font-weight: 500;
}

/* Page title */
.page-title {
  text-align: center;
  margin: 60px 0 20px;
}

.page-title h1 {
  font-size: 36px;
  color: #333;
}

/* Services section */
.services {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto 80px;
}

.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 40px 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  padding: 20px;
  gap: 30px;
}

.service-row img {
  width: 35%;
  max-width: 300px;
  border-radius: 10px;
}

.service-text {
  flex: 1;
}

.service-text h2 {
  font-size: 24px;
  color: #1a3c34;
  margin-bottom: 12px;
}

.service-text p {
  font-size: 16px;
  line-height: 1.6;
}

/* Alternate layout for every other row */
.service-row.reverse {
  flex-direction: row-reverse;
}

/* Footer */
.footer {
  background-color: #fff;
  padding: 40px 20px;
  text-align: center;
  color: #888;
  border-top: 1px solid #eee;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-row,
  .service-row.reverse {
    flex-direction: column;
    text-align: center;
  }

  .service-row img {
    width: 100%;
  }

  .service-row.reverse {
    flex-direction: column;
  }
}

  .service-row {
    margin-bottom: 2rem;
  }

  .more-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease;
  }

  .more-content.open {
    max-height: 1000px; /* adjust if needed */
  }

  .service-text ul {
    padding-left: 1.2rem;
    margin-top: 0.5rem;
  }

  .btn-toggle {
    margin-top: 2rem;
    border: 1px solid #007bff;
    background-color: transparent;
    color: #007bff;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
  }

  .btn-toggle:hover {
    background-color: #007bff;
    color: white;
  }
  
  /* Make each owl item a flex container */
.owl-carousel .owl-item {
  display: flex;
  align-items: stretch;
}

/* Ensure inner container fills the height */
.owl-carousel .my-5 {
  display: flex;
  flex: 1;
}

/* Make thumb-info fill available space */
.thumb-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  height: 100%;
  min-height: 520px;
}

/* Optional: Equalize padding + prevent shrinking text from affecting height */
.thumb-info-caption {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.owl-carousel .owl-stage-outer {
  overflow: visible !important;
}

.owl-carousel .owl-item {
  display: flex;
}

.owl-carousel .my-5 {
  display: flex;
  flex: 1;
}

.thumb-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  height: 100%;
  min-height: 600px; /* <- change this based on how tall your tallest card is */
}

.owl-stage-outer {
  overflow: visible !important;
}

.thumb-info-wrapper {
  height: 220px; /* Make this match all cards */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.thumb-info-wrapper img {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 768px) {
  .thumb-info-wrapper {
    height: 150px;
  }
}

.owl-carousel .owl-item {
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.6;
  transform: scale(0.95);
}

.owl-carousel .owl-item.center {
  opacity: 1;
  transform: scale(1.05);
  z-index: 2;
}

.owl-carousel .thumb-info {
  transition: box-shadow 0.3s ease;
}

.owl-carousel .owl-item.center .thumb-info {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2); /* stronger shadow */
}

  div[data-plugin-float-element] {
    height: 85px !important;
    min-height: 0 !important;
  }

  .icon-animated {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    flex-shrink: 0;
  }
   /* Footer links */

   #footer a:hover {
       color: #ebebeb !important;
   }
    .footer-link-bottom a:hover {
      color: #fff !important;
    }
