/* ---- COLORS ---- */
:root {
  --primary-color: #0088CC;   
  --secondary-color: #2c3e50; 
  --accent-color: #3498db;
  --light-bg: #f8f9fa;
  --dark-text: #444;
  --muted-text: #6c757d;
  --light-text:#777;
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #0D47A1;
    margin-bottom: 15px;
}

p {
    font-size: 16px;
    /* color: #444; */
    margin-bottom: 15px;
    letter-spacing: normal;
    line-height: normal;
}

/* ---- LINKS & BUTTONS ---- */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

#header .header-nav-main .nav li a.nav-link{
  color: var(--dark-text);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.text-muted-light{
  color: var(--light-text);
}

.banner-overlay {
    background: rgba(0, 0, 0, 0.6); /* semi-transparent black */
    border-radius: 8px;             /* optional rounded corners */
    display: inline-block;
}

/* Ensure text inside is readable */
.banner-overlay h1,
.banner-overlay h2,
.banner-overlay p {
    color: #fff !important;
}

.border-dark{border-color: #d3d3d3 !important;}

.gen-info *{color:var(--secondary-color)}


.truncate-2-lines {
  display: -webkit-box;
  -webkit-line-clamp: 2;       /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.7;            /* Your specified line height */
  height: calc(1.7em * 2.1); /* Optional: ensures height matches 2 lines */
  }
  
  .carousel-head{
    height: 40px;
    overflow: hidden;
  }

.shop .product .product-thumb-info{background: #F7F9FC !important;}
.head-height{min-height: 50px;}


.child-brands .card-text {
  /* line-height: 1.4;
  font-size: 1.1rem; */
  text-align: left;
  margin: 0;
  padding: 10px 0;
}

.read-more{
  font-size: .8em !important;
}


.equal-cards-section .logo-equal {
  height: 70px;
  object-fit: contain;
  max-width: 100%;
}

.equal-cards-section .card {
  border-radius: 0 !important;
}

.sticky-header-active .header-body.border-top-0{
  box-shadow: var(--bs-box-shadow) !important;
}


.child-brands{
  /* background: linear-gradient(to bottom, #ffffff 0%,#e2e2e4 100%); */
  background: #eef0f4;
}

.child-brands .card-body{
  padding: .75rem;
}

.custom-drop-caps .custom-drop-caps-number {
  font-weight: bold;
  float: left;
  font-size: 90px;
  line-height: 90px;
  padding: 0;
  margin-right: 15px;
  margin-top: 0;
}
.negative-ls-1, .n-ls-1 {
  letter-spacing: -1px;
}

.custom-vr-1 {
  width: 6px;
  height: 70px;
}
.opacity-10 {
  opacity: 1 !important;
}

.team-bg{
  background: #fceed5;
  /* background: linear-gradient(to right, #e6ba2c 21%, #dc4f44 100%); 
  background: linear-gradient(to right, rgba(230,186,44,0.8) 0%,rgba(230,186,44,0.8) 19%,rgba(220,79,68,0.8) 100%);*/
}

.news-head{
  font-size: 20px;
}

.featured-products{
  background: #eef0f4;
}

.contact-list i{
  font-size: 1em !important;
  line-height: 1.4 !important;
}

.contact-list p, .contact-list a{
  font-size: 14px;
}

.contact-list a:hover{
  color: var(--accent-color) !important;
}


.quick-links a{
  font-size: 14px;
}

.quick-links a:hover{
  color: #fff !important;
}


.quick-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 8px 20px; /* spacing between items */
    padding: 0;
    margin: 0;
    list-style: none;
}

.quick-links li {
    display: flex;
    align-items: center;
}

.quick-links i {
    margin-right: 6px;
    color: var(--bs-primary, #007bff); 
}


.category-box {
      position: relative;
      overflow: hidden;
      /* border-radius: 12px;
      box-shadow: 0 4px 14px rgba(0,0,0,0.12); */
      height: 300px;
      background: #fff;
      transition: transform .25s ease;
    }
    /* .category-box:hover { transform: translateY(-4px); } */

    .category-title {
      position: absolute;
      /* top: 8px;
      left: 8px; */
      bottom:8px;
      background: rgba(0,0,0,.6);
      color: #fff;
      padding: 6px 12px;
      border-radius: 9999px;
      font-weight: 600;
      font-size: .95rem;
      z-index: 3;
      user-select: none;
      width: -webkit-fill-available;
      margin: 0 10px;
    }

    .category-box img {
      width: 100%;
      height: 300px;
      object-fit: cover;
      display: block;
    }

    .carousel.carousel-blur .carousel-item {
      opacity: 0;
      transition: opacity .6s ease, filter .6s ease;
      filter: blur(10px);
    }
    .carousel.carousel-blur .carousel-item.active {
      opacity: 1;
      filter: blur(0);
    }


    .mini-indicators {
      position: absolute;
      left: auto;
      right: 10px;
      bottom: 14px;
      /* transform: translateX(-50%); */
      margin: 0;
      z-index: 3;
      gap: 6px;
    }
    .mini-indicators [data-bs-target] {
      width: 8px; height: 8px;
      border-radius: 9999px;
      background-color: rgba(255,255,255,.55);
      border: 0;
    }
    .mini-indicators .active {
      background-color: #fff;
    }


.custom-svg-fill-color-tertiary{
  fill: #0281d7;
}

.custom-border-radius-1 {
    border-radius: 0.5rem !important;
}

.form-control:not(.form-control-sm):not(.form-control-lg) {
    font-size: 13.6px;
    font-size: 0.85rem;
    line-height: 1.85;
    border-radius:50px;
}
.custom-form-style-1 .form-control {
    height: calc(1.8em + 1.85rem + 2px);
    padding: 15.6px 20px;
    padding: 0.975rem 1.25rem;
    background: var(--grey-100);
    border-color: var(--grey-100);
    line-height: 1.5 !important;
    background: var(--grey-200) !important;
}
.form-control:not(.form-control-lg) {
    font-size: 12px;
    font-size: 0.75rem;
    line-height: 1.3;
}

.form-control {
  margin-top: 10px;
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.customHighlightAnim:after {
    animation-name: customHighlightAnim;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

.text-10-2{
  font-size: 2.2em !important;
}

.custom-line {
    display: inline-block;
    width: 50px;
    border-bottom: 3px solid var(--grey-500);
}

.custom-line {
    border-bottom-color: var(--primary);
}
.customLineAnimation {
    animation-name: customLineAnimation;
}

.featured-menu{
  background: var(--accent-color);
  border-radius: 5px;
  margin: 1rem 0;
}

.featured-menu a{
  color: #fff;
  padding:12px !important;
}

.featured-menu a:hover, .featured-menu a:focus{
  background-color: var(--primary) !important;
  color: #fff;
}

.featured-menu .nav-link {
  position: relative;
}

.featured-menu .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--primary);
}

#map {
  min-height: 250px; /* Set map height */
  width: 100%;
  border: solid 10px #fff;
}

.footer-list li i, .footer-list li a, .footer-list li p{
  color: #fff !important;
}

.counter-section{
  padding: 2.4rem 0;
  background: var(--primary);
}

@keyframes customLineAnimation {
    0% {
        width: 0px;
        opacity: 1;
    }
    100% {
        width: 50px;
        opacity: 1;
    }
}


.news-head{
  font-size: 17px;
  letter-spacing: .2px;
}


span.thumb-info-title {
    padding: 10px;
    display: block;
    color: #666;
    background: #fff;
}
span.thumb-info-inner {
    /* display: block; */
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    display: -webkit-box;
  -webkit-line-clamp: 1;       /* Number of lines to show */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
span.thumb-info-type {
    text-align: center;
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}


@media (max-width: 1199px) {
  .equal-cards-section .card.border-start,
  .equal-cards-section .card.border-end {
    border: none !important;
  }
  .custom-cards.custom-cards-slider .cards-container {
    margin: -230px auto 0;
    box-shadow: none !important;
  }
  .card-shadow {
    box-shadow: var(--bs-box-shadow) !important;
    margin-bottom: 20px;
  }

  .equal-cards-section .card {
    height: auto !important;
    display: block !important;
    /* margin-bottom: 20px;
    padding: 20px; */
  }

  .equal-cards-section .card-body {
    display: block !important;
    padding: 15px; /* decent padding for content */
  }
  
  .custom-cards .cards-container .card .card-body {
    padding:25px;
  }

  .child-brands{
    background:#ffffff;
  }

  .child-brands .card{
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  }

  .team-bg{
    background: linear-gradient(to bottom, #ffffff 0%,#fceed5 100%) !important;
  }

  .shape-divider-bottom{
    display: none;
  }

}

.portfolio-list .isotope-item {
  flex: 0 0 auto;
  width: 50%; 
}

.hover-shadow {
    transition: all 0.3s ease;
  }
  .hover-shadow:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  }


.vision-tabs{
  background: #F3F3F3;
}

#main-carousel .item img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

#thumb-carousel .item {
  
  margin: 5px;
  cursor: pointer;
}

#thumb-carousel img {
  width: 100%;
  height: auto;
  border: 2px solid transparent;
  transition: border 0.3s ease;
}

#thumb-carousel .current img {
  border-color: #007bff;
}

.related-products{
  background: #eef0f4;
}

.related-carousel .portfolio-item{
  margin-bottom: 20px;
}


.section-space-top {
    padding-top: 40px;
}

.rs-blog-post-one .rs-blog-post-wrapper {
    display: grid;
    grid-template-columns: 870px auto;
    gap: 30px;
    justify-content: space-between;
}
.rs-blog-post-one .rs-blog-post-title {
    margin-top: 15px;
    margin-bottom: 20px;
    font-size: 26px;
    line-height: 1.25;
}
.rs-post-meta ul {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 0;
}
.rs-post-meta ul li {
    list-style: none;
}
.rs-post-meta .rs-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.rs-post-meta .rs-meta .rs-meta-thumb img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.rs-blog-post-one .rs-blog-post-social-title {
    font-size: 16px;
    font-weight: 600;
    flex: 0 0 auto;
}

.rs-blog-post-one .rs-blog-post-right {
    margin-top: 15px;
}

.rs-blog-post-one .rs-blog-post-social {
    align-items: center;
    display: flex;
    gap: 15px;
}

.theme-social {
    display: inline-flex;
    gap: 12px;
    align-items: center;
}

.theme-social.rs-social-links a {
    width: 32px;
    height: 32px;
    border-radius: 3px;
}

.theme-social a {
    color: var(--rs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    font-size: 18px;
    background-color: #202021;
    transition: 0.3s;
    border-radius: 6px;
}
.theme-social.has-transform a:hover {
    transform: translate(0, -10%);
}

.theme-social.rs-social-links a.is-facebook {
    background: #1559C2;
}
.theme-social.rs-social-links a.is-linkedin {
    background: #0077B5;
}
.theme-social.rs-social-links a.is-instagram {
    background: #E1306C;
}

.theme-social.rs-social-links a.is-snapchat {
    background: #FFFC00;
}
.theme-social.rs-social-links a.is-tiktok {
    background: #000000;
}

.rs-section-border-wrapper {
    display: flex;
    align-items: center;
}

.rs-section-border-wrapper .section-border {
    width: 100%;
    display: flex;
    align-items: center;
    padding-inline-end: 20px;
}

.rs-section-border-wrapper .rs-section-dot {
    width: 7px;
    height: 7px;
    background-color: #0073FF;
    display: inline-block;
    transform: rotate(45deg);
    margin-inline-end: 5px;
    margin-inline-start: 5px;
}

.rs-section-border-wrapper .rs-section-line {
  border: 1px solid #E5E5E5;
  border-width: 1px 0;
  flex-grow: 1;
  height: 4px;
}

.post-details{
  margin: 40px 0;
}

.post-image img{
  width: 100%;
  border-radius: 6px;
}


.post-contents h1{
  font-style: normal;
  font-weight: 600;
  color: rgb(18, 18, 19); 
  font-size: 18px;
  line-height: 31px;
}

.post-contents ul {
    list-style: none;
    padding-left: 0;
    padding-right: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.post-contents ul li {
    position: relative;
    padding-left: 15px;
    display: flex;
    gap: 7px;
}

.post-contents ul li::before {
    content: "\f0da"; /* Unicode for Font Awesome caret-right */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: #0073FF;
}



.nav-list.month-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: sans-serif;
  max-width: 100%;
}

.nav-list.month-list .nav-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  font-size: 16px;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
}

.nav-list.month-list .nav-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  /* background-image: radial-gradient(circle, #ccc 0.5px, transparent 0.5px); */
  background-image: radial-gradient(circle, #999 1px, transparent 1px);
  background-size: 10px 1px; 
  background-repeat: repeat-x;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}

.nav-list.month-list .nav-link {
  position: relative;
  z-index: 1;
  background-color: #fff;
  padding-left: 20px;
  padding-right: 6px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.nav-list.month-list .nav-link::before {
  font-family: 'Font Awesome 6 Free';
  content: "\f054"; /* fa-caret-right */
  font-weight: 900;
  position: absolute;
  top: 10px;
  left: 0;
  font-size: 0.45rem;
  opacity: 0.7;
  transform: translate3d(-1px, 0, 0);
}

.nav-list.month-list .count {
  position: relative;
  z-index: 1;
  background-color: #fff;
  padding-left: 6px;
  text-align: right;
  flex-shrink: 0;
}

.card-contact {
  background: #fff;
  border-radius: 1rem;
  /* box-shadow: 0 -2px 16px rgba(0,0,0,0.06), 0 -1.5px 4px rgba(0,0,0,0.09); */
  box-shadow:
    0 2px 16px rgba(0,0,0,0.06),    /* bottom */
    0 -2px 16px rgba(0,0,0,0.06),   /* top */
    0 1.5px 4px rgba(0,0,0,0.09),   /* bottom */
    0 -1.5px 4px rgba(0,0,0,0.09);  /* top */
  padding: 1rem;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.2s;
}
.card-contact:hover {
    /* box-shadow: 0 -8px 24px rgba(0,0,0,0.10), 0 -2px 8px rgba(0,0,0,0.14); */
    box-shadow:
    0 8px 24px rgba(0,0,0,0.10),    /* bottom */
    0 -8px 24px rgba(0,0,0,0.10),   /* top */
    0 2px 8px rgba(0,0,0,0.14),     /* bottom */
    0 -2px 8px rgba(0,0,0,0.14);    /* top */
}
.card-contact .company-name h1 {
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--primary);
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.card-contact .company-name h1::before {
  position: absolute;
  content: "";
  width: 145px;
  height: 1px;
  background: #E5E5E5;
  bottom: 0;
  inset-inline-start: 0;
}

.card-contact .company-name h1::after {
  position: absolute;
  content: "";
  width: 70px;
  height: 2px;
  background: #0073FF;
  inset-inline-start: 0;
  bottom: 0px;
}

.card-contact .fa-phone,
.card-contact .fa-map-marker-alt {
  color: var(--primary);
  margin-right: 4px;
}
.card-contact .address {
  margin-bottom: 1.2rem;
  line-height: 1.7;
  /* color: #444; */
  font-weight: 400;
    color: rgb(119, 119, 119);
    font-size: 16px;
    font-style: normal;
}
.card-contact a.direction-btn {
  margin-top: auto;
  display: inline-block;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: .03rem;
  padding: .45rem .75rem;
  border-radius: .5rem;
  background: #f5f5f5;
  transition: background .18s;
  font-size: 13px;
  text-transform: uppercase;
}
.card-contact a.direction-btn .icon {
  margin-right: 5px;
}
.card-contact a.direction-btn:hover {
  background: #e8e8e8;
  color: #002a6d;
}

.card-contact .icon {
  width: 1em;
  height: 1em;
  vertical-align: middle;
  margin-right: 6px;
  margin-bottom: 2px;
}

.shadow-top-bot{
  box-shadow: 0 -1rem 3rem rgba(0, 0, 0, 0.175);
}


.brand-name{
  font-size: 22px;
  font-weight: 700;
  color: #777;
  letter-spacing: 1px;
}

hr{
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.quick-contact{
  padding-left: 50px;
}

.quick-contact h4{
  color: #777;
  font-size: 1.4em;
  font-weight: 600;
  line-height: 27px;
  margin: 0 0 14px 0;
  letter-spacing: -.05em;
}

.quick-contact h4 strong{
  font-size: 18px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.quick-contact li{
  font-size: 14px;
  color: #777;
}

.quick-contact li strong{
  color: #666666 !important;
  font-size: 14px;
}


@media only screen and (max-width: 1600px) {
    .rs-blog-post-one .rs-blog-post-wrapper {
        grid-template-columns: 750px auto;
    }
    .rs-post-meta ul {
        flex-wrap: wrap;
    }
}

@media only screen and (max-width: 1199px) {
    .rs-blog-post-one .rs-blog-post-wrapper {
        grid-template-columns: 550px auto;
    }
}

@media only screen and (max-width: 991px) 
{
    .rs-blog-post-one .rs-blog-post-wrapper 
    {
      grid-template-columns: auto;
      gap: 0;
      margin-bottom: 20px;
    }
    .rs-blog-post-one .rs-blog-post-right {
        margin-top: 0;
    }
    .rs-blog-post-one .rs-blog-post-social-title 
    {
      font-size: 14px;
    }

    .quick-contact{
      padding-left: 0;
      margin-top: 40px;
    }
    hr{
      margin-top: 1.5rem;
      margin-bottom: 1.5rem;
    }
    .text-sm-justify {
      text-align: justify;
    }
    .brand-dets img{
      max-width: 80%;
    }
}





@media (min-width: 768px) {
    .portfolio-list .isotope-item {
        width: 33.3333%;
    }
}

@media (min-width: 992px) {
    .portfolio-list .isotope-item {
        width: 25%; 
    }

    .custom-highlight-1 {
        position: relative;
        z-index: 1;
    }
    .custom-highlight-1:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0%;
        height: 100%;
        background-color: var(--dark);
        z-index: -1;
    }
}


.customHighlightAnim:after {
    animation-name: customHighlightAnim;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

.customHighlightAnimDelay:after {
    animation-delay: 3s;
}

@keyframes customHighlightAnim {
    0% {
        width: 0;
        opacity: 1;
    }
    100% {
        width: 100%;
        opacity: 1;
    }
}

/* /// */

/* Reduce image height on small screens */
@media (max-width: 576px) {
    .post-image img {
        height: 140px;
    }
    .pagination {
        float: none !important;  /* center pagination */
        text-align: center;
    }
    .post-content { padding: 10px; }
}

/* RTL support */
html[dir="rtl"] .post-content {
    text-align: right;
}
html[dir="rtl"] .pagination {
    float: left;
}


/* //// */


.language-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.lang-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  min-width: 120px;
  justify-content: center;
}

.lang-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.lang-btn:active {
  transform: translateY(0);
}

.lang-btn.rtl {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.lang-icon {
  font-size: 16px;
}

/* For RTL Arabic pages */
html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .language-switcher {
  right: auto;
  left: 20px;
}

/* Mobile screen fix */
@media (max-width: 767px) {
    .language-switcher {
        top: auto;         /* remove fixed top */
        bottom: 20px;      /* move it to bottom */
        right: 10px;       /* small spacing from right */
        left: auto;        /* reset left */
        position: fixed;   /* still fixed so it floats */
        z-index: 1000;
    }

    /* Optional: reduce button size */
    .lang-btn {
        padding: 8px 16px;
        font-size: 12px;
        min-width: 90px;
    }
}

@media (max-width: 767px) {
    .language-switcher {
        position: absolute;
        top: 12px;   /* align with menu icon */
        right: 50px; /* leave space for hamburger menu */
        z-index: 1000;
    }
}



/* /// */

/* Language Switcher */
.language-switcher {
  position: fixed;
  top: 20px;
  z-index: 1000;
  /* Default position for LTR */
  right: 20px;
  left: auto;
}

/* RTL mode - move to left */
html[dir="rtl"] .language-switcher {
  right: auto;
  left: 20px;
}

/* Alternative: Use body class */
body.rtl-mode .language-switcher {
  right: auto;
  left: 20px;
}

body.ltr-mode .language-switcher {
  right: 20px;
  left: auto;
}

/* Button styles remain the same */
.lang-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  min-width: 120px;
  justify-content: center;
}

.lang-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.lang-btn.rtl {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.lang-icon {
  font-size: 16px;
}

/* Global RTL/LTR page styling */
html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

html[dir="ltr"] {
  direction: ltr;
  text-align: left;
}

/* Example: How to flip other elements */
/* Menu alignment */
.nav-menu {
  /* Default LTR */
  margin-left: auto;
  margin-right: 0;
}

html[dir="rtl"] .nav-menu,
body.rtl-mode .nav-menu {
  margin-left: 0;
  margin-right: auto;
}

/* Logo position */
.logo {
  /* Default LTR */
  float: left;
}

html[dir="rtl"] .logo,
body.rtl-mode .logo {
  float: right;
}

/* Padding/Margin adjustments */
.section-content {
  /* Default LTR */
  padding-left: 20px;
  padding-right: 10px;
}

html[dir="rtl"] .section-content,
body.rtl-mode .section-content {
  padding-left: 10px;
  padding-right: 20px;
}

/* Float classes that auto-switch */
.float-start {
  float: left;
}

.float-end {
  float: right;
}

html[dir="rtl"] .float-start,
body.rtl-mode .float-start {
  float: right;
}

html[dir="rtl"] .float-end,
body.rtl-mode .float-end {
  float: left;
}

/* LTR default */
.category-title {
  bottom: 8px;
  left: 10px;
  right: auto;
}

/* RTL override */
html[dir="rtl"] .category-title {
  left: auto;
  right: 10px;
  text-align: right; /* optional, aligns text correctly */
}




