/* Custom Header Styles with Gradient Line */
.section-header-with-line {
  position: relative;
  margin-bottom: 1.5rem;
  width: 100%;
}

.section-header-with-line .d-flex {
  align-items: center;
}

.section-header-with-line .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0b5345;
  position: relative;
  display: inline-block;
  margin-bottom: 0;
  white-space: nowrap;
}

.section-header-with-line .section-title .highlight {
  color: #0b5345;
  font-weight: 700;
}

.gradient-line {
  display: inline-block;
  height: 2px; /* Thinner line */
  background: linear-gradient(to right, #0b5345 0%, rgba(11, 83, 69, 0.1) 80%, transparent 100%);
  border-radius: 1px;
  margin-left: 15px;
  flex: 1;
}

/* Vision Quote Styles */
.vision-content {
  padding: 4rem 3rem;
  position: relative;
  color: white;
}

.vision-quote {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  z-index: 1;
}

.outline-quote {
  position: relative;
  width: 117px;
  height: 84px;
  /* Using data URI for the SVG (primary method) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='116.999' height='83.857' viewBox='0 0 116.999 83.857'%3E%3Cpath id='quote-right-svgrepo-com' d='M8.286,82.857H33.143L49.714,49.714V0H0V49.714H24.857Zm66.285,0H99.428L116,49.714V0H66.285V49.714H91.142Z' transform='translate(0.5 0.5)' fill='none' stroke='%238eb8c9' stroke-width='1'%3E%3C/path%3E%3C/svg%3E");
  /* Alternative for browsers that might have issues with the data URI */
  background-image: url('../img/quote-icon.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.vision-label {
  display: inline-block;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  border-bottom: 2px solid white;
  padding-bottom: 0.25rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.vision-title {
  font-size: 1.75rem;
  line-height: 1.5;
  /* font-weight: 400; */
  margin-bottom: 2rem;
}

.vision-read-more {
  display: inline-flex;
  align-items: center;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.vision-read-more:hover {
  opacity: 0.8;
  color: white;
}

.vision-read-more i {
  margin-left: 0.5rem;
}

/* Products Section Styles */
.products-section {
  background-color: #f9f9f9;
}

.product-category {
  margin-bottom: 2.5rem;
}

.category-title {
  font-size: 1.5rem;
  color: #0b5345;
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid rgba(11, 83, 69, 0.2);
  display: inline-block;
}

/* Product Category Sidebar */
.product-categories-sidebar {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  padding: 1.5rem;
  height: 100%;
}

.category-nav .nav-item {
  margin-bottom: 5px;
}

.category-nav .category-nav-link {
  color: #333;
  padding: 12px 15px;
  border-radius: 6px;
  text-align: left;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  font-weight: 500;
}

.category-nav .category-nav-link:hover {
  background-color: rgba(11, 83, 69, 0.08);
  border-left-color: #0b5345;
  color: #0b5345;
}

.category-nav .category-nav-link.active {
  background-color: rgba(11, 83, 69, 0.1);
  border-left-color: #0b5345;
  color: #0b5345;
  font-weight: 600;
}

/* Product Cards */
.product-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.product-image {
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-info {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.75rem;
}

/* Product Button Styles */
.btn-product-action {
  padding: 0.5rem 1.25rem;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-transform: capitalize;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-view-details {
  background: linear-gradient(135deg, #0b5345 0%, #107a65 100%);
  color: white !important;
  border: none;
  box-shadow: 0 2px 8px rgba(11, 83, 69, 0.3);
}

.btn-view-details:hover {
  background: linear-gradient(135deg, #107a65 0%, #0b5345 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11, 83, 69, 0.4);
}

.btn-view-all {
  background: white;
  color: #0b5345 !important;
  border: 2px solid #0b5345;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.btn-view-all:hover {
  background: rgba(11, 83, 69, 0.05);
  color: #0b5345 !important;
  border-color: #107a65;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.btn-view-all i,
.btn-view-details i {
  margin-left: 0.35rem;
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.btn-view-all:hover i,
.btn-view-details:hover i {
  transform: translateX(3px);
}

/* Activities Section Button Styles */
.btn-activity-read-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #0b5345 0%, #107a65 100%);
  color: white !important;
  padding: 10px 24px;
  border-radius: 50px;
  border: none;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.5px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(11, 83, 69, 0.3);
  z-index: 1;
}

.btn-activity-read-more::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(135deg, #107a65 0%, #0b5345 100%);
  transition: width 0.4s ease;
  z-index: -1;
  border-radius: 50px;
}

.btn-activity-read-more:hover {
  color: white !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(11, 83, 69, 0.4);
}

.btn-activity-read-more:hover::before {
  width: 100%;
}

.btn-activity-read-more i {
  margin-left: 8px;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.btn-activity-read-more:hover i {
  transform: translateX(5px);
}

/* Smaller button variation for cards */
.btn-activity-read-more.btn-sm {
  padding: 6px 16px;
  font-size: 13px;
}

.btn-activity-read-more.btn-sm i {
  font-size: 12px;
  margin-left: 5px;
}

/* RTL Support for Kurdish language */
html.ku-lang .btn-activity-read-more i {
  margin-left: 0;
  margin-right: 8px;
  transform: rotate(180deg);
}

html.ku-lang .btn-activity-read-more:hover i {
  transform: translateX(-5px) rotate(180deg);
}

html.ku-lang .btn-activity-read-more.btn-sm i {
  margin-left: 0;
  margin-right: 5px;
}

@media (max-width: 576px) {
  .btn-activity-read-more {
    padding: 8px 20px;
    font-size: 14px;
  }
}

/* Activity Date Display Styles */
.activity-date-display {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  position: relative;
}

.activity-date-display .date-icon {
  color: #0b5345;
  font-size: 1.1rem;
  margin-right: 8px;
}

.activity-date-display .date-text {
  font-size: 0.9rem;
  color: #666;
  position: relative;
  padding-left: 10px;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.activity-date-display .date-text::before {
  content: "";
  position: absolute;
  height: 2px;
  width: 25px;
  background: linear-gradient(90deg, #0b5345, transparent);
  left: -25px;
  top: 50%;
  transform: translateY(-50%);
}

/* Enhanced Date Badge Styles */
.activity-date-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(11, 83, 69, 0.9);
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.activity-date-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.activity-date-badge .day {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 2px;
}

.activity-date-badge .month {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.activity-date-small-display {
  /* background: linear-gradient(135deg, #0b5345 0%, #107a65 100%); */
  color: rgb(0, 0, 0);
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 10px;
  /* box-shadow: 0 3px 10px rgba(11, 83, 69, 0.2); */
  font-weight: 500;
}

.activity-date-small-display i {
  margin-right: 5px;
  font-size: 0.8rem;
}

.activity-date.small-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(11, 83, 69, 0.85);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* RTL Support */
html.ku-lang .activity-date-display .date-icon {
  margin-right: 0;
  margin-left: 8px;
}

html.ku-lang .activity-date-display .date-text {
  padding-left: 0;
  padding-right: 10px;
}

html.ku-lang .activity-date-display .date-text::before {
  left: auto;
  right: -25px;
  background: linear-gradient(90deg, transparent, #0b5345);
}

html.ku-lang .activity-date-small-display i {
  margin-right: 0;
  margin-left: 5px;
}

html.ku-lang .activity-date-badge {
  left: auto;
  right: 20px;
}

html.ku-lang .activity-date.small-badge {
  right: auto;
  left: 10px;
}

@media (max-width: 767px) {
  .activity-date-badge {
    padding: 8px 12px;
    bottom: 15px;
    left: 15px;
  }

  .activity-date-badge .day {
    font-size: 1.5rem;
  }

  .activity-date-badge .month {
    font-size: 0.8rem;
  }
}

/* Footer Styles */

.footer-section {
    background: linear-gradient(135deg, #0b5345 0%, #107a65 100%);
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    overflow: hidden;
}

/* Kurdish RTL footer gradient direction override */
html.ku-lang .footer-section {
    background: linear-gradient(225deg, #0b5345 0%, #107a65 100%);
}



.footer-section::before
{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(100px, -150px);
    z-index: 1;
}

.footer-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50px, 50px);
    z-index: 1;
}

.footer-top {
    position: relative;
    z-index: 2;
    padding: 70px 0 50px;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

        /* .footer-logo-container {
            max-width: 150px;
            background: rgba(255, 255, 255, 0.1);
            padding: 15px;
            border-radius: 10px;
        } */

        .footer-logo {
            max-width: 100%;
            height: auto;
        }

        .footer-about-text {
            margin-bottom: 25px;
            font-size: 0.95rem;
            line-height: 1.7;
        }

        .footer-social {
            display: flex;
            gap: 15px;
        }

        .social-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            border-radius: 50%;
            transition: all 0.3s ease;
            font-size: 1.2rem;
        }

        .social-icon:hover {
            background: white;
            color: #0b5345;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .footer-title {
            color: white;
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 12px;
        }

        .footer-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 2px;
            background: rgba(255, 255, 255, 0.5);
            border-radius: 1px;
        }

        .footer-links,
        .footer-contact-info {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.85);
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
            padding-left: 15px;
            display: inline-block;
        }

        .footer-links a::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 6px;
            height: 6px;
            background: rgba(255, 255, 255, 0.5);
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .footer-links a:hover {
            color: white;
            transform: translateX(5px);
        }

        .footer-links a:hover::before {
            background: white;
        }

        .footer-contact-info li {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
            align-items: flex-start;
        }

        .footer-contact-info i {
            color: rgba(255, 255, 255, 0.7);
            font-size: 1.1rem;
            margin-top: 3px;
        }

        .footer-contact-info span {
            flex: 1;
            line-height: 1.5;
        }

        .copyright-text {
            margin: 0;
            font-size: 0.9rem;
        }

        .footer-bottom-links a {
            color: rgba(255, 255, 255, 0.85);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s ease;
        }

        .footer-bottom-links a:hover {
            color: white;
        }

        .link-divider {
            color: rgba(255, 255, 255, 0.4);
            margin: 0 10px;
        }

        /* RTL Support for Kurdish */
        html.ku-lang .footer-links a {
            padding-left: 0;
            padding-right: 15px;
        }

        html.ku-lang .footer-links a::before {
            left: auto;
            right: 0;
        }

        html.ku-lang .footer-links a:hover {
            transform: translateX(-5px);
        }

        html.ku-lang .footer-title::after {
            left: auto;
            right: 0;
        }

        /* Responsive */
        @media (max-width: 991px) {
            .footer-top {
                padding: 50px 0 30px;
            }
        }

        @media (max-width: 767px) {
            .footer-bottom {
                padding: 20px 0;
            }

            .copyright-text {
                margin-bottom: 15px;
            }
        }

/* RTL support for Kurdish language */
.ku-lang .footer-links li {
  padding-left: 0;
  padding-right: 0.5rem;
}

.ku-lang .footer-links li:hover {
  padding-left: 0;
  padding-right: 0.75rem;
}

.ku-lang .footer-links li::before {
  left: auto;
  right: 0;
}

.ku-lang .footer-contact-info li i {
  margin-right: 0;
  margin-left: 10px;
}

@media (max-width: 767px) {
  .footer-top {
    padding: 3rem 0 1.5rem;
  }

  .footer-widget {
    margin-bottom: 2rem;
  }

  .footer-bottom {
    text-align: center;
  }

  .copyright-text,
  .footer-bottom-links {
    text-align: center !important;
    margin-bottom: 1rem;
  }
}
