/* ******************  genel     ********************/
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
:root {
    --main-color: #ff9800;
    --backgrount:#f7f8f8;
    --hover:#f5bd6b;
    --icon:#b9b7b7;
}
body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;

}
.sub-title{
font-size: 2.5rem;
    color: var(--main-color); /* Dark navy blue */
    font-weight: bold;
    margin-bottom: 50px;
     /* Professional touch */
    letter-spacing: 2px;
}
a {
    text-decoration: none;
}
i .fas {
    font-weight: 900;
}
.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/************************      genel        ***************/

@media (min-width: 768px) {

  }
  @media (min-width: 991.98px) {
.langua{
    height: 100%;
}
}
@media (max-width: 600px) {

}
@media (max-width: 768px) {
    .carousel-inner  {
        height: 50vh ;
      }
.btn-giris{
    font-size: 10px;
}
      .hero-container {
        /* Position it on top of the image */
        top: 15%; /* Adjust to center vertically */


      }
      .nav-pills{
   justify-content: center;
}
.nav-pills button{
    font-size: 10px;

}
.products-section .sidebar {
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
   position: relative;
    top: 20px; /* Sticky sidebar */
    height: auto;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 100px;
    justify-content: center;z-index: 10;
}
.one-product-card .product-image img{
    margin: auto;
    width: 140px;
}
.one-product-card .product-image {
    margin: auto;
    width: 120px;
}
.products-section .brand-title {
    font-weight: 400;
    font-size: 0.7rem;
width: 110px !important;
;
margin-left: 10px;
    cursor: pointer;
    padding: 10px;
    background-color: #f8f9fa;
    margin-bottom: 10px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
      .hero h1 {
        font-size: 1.4rem !important;
      }

      .hero p {
        font-size: 1rem  !important;
        margin: 20px 0;
      }
      .about-image{
       display: none;
      }
      .text-about{
        text-align: center;
      }
      .content-title {
    font-size: 2rem;
    font-weight: bold;
}
}
/****************** footer ************************************/
footer {
    background-color: #131334;
    color: #fff;
    padding: 60px 0;
    margin-top: auto;
}
.subscribe-area{
    border-bottom: 1px solid #777;
    padding-bottom: 50px;
    line-height: 1.5;
}
.footer-section{
    padding-top: 80px;
    padding-bottom: 40px;
}
footer .footer-logo p {
    margin-top: 15px;
}

footer .social-icons a {
    display: inline-block;
    color: var(--main-color);
    font-size: 20px;
    margin-right: 10px;
    height: 38px;
    width: 38px;
    line-height: 38px;
    text-align: center;
    border-radius: 5px;
    background-color: #ffffff;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

footer .social-icons a:hover {
    color: #ffffff;
    transition: color 0.3s ease-in-out;
    text-decoration: none;
    transform: scale(1.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    background-color: var(--main-color);
}

footer .newsletter-form input[type="email"] {
    width: 100%;
    max-width: 300px;
    border: none;
    padding: 10px;
    border-radius: 5px;
    margin-right: 10px;
}

footer .newsletter-form  button {
    background-color: #ff7a00;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
}

footer ul {
    list-style-type: none;
    padding-left: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: #fff;
    text-decoration: none;
}

footer ul li a:hover {
    text-decoration: none;
    color: var(--main-color);
}

.copyright {
    padding: 25px;
    padding-top: 29px;
    color: #fff;
    align-content: center;

    background-color: #11102a;
}
/****************** footer ************************************/


/****************** about ************************************/
.about-section{
    padding-top: 120px !important;
    padding-bottom: 120px !important;

}
.section-title {
    color: var(--main-color); /* Customize color for 'ABOUT US' */
    font-weight: bold;

}

.content-title {
    font-size: 2.5rem;
    font-weight: bold;
}
.tab-content{
    background-color: #F2E1C9;
}
.nav-pills{
    padding: 20px 0px 10px 40px;
}
.nav-pills .nav-link{
    background-color: #fff !important;

    color: var(--main-color) !important;
}


 .nav-pills .nav-link.active{
    background-color: var(--main-color) !important;
    color: #fff !important;
  }
  .nav-pills .nav-link:hover{
    color: #fff !important;
    background-color: var(--main-color) !important;
  }
.about-box {
    background-color: #F2E1C9;
    padding: 20px;
    margin-top: 20px;
}

.btn-read-more {
    background-color: #F5A623;
    border: none;
    padding: 10px 20px;
    color: white;
    text-transform: uppercase;
}

.btn-read-more:hover {
    background-color: #ff8c00;
}

.h-about-section {
    padding: 50px 0;
}

.img-fluid-custom {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/****************** about ************************************/

/****************** home ************************************/
/* General Styles */
.carousel-inner .carousel-item {
    height: 100vh ;
    position: relative;
   background-size: cover;

  }

    .carousel-inner .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  @media (max-width: 576px) { /* sm için */
    .carousel-inner .carousel-item img {
        width: 100%;
    height: 100vh !important;
    }
}
  .hero {
    background-position: center;

    position: relative;
    justify-content: center;
    align-items: top;
  }
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.457); /* This controls the darkness of the overlay */
    z-index: 2;
  }
  .hero-container {
    max-width: 700px;  z-index: 2;  position: absolute; /* Position it on top of the image */
    bottom: 35%; /* Adjust to center vertically */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%);

  }
  .hero-container-two {
    max-width: 700px;  z-index: 2;  position: absolute; /* Position it on top of the image */
    bottom: 20%; /* Adjust to center vertically */
    left: 35%; /* Center horizontally */
    transform: translateX(-50%);

  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .hero p {
    font-size: 1.25rem;
    margin: 20px 0;
  }

  .hero-buttons .btn-outline-light {
    border-color: #fff;
    color: #fff;
    margin-right: 20px;
    padding: 10px 30px;
  }

  .hero-buttons .btn-primary {
    background-color: var(--main-color);
    padding: 10px 30px;
  }

/****************** home ************************************/

/****************** nav ************************************/



  /* Navbar Background Gradient */
.bg-gradient {
    background: linear-gradient(30deg, rgba(178, 204, 229, 0.951) 10%, rgb(5, 32, 57) 100%) !important;
    padding: 10px 0;
}
.navbar {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15); /* Horizontal, vertical, blur, spread, color */
}

.lang a:hover {

    transform: scale(1.2);
    transition: 0.5;




}
/* Navbar Brand Styling */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.navbar-brand img {
    margin-right: 10px;

}

/* Navbar Link Styling */
.nav-link {
    font-size: 1rem;
    padding: 10px 15px;
    color: #ffffff !important;
    transition: color 0.3s ease;
}
.nav-item .active{
    color: var(--main-color)!important;
}
.nav-link:hover {
    color: var(--main-color)!important;
}

/* Dropdown Menu Customization */
.dropdown-menu {
    background-color: #005f99;
    border: none;
}

.dropdown-item {
    color: #ffffff !important;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: transparent;
    color: #ffffff !important;
}

/* Button Styling */
.btn-cta {
    background-color: var(--main-color);
    color: #fff;
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.4s ease;
}

.btn-cta:hover {
    background-color: var(--main-color);
    color: #fff;
}

/* Mobile Adjustments */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        text-align: left;
    }
    .nav-search{
        display: none;
    }
    .btn-cta {
        margin: 10px 0;
        display: block;
        width: 100%;
    }
}
/* Navbar Search Input Styling */
/* Navbar Search Input Styling */
.navbar .input-group .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    border-radius: 30px 0 0 30px; /* Rounded corners, excluding the right side */
    padding: 0.375rem 1rem;
}

.navbar .input-group .form-control::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.navbar .input-group .form-control:focus {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
    outline: none;
}
.navbar .input-group .btn-lightt {
   color: #fff;background-color: var(--main-color);
}
.navbar .input-group .btn-lightt {
    border-radius: 0 30px 30px 0; /* Rounded corners for the button */
    padding: 0.375rem 1.25rem;
}

.navbar .input-group .btn-lightt:hover {
    background-color: white;
    color: #333;
}




/****************** nav ************************************/

/****************** header ************************************/
/* تحسين المظهر العام للكاروسيل */
#customCarousel .carousel-caption {
    background: rgba(0, 0, 0, 0.5); /* خلفية شفافة */
    padding: 20px;
    border-radius: 10px;
}

/* تخصيص النصوص */
#customCarousel h5 {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

#customCarousel p {
    font-size: 1.25rem;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* تخصيص الأزرار */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #000;
    border-radius: 50%;
    padding: 10px;
}

/* تخصيص المؤشرات */
.carousel-indicators [data-bs-target] {
    background-color: #f0a500; /* لون مخصص للمؤشرات */
    border-radius: 50%;
}

.carousel-indicators .active {
    background-color: #ff7f00; /* لون عند تفعيل المؤشر */
}
/****************** header ************************************/

/****************** owlCarousel ************************************/
.partner-area{
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #f7f8f8;
}

.partner-slide-item {

    text-align: center;
    padding: 10px;
}
.partner-slide-item img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
}
/****************** owlCarousel ************************************/

/****************** products ************************************/
/* General Styles */


.products-section .container {
    padding-top: 30px;
    padding-left: 15px;
    padding-right: 15px;
}

.products-section h2.content-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;

}

/* Sidebar */
.products-section .sidebar {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 20px; /* Sticky sidebar */
    height: auto;
    margin-bottom: 100px;
}

.products-section .brand-title {
    font-weight: 700;
    font-size: 1rem;
    width: 200px;
    cursor: pointer;
    padding: 15px;
    background-color: #f8f9fa;
    margin-bottom: 10px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.products-section .brand-title.active{
    background-color: var(--hover);
    color: white;
}
.products-section .category-title:hover {
    background-color: var(--hover);
    color: white;
}

.products-section .category-title i {
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.products-section .category-title:hover i {
    transform: rotate(90deg); /* Arrow rotates on hover */
}

.products-section .list-group-item {
    padding: 10px 15px;
    border: none;
    font-size: 1rem;
}
/* Container Styling */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 20px;
}

/* Button Styling */
.filter-button {
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    background-color: #f1f1f1;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

/* Active Button */
.filter-button.active {
    background-color: #000;
    color: #fff;
}

/* Hover Effect */
.filter-button:hover {
    background-color: #000;
    color: #fff;
}
@media (max-width: 600px) {
    .filter-container {
        flex-direction: column;
        align-items: center;
    }
    .filter-button {
        width: 100%;
        text-align: center;
    }
}

/* Product Grid */
.product-grid {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.sidebar .category-title.active,
.filter-button.active {
    font-weight: bold;
    background-color: #000;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.sidebar .category-title:hover,
.filter-button:hover {
    background-color: #555;
    color: #fff;
}
/* Enhanced Product Box */
.product-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; /* For overlay */
    margin-bottom: 30px;
    flex-basis: calc(33.333% - 20px); /* For a 3-column layout */
    margin-right: 15px; border: 2px solid #f0f0f0;
}



.product-image {
    width: 100%;
    height: 250px; /* Increased height for better emphasis */
    object-fit: cover;
    border-radius: 10px 10px 0 0; /* Rounded top corners */
    transition: transform 0.5s ease, filter 0.3s ease; /* Smooth zoom effect */
    filter: brightness(95%); /* Slightly dim for a cleaner look */
}

.product-card:hover .product-image {
    transform: scale(1.05); /* Slight zoom on hover */
    filter: brightness(100%); /* Restore brightness */
}

/* Adding a subtle border around the image */


/* Overlay for additional info */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay-text {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
}

/* Product Title */
.product-title {
    font-weight: 600;
    font-size: 0.90rem;
    text-align: center;
    padding: 15px;


}

/* Product Description */
.product-description {
    font-size: 0.75rem;
    color: #666;
    text-align: center;
    padding: 10px 15px;


}

.product-description p {
    margin: 0;
    line-height: 1.5;
}

/* Media Queries */
@media (max-width: 992px) {
    .product-card {
        flex-basis: calc(50% - 20px); /* 2-column layout for medium screens */
    }

    h2.content-title {
        font-size: 2rem;
    }

    .category-title {
        font-size: 1.1rem;
    }

    .product-title {
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .product-card {
        flex-basis: calc(100% - 20px); /* Full width for small screens */
    }

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

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

    .product-title {
        font-size: 20px;
    }
}



/****************** products ************************************/


/****************** home products ************************************/
.home-product {
    margin-bottom: 30px;
    margin-top: 40px;
    background-color: var(--backgrount); /* Fixed typo: 'backgrount' */
    padding-top: 60px;
    padding-bottom: 40px;
    position: relative; /* Allows positioning for decorative elements */
}

/* Owl Carousel Item Styling */
.home-product .owl-carousel .item {
    text-align: center;
    padding: 20px; /* Increased padding for a more spacious feel */
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
}

.home-product .owl-carousel .item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
@media (max-width: 576px) {
    .product-card {
   align-items: center;
   text-align: center;
}
    .product-image {
        width: 50%;
        height: auto; /* Increased height for better emphasis */
        object-fit: cover;margin: auto;
        border-radius: 10px 10px 0 0; /* Rounded top corners */
        transition: transform 0.5s ease, filter 0.3s ease; /* Smooth zoom effect */
        filter: brightness(95%); /* Slightly dim for a cleaner look */
    }
}
@media (max-width: 576px) {
    .home-product .owl-carousel .item img {
        width: 150px;
        height: auto;
        margin: auto;
        border-radius: 10px;
        transition: transform 0.3s ease;
    }
}
.home-product .owl-carousel .item p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #34495e;
    margin-top: 15px;
    text-transform: capitalize; /* Modern look */
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* Hover effects */
.home-product .owl-carousel .item:hover {
    transform: translateY(-10px); /* Lift the card */
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}

.home-product .owl-carousel .item:hover img {
    transform: scale(1.05); /* Slight zoom */
}

/* Customize the dots and arrows */
.owl-theme .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    margin: 5px;
    background: #2980b9; /* Blue dot */
    border-radius: 50%;
    transition: background 0.3s ease;
}

.owl-theme .owl-dots .owl-dot.active span {
    background: #1abc9c; /* Active state is teal */
}

.owl-theme .owl-nav .owl-prev, .owl-theme .owl-nav .owl-next {
    background-color: #2980b9; /* Blue background */
    color: white;
    border-radius: 50%;
    padding: 5px 15px;
    margin: 5px;
    transition: background-color 0.3s ease;
    font-size: 20px;
}

.owl-theme .owl-nav .owl-prev:hover, .owl-theme .owl-nav .owl-next:hover {
    background-color: #1abc9c; /* Change to teal on hover */
}

/* Style for the More Products button */
.btn-primary {
    background-color: var(--main-color); /* Blue background */
    border-color: var(--hover);
    padding: 7px 20px;
    font-size: 1rem; /* Increase font size for better visibility */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition */
}

.btn-primary:hover {
    background-color: var(--hover);
    border-color: var(--main-color);/* Teal on hover */
    transform: translateY(-3px); /* Slight lift effect */
}


/****************** home products ************************************/



/****************** news ************************************/
.events-section {
    background-color: #fff; /* Light background for contrast */
    padding: 80px 0; /* Padding for top and bottom */
}
.events-section .item{
    background-color: #fff !important;
}
.events-section h2 {
    font-size: 2.5rem;
    color: #34495e; /* Dark navy color */
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.event-card {
    background: var(--backgrount); /* White card background */
    border-radius: 10px; /* Rounded corners */
    overflow: hidden; /* Hide overflow */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.168); /* Shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
    padding: 20px; /* Internal padding */
    display: flex; /* Enable flex */
    flex-direction: column; /* Align items vertically */
    height: 100%; /* Full height */
}

.event-content {
    display: flex; /* Flexbox for content */
    flex-direction: column; /* Stack content vertically */
    flex-grow: 1; /* Make sure it grows to fill the space */
    justify-content: space-between; /* Space items evenly */
}

.event-card img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Rounded corners for images */
}

.event-title {
    font-size: 1.5rem; /* Larger font for titles */
    color: #4d7793; /* Primary color for titles */
    margin: 15px 0 5px; /* Margin around title */
}

.event-date {
    font-size: 1rem; /* Date font size */
    color: var(--main-color); /* Grey color for date */
    margin-bottom: 10px; /* Space below date */
}

.event-description {
    font-size: 0.9rem; /* Description font size */
    color: #34495e; /* Dark navy for description */
}

/* Hover effects */
.event-card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); /* Stronger shadow */
}

/* Owl Carousel Customization */
.owl-theme .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    margin: 5px;
    background: #2980b9; /* Blue dot */
    border-radius: 50%;
    transition: background 0.3s ease;
}

.owl-theme .owl-dots .owl-dot.active span {
    background: #1abc9c; /* Active state is teal */
}

.owl-theme .owl-nav .owl-prev, .owl-theme .owl-nav .owl-next {
    background-color: #2980b9; /* Blue background */
    color: white;
    border-radius: 50%;
    padding: 5px 15px;
    margin: 5px;
    transition: background-color 0.3s ease;
    font-size: 20px;
}

.owl-theme .owl-nav .owl-prev:hover, .owl-theme .owl-nav .owl-next:hover {
    background-color: #1abc9c; /* Change to teal on hover */
}


/****************** news ************************************/


/************************contact ****************************************/


.contact-section {
    background-color: #ffffff; /* White background for the contact section */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1); /* Deeper shadow for a floating effect */
    padding: 40px;
    transition: transform 0.3s; /* Smooth hover effect */
}

.contact-section:hover {
    transform: translateY(-5px); /* Lift effect on hover */
}

.contact-section h2 {
    font-size: 2.5rem; /* Larger title */
    color: var(--hover); /* Primary color */
    font-weight: bold; /* Bold title */
}

.contact-section p {
    font-size: 1.1rem; /* Slightly larger text */
    color: #34495e; /* Darker text color */
}

.contact-form {
    background-color: #f9f9f9; /* Light grey background for form */
    padding: 30px; /* Padding inside form */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Shadow for form */
}

.contact-form .form-control {
    border-radius: 5px;
    padding: 10px;/* Rounded corners for input fields */
    border: 1px solid #e1dede ;/* Blue border */
    transition: border-color 0.3s; /* Transition for border color */
}

.contact-form .form-control:focus {
    border-color: #1abc9c; /* Teal border on focus */
    box-shadow: 0 0 5px rgba(26, 188, 156, 0.5); /* Teal shadow */
}
.contact-form label{
    font-size: 0.9rem; /* Smaller label font */
    color: #34495e; /* Dark color for labels */
    margin-bottom: 10px; /* Space between labels */
}

.btn-primary {
    /* Blue button */
    border: none;
    transition: background-color 0.3s; /* Transition for button color */
}

.btn-primary:hover {
    background-color: var(--hover); /* Teal on hover */
}

.map-container {
    margin-top: 20px; /* Space above map */
    border-radius: 10px; /* Rounded corners for map */
    overflow: hidden; /* Hide overflow */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Shadow for map */
}

.list-unstyled {
    margin-top: 20px; /* Space above list */
}

.list-unstyled li {
    font-size: 1rem; /* Font size for list items */
    color: #34495e; /* Dark color for list items */
    margin-bottom: 15px; /* Space between list items */
}

.contact-section .list-unstyled li svg {
    color: var(--hover) !important; /* Icon color */
    margin-right: 10px; /* Space between icon and text */
}
/***********************  contact ***********************/




/********************** about ************************************************/
/* General Section Styles */
.about-section {
    padding: 50px 0;
    background-color: #f9fafc;
    font-family: 'Poppins', sans-serif;
}

/* Left Content */
.section-title .highlight {
    color: var(--hover);
    font-weight: 600;
    font-size: 1.2rem;
    display: inline-block;
    margin-bottom: 10px;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.about-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.7;
}
/* Call-to-Action Button */
.learn-more {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--hover);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.learn-more:hover {
    background-color: var(--main-color);
    color: #fff;
}

/* Right Illustration */
.about-illustration img {
    width: 100%;
    max-width: 500px;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
    border-radius: 5px;
}

.about-illustration img:hover {
    transform: scale(1.05);  /* Slight zoom effect */
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-section .row {
        flex-direction: column;
        text-align: center;
    }
    .main-title {
        font-size: 2rem;
    }
    .about-illustration {
        margin-top: 30px;
    }
}
.text-container {
    max-width: 600px;
    margin: 20px auto;
    font-family: 'Poppins', sans-serif;
  }

  #long-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
  }

  #toggle-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;


    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  #toggle-btn:hover {
    background-color: var(--main-color);
  }
/**************** about ********/



/****************** forum ************************************/
.forum-header {
    background: linear-gradient(30deg, rgba(135, 181, 223, 0.951) 10%, rgb(8, 53, 96) 100%) !important;
    color: white;
    padding: 5px;
  }

  .search-bar {
    display: flex;
    justify-content: flex-end;
    padding: 10px;


  }

  .search-bar input[type="text"] {
    width: 300px;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    margin-right: 10px;border: 1px solid var(--icon);
  }

  .search-bar button {
    background-color: #fff;
    color: var(--icon);
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
  }
  .forum-header .btn-primary {
    background-color: var(--main-color);
    padding: 4px 15px;
    font-size: 15px;
  }
  .forum-header .btn-secondary {
    background-color: var(--hover);
    padding: 4px 15px;
    font-size: 15px;
  }


  .forum-table-container {
    width: 100%;
    padding: 20px;
margin-top: 60px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.forum-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Arial', sans-serif;
    margin-top: 10px !important;
    background-color: #fff;


}
table.forum-table thead {
    background-color: rgba(2, 37, 37, 0.715);
}

table.forum-table th {
    color: white;
}
.forum-category-icon {
    font-size: 20px;
    margin-right: 15px;
    color: var(--icon);
}


.forum-table td {
    padding: 20px;
    border-top: 1px  solid #ddd;
    border-left: 1px  solid #ddd;
    text-align: left;
}

.forum-table th {
  padding: 15px; text-align: left;
    color: #fff;
    font-weight: bold;
}

.forum-info {
    display: flex;
    align-items: center;
}

.forum-icon img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.forum-details {
    display: inline-block;
}

.forum-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}
.forum-title  a{
    text-decoration: none;
    color: #333;
}
.forum-title  a:hover{
    color: var(--main-color);
}
.forum-description {
    font-size: 0.9rem;
    color: #777;
}

.sub-forums {
    font-size: 0.8rem;
    margin-top: 5px;
}

.sub-forums a {

    text-decoration: none;
}

.sub-forums a:hover {
    text-decoration: underline;
}

.forum-stats {
    font-size: 1rem;
    text-align: center;
}

.forum-last-post {
    font-size: 0.9rem;
    color: #777;
}

.last-post-title {
    font-weight: bold;
    color: #333;
}

.last-post-author {
    color: var(--main-color);
    font-size: 0.9rem;
}

.last-post-date {
    font-size: 0.8rem;
    color: #999;
}
.post-date{
    color: var(--main-color);
}
.forum-category:hover {
    background-color: #f9f9f9;
    cursor: pointer;
}

@media (max-width: 768px) {
    .forum-info {
        flex-wrap: wrap;
    }
    .forum-title, .forum-description, .sub-forums {
        font-size: 0.9rem;
    }
    .forum-stats {
        font-size: 0.8rem;
    }
    .forum-last-post {
        font-size: 0.8rem;
    }
}
.forum  .social-icons a i{
    text-align: center;
    align-items: center;
}
.forum  .social-icons a {

    color: var(--main-color);
    font-size: 20px;
    margin-right: 10px;
    height: 38px;
    width: 38px;

    text-align: center;
    border-radius: 5px;
padding:0 10px;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}
.btn-inf{
    color:#fff;
    background: #534742 !important;
border:none;
}
.btn-inf:hover{
    color:#F2E1C9;
}
.forum  .social-icons a:hover {
    color: #ffffff;
    transition: color 0.3s ease-in-out;
    text-decoration: none;
    transform: scale(1.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    background-color: var(--main-color);
}
/* post */
/* Table Styling */
.forum-post-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Arial', sans-serif;


    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.forum-post-table td {
    padding: 10px;
    vertical-align: top;
    border-bottom: 1px solid #ddd;
}

/* Header Styling */
.post-header h2 {
    font-size: 1.5rem;

    color: #333;
}

.post-header .post-controls {
    display: flex;
    gap: 10px;
}

.post-controls input {
    border: 1px solid #ddd;
    padding: 6px;
    width: 200px;
    border-radius: 4px;
}

.reply-btn, .controls-btn, .search-btn {
    background-color: var(--icon);
    color: white;
    border: none;
    padding: 5px;
    cursor: pointer;
    border-radius: 4px;
}

/* User Info Styling */
.user-info {
    width: 180px;
    text-align: center;
    padding-right: 20px;
    border-left: #d7d5d5 solid 1px;
}

.user-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 10px 0;
}

.user-info p {
    margin: 5px 0;
}

.user-info a {
    color: #4a90e2;
    text-decoration: none;
}
.main-post{
    border-bottom: var(--hover) solid 3px;
    margin: 13px;
    background-color: #e4c28b16;
}

/* Post Content */
.post-content {
    padding-left: 20px;
    flex-grow: 1;
}

.post-content p {
    margin: 10px 0;
    color: #333;
}


/****************** forum ************************************/

/******************posts ********************************/
.forum-post-container {
    max-width: 1100px;
    margin: 20px auto;
    padding: 10px;
}

.post-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #f8f9fa;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.user-avatar {


    border-radius: 50%;
    object-fit: cover;
    border: 2px solid  var(--hover);
}
.user-info{
    padding-left: 10px;
}
.user-name {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}

.user-meta {
    font-size: 12px;
    color: #6c757d;
}

.post-content {
    margin-top: 15px;
    font-size: 14px;
    color: #333;
}

.post-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.post-date {
    font-size: 12px;
    color: #6c757d;
}

.post-actions {
    margin-top: 20px;
}

.like-btn {
    background: none;
    border: none;
    color: var(--hover);
    cursor: pointer;
    font-size: 14px;
    margin-right: 10px;
}
.post-actions .reply-btn, .comment-actions .reply-btn {
    background-color: var(--hover);
    border: none;
    color: white;

    cursor: pointer;
    font-size: 14px;
    margin-right: 10px;
}

.like-btn:hover, .reply-btn:hover {
    text-decoration: none;
}

/* File Preview */
.img-thumbnail {
    display: block;
    margin: 10px 0;
    border-radius: 8px;
}

/******************post *********************************/

/****************comments ********************************/


.comments-container {
    max-width: 1000px;
    margin: 0 auto;
}

.comment-card, .reply-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #f8f9fa;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}

.comment-date {
    font-size: 12px;
    color: #6c757d;
}

.badge {
    background-color: var(--hover);
    color: white;
    font-size: 12px;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 5px;
}

.comment-content {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.comment-link {
    color: var(--hover);
    text-decoration: underline;
}

.comment-actions {
    margin-top: 10px;
}

.like-btn, .reply-btn {
    background: none;
    border: none;
    color: var(--hover);
    cursor: pointer;
    font-size: 14px;
    margin-right: 10px;
}

.like-btn:hover, .reply-btn:hover {
    text-decoration: underline;
}

/* Reply-specific styles */
.reply-card {
    margin-left: 40px;
    border-left: 3px solid var(--hover);
    padding-left: 15px;
}
.edit-btn, .delete-btn {
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}


.edit-btn {
    background-color: #a1c3f7;
}

.delete-btn {
    background-color:#dc3545 ;
    color:#fde2e2 ;
}
.edit-btn:hover {
    background-color: #5d96ec;
}

.delete-btn:hover {
    background-color:#a70b1a; ;
    color:#fde2e2;
}

.edit-btn i, .delete-btn i {
    margin-right: 5px;
}

/************************************************/

@media (max-width: 768px) {
    .forum-table {
        margin-top: 15px;
        border-collapse: collapse;
        width: 100%;
    }

    .forum-table thead {
        display: none;
        text-align: left;
    }

    .forum-table tbody {
        display: block;
        width: 100%;
    }

    .forum-table tr {
        display: block;
        margin-top: 5px;
        margin-bottom: 10px; /* Add spacing between rows */
    }

    .forum-table td, .forum-table th {
        display: block;
        text-align: left;
        padding: 8px;
        border-bottom: 1px solid #ddd;
    }

    .forum-table th {
        font-weight: bold;
        background-color: #f9f9f9; /* Optional: Highlight header */
    }

    .forum-table td::before {
        content: attr(data-label); /* Add custom labels */
        font-weight: bold;
        display: inline-block;
        width: 100px; /* Adjust width as needed */
    }
}
.forum-category-icon {
    font-size: 1.2em; /* Adjust for readability */
}

@media (max-width: 768px) {
    .forum-category-icon {
        font-size: 1em;
    }

    .forum-title, .last-post-title {
        font-size: 1rem; /* Smaller text for mobile */
    }
}




.post-card {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.post-content, .post-header {
    width: 100%;
}

@media (min-width: 768px) {
    .post-content, .post-header {
        width: 48%; /* Adjust width for desktop */
    }
}

@media (max-width: 768px) {
    .post-card {
        flex-direction: column;
    }

    .user-info {
        text-align: center;
    }

    .post-content {
        margin-bottom: 20px;
    }
}
