/* 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;
  }
}

/* =======================
   WELCOME PAGE STYLES
   ======================= */

/* Hero Section Styles */
.hero-section {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 600px;
    max-height: 800px;
    overflow: hidden;
    margin-bottom: 2rem;
}

/* Video Styles */
.video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Carousel Styles */
.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

#mainSlider {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.carousel-inner {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.carousel-item {
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Single Image Styles */
.single-image-container {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Placeholder Styles */
.placeholder-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0b5345 0%, #148f7a 100%);
    border-radius: 12px;
    color: white;
    text-align: center;
}

.placeholder-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.placeholder-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 4px;
    background-color: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.carousel-indicators .active {
    background-color: rgba(255, 255, 255, 1);
}

/* Product Section Styles */
.product-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
    position: relative;
}

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

.product-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    transition: transform 0.3s ease;
    border-radius: 8px;
    max-width: calc(100% - 20px);
    max-height: calc(100% - 20px);
}

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

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: #2c3e50;
    line-height: 1.4;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Category Navigation Styles */
.product-categories-sidebar .nav-link {
    border: none;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    padding: 0.75rem 1rem;
    color: #6c757d;
    background: #f8f9fa;
    transition: all 0.3s ease;
    text-align: center;
}

.product-categories-sidebar .nav-link.active,
.product-categories-sidebar .nav-link:hover {
    background: linear-gradient(135deg, #0b5345 0%, #148f7a 100%);
    color: white;
    transform: translateX(5px);
}

/* Hero Section Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 50vh;
        min-height: 300px;
        max-height: 400px;
        margin-bottom: 1.5rem;
    }

    .video-wrapper,
    #mainSlider,
    .single-image-container {
        border-radius: 8px;
    }

    .hero-video,
    .hero-image {
        border-radius: 8px;
    }

    .placeholder-content h2 {
        font-size: 1.8rem;
    }

    .placeholder-content p {
        font-size: 1rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 8%;
    }

    .carousel-indicators {
        bottom: 15px;
    }

    .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }

    /* Product responsive adjustments */
    .product-image {
        height: 180px;
        padding: 12px;
    }

    .product-info {
        padding: 1.2rem;
    }

    .product-name {
        font-size: 1rem;
        margin-bottom: 1rem;
        min-height: 45px;
    }

    .btn-product-action {
        padding: 0.65rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 40vh;
        min-height: 250px;
        max-height: 350px;
        margin-bottom: 1rem;
    }

    .video-wrapper,
    #mainSlider,
    .single-image-container {
        border-radius: 6px;
    }

    .hero-video,
    .hero-image {
        border-radius: 6px;
    }

    .placeholder-content h2 {
        font-size: 1.5rem;
    }

    .placeholder-content p {
        font-size: 0.9rem;
    }

    .product-image {
        height: 160px;
        padding: 10px;
    }

    .product-info {
        padding: 1rem;
    }

    .product-name {
        font-size: 0.95rem;
        min-height: 40px;
    }

    .btn-product-action {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* RTL Support for Hero Section */
html[dir="rtl"] .carousel-control-prev {
    right: 0;
    left: auto;
}

html[dir="rtl"] .carousel-control-next {
    left: 0;
    right: auto;
}

html[dir="rtl"] .carousel-control-prev-icon {
    transform: rotate(180deg);
}

html[dir="rtl"] .carousel-control-next-icon {
    transform: rotate(180deg);
}

/* =======================
   HEADER & NAVBAR STYLES
   ======================= */

/* Mobile Navbar Styles */
#mobileNavbar {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    padding: 8px 0;
}

#mobileNavbar.transparent {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#mobileNavbar.scrolled {
    background: white !important;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#mobileNavbar .navbar-logo {
    max-height: 35px;
    width: auto;
}

#mobileNavbar .navbar-toggler-container {
    display: flex;
    align-items: center;
    padding-right: 0px;
    margin-right: -4px;
}

#mobileNavbar .navbar-toggler {
    padding: 6px;
    border-radius: 4px;
    margin: 0;
    margin-right: 4px;
}

#mobileNavbar .form-select-sm {
    font-size: 11px !important;
    padding: 3px 5px !important;
    min-width: 45px !important;
    max-width: 45px !important;
    background-image: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

#mobileNavbar .navbar-toggler:focus {
    box-shadow: none;
}

/* RTL support for mobile navbar */
#mobileNavbar.rtl-navbar .container-fluid {
    direction: rtl;
}

#mobileNavbar.rtl-navbar .mobile-navbar-rtl {
    flex-direction: row-reverse !important;
}

#mobileNavbar.rtl-navbar .navbar-toggler-container {
    padding-left: 0px !important;
    padding-right: 0 !important;
    margin-left: -8px !important;
    margin-right: 0 !important;
}

#mobileNavbar.rtl-navbar .navbar-toggler {
    margin-left: 8px !important;
    margin-right: 0 !important;
}

#mobileNavbar.rtl-navbar .form-select-sm {
    direction: rtl;
}

/* Flexbox order support for RTL layout */
.order-1 {
    order: 1 !important;
}

.order-2 {
    order: 2 !important;
}

/* Mobile divider styling */
.custom-mobile-divider {
    border-left: 1px solid #fff !important;
    height: 30px;
    margin: 0 4px;
    opacity: 0.7;
    align-self: stretch;
}

#mobileNavbar.scrolled .custom-mobile-divider {
    border-left: 1px solid rgba(0, 0, 0, 0.2) !important;
    opacity: 0.6;
}

/* RTL adjustments for smaller navbar */
#mobileNavbar.rtl-navbar .navbar-toggler-container {
    padding-left: 0px !important;
    padding-right: 0 !important;
    margin-left: -4px !important;
    margin-right: 0 !important;
}

#mobileNavbar.rtl-navbar .navbar-toggler {
    margin-left: 4px !important;
    margin-right: 0 !important;
}

/* Desktop Navbar Styles */
#mainNavbar .container-fluid {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0 !important;
}

#mainNavbar .navbar-nav {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

#mainNavbar .nav-item {
    display: flex;
    align-items: center;
}

#mainNavbar .vr.custom-navbar-divider {
    border-left: 1px solid #fff !important;
    height: 100%;
    margin: 0 8px;
    opacity: 0.7;
    min-height: 48px;
    max-height: 60px;
    align-self: stretch;
}

.menu-toggle-btn.custom-navbar-toggle {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 6px;
    border: none;
    background: rgba(255,255,255,0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.menu-toggle-btn.custom-navbar-toggle span {
    display: block;
    width: 22px;
    height: 3px;
    margin: 2.5px 0;
    background: #222;
    border-radius: 2px;
    transition: all 0.2s;
}

.menu-toggle-btn.custom-navbar-toggle:active,
.menu-toggle-btn.custom-navbar-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 2px #eee;
}

#mainNavbar .nav-link {
    font-size: 1rem;
    padding: 0.5rem 0.9rem;
}

#mainNavbar.scrolled .vr.custom-navbar-divider {
    border-left: 1px solid #222 !important;
    background: #222;
    opacity: 0.7;
}

#mainNavbar.scrolled .menu-toggle-btn.custom-navbar-toggle span {
    background: #222 !important;
}

/* Footer logo styles */
footer .footer-logo-container {
    max-width: 180px;
    padding: 10px !important;
    display: inline-block;
    margin-bottom: 1.5rem !important;
}

footer .footer-logo {
    max-width: 100%;
    height: auto;
    filter: none !important;
}

/* Bottom right logo styling */
.bottom-right-logo {
    position: absolute;
    bottom: 20px;
    right: 0;
    width: 450px;
    height: 450px;
    display: block;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    z-index: 10;
    opacity: 0.2;
}

html[dir="rtl"] .bottom-right-logo {
    left: 0;
    right: auto;
    background-position: left bottom;
}

.footer-section {
    position: relative;
    overflow: hidden;
}

/* Responsive adjustments for bottom right logo */
@media (max-width: 768px) {
    .bottom-right-logo {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 576px) {
    .bottom-right-logo {
        width: 80px;
        height: 80px;
    }
}

/* Language select fixes */
.form-select-sm {
    overflow: hidden !important;
    padding-right: 24px !important;
    background-image: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.form-select option {
    font-size: 14px;
}

/* Kurdish font styling */
.ku-text {
    font-family: 'Rabar_013', 'NRT', 'Rudaw', 'Kurdish', sans-serif !important;
}

.ku-select option[value="ku"] {
    font-family: 'Rabar_013', 'NRT', 'Rudaw', 'Kurdish', sans-serif !important;
}

html.ku-lang .ku-select {
    min-width: 80px !important;
}

/* Fullscreen menu language select */
.fullscreen-select {
    background-image: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* Fullscreen Menu Styles */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(11, 83, 69, 0.95), rgba(20, 143, 122, 0.95));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
}

.fullscreen-menu.active {
    opacity: 1;
    visibility: visible;
}

.fullscreen-menu-container {
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.close-btn {
    position: fixed !important;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.2) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 99999 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    transform: rotate(90deg) scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
}

.menu-sections-container {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    align-content: start;
}

.menu-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease;
    position: relative;
    overflow: visible;
}

.menu-section:hover {
    background: rgba(255, 255, 255, 0.15);
}

.section-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

/* .section-title:hover {
    color: #f0f0f0;
} */

/* .section-title::after {
    content: '\f282';
    font-family: "bootstrap-icons";
    font-size: 1rem;
    transition: transform 0.3s ease;
} */

.section-title.active::after {
    transform: rotate(180deg);
}

.section-links {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    transform-origin: top;
}

.section-links.active {
    max-height: 300px;
    margin-top: 1rem;
    transition: max-height 0.4s ease-in;
}

.section-links li {
    margin-bottom: 0.75rem;
}

.section-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: block;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.section-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-left-color: rgba(255, 255, 255, 0.6);
    transform: translateX(5px);
}

.fullscreen-menu-language {
    text-align: center;
    grid-column: 1 / -1;
    margin-top: 2rem;
}

/* Mobile-specific fullscreen menu styles */
@media (max-width: 768px) {
    .fullscreen-menu-container {
        padding: 1rem;
    }

    .close-btn {
        position: fixed !important;
        top: 1rem !important;
        right: 1rem !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 1.3rem !important;
        background: rgba(255, 255, 255, 0.25) !important;
        border: 2px solid rgba(255, 255, 255, 0.5) !important;
        z-index: 99999 !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    }

    .menu-sections-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 3rem;
    }

    .menu-section {
        padding: 1rem;
        border-radius: 12px;
    }

    .section-title {
        font-size: 1.1rem;
        margin-bottom: 0;
    }

    .section-links a {
        font-size: 0.95rem;
        padding: 0.4rem 0.8rem;
    }

    .section-links.active {
        max-height: 250px;
        margin-top: 0.75rem;
        transition: max-height 0.4s ease-in;
    }

    .fullscreen-menu-language {
        margin-top: 1.5rem;
    }
}

@media (max-width: 576px) {
    .fullscreen-menu-container {
        padding: 0.75rem;
    }

    .close-btn {
        position: fixed !important;
        top: 0.75rem !important;
        right: 0.75rem !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 1.2rem !important;
        background: rgba(255, 255, 255, 0.3) !important;
        border: 2px solid rgba(255, 255, 255, 0.6) !important;
        z-index: 99999 !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
    }

    .menu-sections-container {
        gap: 0.75rem;
        margin-top: 2.5rem;
    }

    .menu-section {
        padding: 0.75rem;
        border-radius: 10px;
    }

    .section-title {
        font-size: 1rem;
    }

    .section-links a {
        font-size: 0.9rem;
        padding: 0.35rem 0.6rem;
    }

    .section-links.active {
        max-height: 200px;
        transition: max-height 0.4s ease-in;
    }

    /* RTL positioning for very small screens */
    html[dir="rtl"] .close-btn {
        left: 0.75rem !important;
        right: auto !important;
    }
}

/* RTL Support for fullscreen menu */
html[dir="rtl"] .close-btn {
    right: auto !important;
    left: 2rem !important;
}

html[dir="rtl"] .section-links a {
    border-left: none;
    border-right: 3px solid transparent;
}

html[dir="rtl"] .section-links a:hover {
    border-right-color: rgba(255, 255, 255, 0.6);
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    html[dir="rtl"] .close-btn {
        left: 1rem !important;
        right: auto !important;
    }
}

/* ================================================================
   ADDITIONAL HEADER & FOOTER STYLES (from header_footer.blade.php)
   ================================================================ */

/* Additional Mobile Navbar Styles */
#mobileNavbar {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    padding: 8px 0; /* Reduce navbar height */
}

#mobileNavbar.transparent {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#mobileNavbar.scrolled {
    background: white !important;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#mobileNavbar .navbar-logo {
    max-height: 35px; /* Smaller logo */
    width: auto;
}

#mobileNavbar .navbar-brand-container {
    /* flex: 0 0 auto; */
}

#mobileNavbar .navbar-toggler-container {
    /* flex: 0 0 auto; */
    display: flex;
    align-items: center;
    padding-right: 0px; /* Remove padding to prevent overflow */
    margin-right: -4px; /* Pull back from edge slightly - reduced */
}

#mobileNavbar .navbar-toggler {
    padding: 6px; /* Smaller padding */
    /* background: rgba(0, 0, 0, 0.1); */
    border-radius: 4px; /* Smaller border radius */
    margin: 0;
    margin-right: 4px; /* Smaller margin */
}

#mobileNavbar .form-select-sm {
    font-size: 11px !important; /* Smaller font */
    padding: 3px 5px !important; /* Smaller padding */
    min-width: 45px !important; /* Smaller width */
    max-width: 45px !important;
    /* background: rgba(0, 0, 0, 0.05) !important; */
    /* border-radius: 4px !important; */
    /* margin-left: 20px !important; */
    background-image: none !important; /* Remove dropdown arrow */
    -webkit-appearance: none !important; /* Remove default styling */
    -moz-appearance: none !important; /* Remove default styling */
    appearance: none !important; /* Remove default styling */
}

#mobileNavbar .navbar-toggler:focus {
    box-shadow: none;
}

/* RTL support for mobile navbar */
#mobileNavbar.rtl-navbar .container-fluid {
    direction: rtl;
}

#mobileNavbar.rtl-navbar .mobile-navbar-rtl {
    flex-direction: row-reverse !important;
}

#mobileNavbar.rtl-navbar .navbar-toggler-container {
    padding-left: 0px !important;
    padding-right: 0 !important;
    margin-left: -8px !important;
    margin-right: 0 !important;
}

#mobileNavbar.rtl-navbar .navbar-toggler {
    margin-left: 8px !important;
    margin-right: 0 !important;
}

/* Ensure language dropdown appears correctly in RTL */
#mobileNavbar.rtl-navbar .form-select-sm {
    direction: rtl;
}

/* Flexbox order support for RTL layout */
.order-1 {
    order: 1 !important;
}

.order-2 {
    order: 2 !important;
}

/* Mobile divider styling */
.custom-mobile-divider {
    border-left: 1px solid #fff !important; /* Changed from 2px to 1px to make it thinner */
    height: 30px; /* Smaller height */
    margin: 0 4px; /* Smaller margins */
    opacity: 0.7;
    align-self: stretch;
}

/* Mobile divider for scrolled state */
#mobileNavbar.scrolled .custom-mobile-divider {
    border-left: 1px solid rgba(0, 0, 0, 0.2) !important;
    opacity: 0.6;
}

/* RTL adjustments for smaller navbar */
#mobileNavbar.rtl-navbar .navbar-toggler-container {
    padding-left: 0px !important;
    padding-right: 0 !important;
    margin-left: -4px !important; /* Smaller margin for RTL */
    margin-right: 0 !important;
}

#mobileNavbar.rtl-navbar .navbar-toggler {
    margin-left: 4px !important; /* Smaller margin for RTL */
    margin-right: 0 !important;
}

/* Additional Desktop Navbar Styles */
#mainNavbar .container-fluid {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0 !important;
}
#mainNavbar .navbar-nav {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
}
#mainNavbar .nav-item {
    display: flex;
    align-items: center;
}

#mainNavbar .vr.custom-navbar-divider {
    border-left: 1px solid #fff !important; /* Changed from 2px to 1px to make it thinner */
    height: 100%;
    margin: 0 8px;
    opacity: 0.7; /* Reduced opacity to make it more delicate */
    min-height: 48px;
    max-height: 60px;
    align-self: stretch;
}
.menu-toggle-btn.custom-navbar-toggle {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 6px;
    border: none;
    background: rgba(255,255,255,0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.menu-toggle-btn.custom-navbar-toggle span {
    display: block;
    width: 22px;
    height: 3px;
    margin: 2.5px 0;
    background: #222;
    border-radius: 2px;
    transition: all 0.2s;
}
.menu-toggle-btn.custom-navbar-toggle:active,
.menu-toggle-btn.custom-navbar-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 2px #eee;
}
#mainNavbar .nav-link {
    font-size: 1rem;
    padding: 0.5rem 0.9rem;
}

#mainNavbar.scrolled .vr.custom-navbar-divider {
    border-left: 1px solid #222 !important; /* Changed from 2px to 1px to make it thinner */
    background: #222;
    opacity: 0.7; /* Reduced opacity to make it more delicate */
}

#mainNavbar.scrolled .menu-toggle-btn.custom-navbar-toggle span {
    background: #222 !important;
}

/* Additional Footer logo styles */
footer .footer-logo-container {
    max-width: 180px; /* Slightly larger max-width */
    /* background: white !important;  */
    padding: 10px !important; /* Add padding for breathing room */
    /* border-radius: 8px !important; */
    display: inline-block;
    margin-bottom: 1.5rem !important; /* Keep good spacing after the logo */
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;  */

}

footer .footer-logo {
    max-width: 100%;
    height: auto;
    filter: none !important; /* Remove brightness filter, using white background instead */
}

/* Bottom right logo styling */
.bottom-right-logo {
    position: absolute;
    bottom: 20px;
    right: 0;
    width: 450px;
    height: 450px;
    display: block;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    z-index: 10;
    opacity: 0.2;
}

/* Use Kurdish logo when in Kurdish language */
.bottom-right-logo-ku {
    /* Kurdish logo will be handled via dynamic background-image */
}

/* RTL specific positioning */
html[dir="rtl"] .bottom-right-logo {
    left: 0;
    right: auto;
    background-position: left bottom;
}

/* Make sure the footer has position relative for absolute positioning */
.footer-section {
    position: relative;
    overflow: hidden;
}

/* Responsive adjustments for bottom right logo */
@media (max-width: 768px) {
    .bottom-right-logo {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 576px) {
    .bottom-right-logo {
        width: 80px;
        height: 80px;
    }
}

/* Additional Fix for language select scrollbar issue */
.form-select-sm {
    overflow: hidden !important;
    padding-right: 24px !important;
    background-image: none !important; /* Remove dropdown arrow */
    -webkit-appearance: none !important; /* Remove default styling */
    -moz-appearance: none !important; /* Remove default styling */
    appearance: none !important; /* Remove default styling */
}

.form-select option {
    font-size: 14px;
}

/* Additional Kurdish font styling */
.ku-text {
    font-family: 'Rabar_013', 'NRT', 'Rudaw', 'Kurdish', sans-serif !important;
}

.ku-select option[value="ku"] {
    font-family: 'Rabar_013', 'NRT', 'Rudaw', 'Kurdish', sans-serif !important;
}

/* Only apply larger min-width when Kurdish is selected to avoid scrollbar */
html.ku-lang .ku-select {
    min-width: 80px !important;
}

/* Additional Fullscreen menu language select */
.fullscreen-select {
    background-image: none !important; /* Remove dropdown arrow */
    -webkit-appearance: none !important; /* Remove default styling */
    -moz-appearance: none !important; /* Remove default styling */
    appearance: none !important; /* Remove default styling */
}

/* Additional Fullscreen Menu Styles */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(11, 83, 69, 0.95), rgba(20, 143, 122, 0.95));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
}

.fullscreen-menu.active {
    opacity: 1;
    visibility: visible;
}

.fullscreen-menu-container {
    top: 5%;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.close-btn {
    position: fixed !important;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.2) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 99999 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    transform: rotate(90deg) scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
}

.menu-sections-container {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    align-content: start;
}

.menu-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease;
    position: relative;
    overflow: visible;
}

.menu-section:hover {
    background: rgba(255, 255, 255, 0.15);
}

.section-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

/* .section-title:hover {
    color: #f0f0f0;
} */

/* .section-title::after {
    content: '\f282';
    font-family: "bootstrap-icons";
    font-size: 1rem;
    transition: transform 0.3s ease;
} */

.section-title.active::after {
    transform: rotate(180deg);
}

.section-links {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    transform-origin: top;
}

.section-links.active {
    max-height: 300px;
    margin-top: 1rem;
    transition: max-height 0.4s ease-in;
}

.section-links li {
    margin-bottom: 0.75rem;
}

.section-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: block;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.section-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-left-color: rgba(255, 255, 255, 0.6);
    transform: translateX(5px);
}

.fullscreen-menu-language {
    text-align: center;
    grid-column: 1 / -1;
    margin-top: 2rem;
}

/* Additional Mobile-specific styles */
@media (max-width: 768px) {
    .fullscreen-menu-container {
        padding: 1rem;
    }

    .close-btn {
        position: fixed !important;
        top: 1rem !important;
        right: 1rem !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 1.3rem !important;
        background: rgba(255, 255, 255, 0.25) !important;
        border: 2px solid rgba(255, 255, 255, 0.5) !important;
        z-index: 99999 !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    }

    .menu-sections-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 3rem;
    }

    .menu-section {
        padding: 1rem;
        border-radius: 12px;
    }

    .section-title {
        font-size: 1.1rem;
        margin-bottom: 0;
    }

    .section-links a {
        font-size: 0.95rem;
        padding: 0.4rem 0.8rem;
    }

    .section-links.active {
        max-height: 250px;
        margin-top: 0.75rem;
        transition: max-height 0.4s ease-in;
    }

    .fullscreen-menu-language {
        margin-top: 1.5rem;
    }
}

@media (max-width: 576px) {
    .fullscreen-menu-container {
        padding: 0.75rem;
    }

    .close-btn {
        position: fixed !important;
        top: 0.75rem !important;
        right: 0.75rem !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 1.2rem !important;
        background: rgba(255, 255, 255, 0.3) !important;
        border: 2px solid rgba(255, 255, 255, 0.6) !important;
        z-index: 99999 !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
    }

    .menu-sections-container {
        gap: 0.75rem;
        margin-top: 2.5rem;
    }

    .menu-section {
        padding: 0.75rem;
        border-radius: 10px;
    }

    .section-title {
        font-size: 1rem;
    }

    .section-links a {
        font-size: 0.9rem;
        padding: 0.35rem 0.6rem;
    }

    .section-links.active {
        max-height: 200px;
        transition: max-height 0.4s ease-in;
    }

    /* RTL positioning for very small screens */
    html[dir="rtl"] .close-btn {
        left: 0.75rem !important;
        right: auto !important;
    }
}

/* Additional RTL Support for fullscreen menu */
html[dir="rtl"] .close-btn {
    right: auto !important;
    left: 2rem !important;
}

html[dir="rtl"] .section-links a {
    border-left: none;
    border-right: 3px solid transparent;
}

html[dir="rtl"] .section-links a:hover {
    border-right-color: rgba(255, 255, 255, 0.6);
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    html[dir="rtl"] .close-btn {
        left: 1rem !important;
        right: auto !important;
    }
}

/* ================================================================
   END OF ADDITIONAL HEADER & FOOTER STYLES
   ================================================================ */
