*{
    font-family: 'Tajawal', sans-serif;
}
html{

    scroll-behavior: smooth;
}
.ql-align-center {
    text-align: center;
}
.ql-align-justify {
    text-align: justify;
}
.ql-align-right {
    text-align: right;
}
.warpper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .tab {
    cursor: pointer;
    padding: 10px 20px;
    margin: 0px 2px;
    background: #32557f;
    display: inline-block;
    color: #fff;
    border-radius: 3px 3px 0px 0px;
    box-shadow: 0 0.5rem 0.8rem #00000080;
  }

  .panels {
    background: #fff;
    box-shadow: 0 2rem 2rem #00000080;
    min-height: 200px;
    width: 100%;
    max-width: 500px;
    border-radius: 3px;
    overflow: hidden;
    padding: 20px;
  }

  .panel {
    display: none;
    animation: fadein 0.8s;
  }

  @keyframes fadein {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }



  .panel-title {
    font-size: 1.5em;
    font-weight: bold;
  }

  .radio {
    display: none;
  }

  #one:checked ~ .panels #one-panel,
  #two:checked ~ .panels #two-panel,
  #three:checked ~ .panels #three-panel {
    display: block;
  }

  #one:checked ~ .tabs #one-tab,
  #two:checked ~ .tabs #two-tab,
  #three:checked ~ .tabs #three-tab {
    background: #fff;
    color: #000;
    border-top: 3px solid #32557f;
  }
 body {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-color:#0d3a58 ;
 }

.header-top{
    background-color: #0d3a58;
    height: 100px;
}
.header-top p{
    font-size: 20px;
    color: #fff;
}
.header-icon{
    color: #fff;
    font-size: 20px;
}
/* navbar */
.shadow{
    box-shadow: 0px 0px 10px lightgray !important;

}
.navbar{
    background-color: transparent !important;
    position: absolute;


    top: 70px;
    left: 0px;
    right: 0;
    z-index: 3;

    padding: 0px 15px;
    /* overflow: hidden; */
}
.nav-container{
    background-color: #fff;
    width: 1110px;
    padding: 0px;
}
.navbar img{
    width: 80px;
}
.nav-icon{
    background-color: #0d3a58;
    padding: 30px;
}
.nav-icon i{
    font-size: 40px;
    color: #fff;
    transform: rotate(-50deg);
}
.navbutton{
    box-shadow: none !important;
    border: none;
}

.active ,.nav-link:focus{

    font-weight: bolder;
}

* {
  box-sizing: border-box;
}
body {
  font-family: "Open Sans";
  background: #0d3a58;
  color: #ecf0f1;
  line-height: 1.618em;
}
.wrapper {
  max-width: 50rem;
  width: 100%;
  margin: 0 auto;
}
.tabs {
  position: relative;
  margin: 3rem 0;
  background: #1abc9c;
  height: 14.75rem;
}
.tabs::before,
.tabs::after {
  content: "";
  display: table;
}
.tabs::after {
  clear: both;
}
.tab {
  float: left;
}
.tab-switch {
  display: none;
}
.tab-label {
  position: relative;
  display: block;
  line-height: 2.75em;
  height: 3em;
  padding: 0 1.618em;
  background: #1abc9c;
  border-right: 0.125rem solid #16a085;
  color: #fff;
  cursor: pointer;
  top: 0;
  transition: all 0.25s;
}
.tab-label:hover {
  top: -0.25rem;
  transition: top 0.25s;
}
.tab-content {
  height: 12rem;
  position: absolute;
  z-index: 1;
  top: 2.75em;
  left: 0;
  padding: 1.618rem;
  background: #fff;
  color: #0d3a58;
  border-bottom: 0.25rem solid #bdc3c7;
  opacity: 0;
  transition: all 0.35s;
}
.tab-switch:checked + .tab-label {
  background: #fff;
  color: #0d3a58;
  border-bottom: 0;
  border-right: 0.125rem solid #fff;
  transition: all 0.35s;
  z-index: 1;
  top: -0.0625rem;
}
.tab-switch:checked + label + .tab-content {
  z-index: 2;
  opacity: 1;
  transition: all 0.35s;
}
/* hero */
/* .hero{
    background-image: url(../img/sss.jpg);
    background-size: cover;
    color: #0d3a58;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    width: 100%;
    height: 100vh;
    padding-top: 125px;
    padding-bottom: 75px;
} */
.hero {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    width: 100%;
    height: 100vh;
    padding-top: 125px;
    padding-bottom: 75px;
    color: #0d3a58;
}
/* Media query for mobile devices */

@media (max-width: 480px) {
    .hero {
        background-position: center center;
        background-attachment: scroll;
        padding-top: 30px;
        padding-bottom: 30px;
        height: 50vh;
    }
}
.hero-img{
    display: grid;
    grid-template-columns: repeat( 30 , 1fr);
}
.hero-grid1{
    grid-column: 11/span 13;
    grid-row: 9/span 8;
}
.hero-grid2{
    grid-column: 5/span 13;
    grid-row: 4/span 8;
}
.hero-info {
    color: #ffff;
    text-align: center;
    margin-top: 43px;
}
.hero-info h2{
    font-weight: bold;
    text-align: center;
    font-size: clamp(1.1875rem, 0.608rem + 3.0909vw, 3.3125rem);
}
h2{
    color: #0d3a58;

}
.hero-info p {
    height: 120px;
    padding-right: 12px;
    width: 80%;
    position: relative;
    border-right: 8px solid #CFA98F;

    font-size: clamp(0.75rem, 0.6477rem + 0.5455vw, 1.125rem);
}
.hero-button{
    background-color: #0d3a58 !important;
    color:#ffff;
    margin-top: 49px;
    width: 200px;
    height: 56px;
    font-size: 21px;
    transition: ease-in 0.2s;
    border: none;
}
.hero-button:active ,.hero-button:hover{
    background-color: #0d3a58;
    transform: scale(0.95);
    border: none;
}

  /* who */
.who ,.contact{
    padding: 60px 0px;
}

.who-title h2 .product-title h2{
    font-size: 45px;
}
.who-title p , .product-title p{
    font-size: clamp(0.9375rem, 0.8523rem + 0.4545vw, 1.25rem);

}
.who-card{
padding: 35px;
color: #fff;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
gap: 5px;
}
.who-card h6{
    font-size: 20px;
}
.who-card p{
    font-size: 12px;
}
.who-card1{
    background: rgb(153,207,246);
    background: linear-gradient(77deg, rgba(153,207,246,1) 0%, rgba(77,104,123,1) 41%);
}
.who-card2{
    background: rgb(62,80,110);
    background: linear-gradient(77deg, rgba(62,80,110,1) 0%, rgba(123,160,220,1) 100%);

}
.who-card3{
    background: rgb(51,103,154);
    background: linear-gradient(77deg, rgba(51,103,154,1) 0%, rgba(26,52,77,1) 100%);
}

.who-card4
{
    background: rgb(5,32,50);
    background: linear-gradient(77deg, rgba(5,32,50,1) 0%, rgba(10,64,100,1) 100%);

}
.who-card2,
.who-card4{
    clip-path: polygon(0 0, 100% 9%, 100% 91%, 0 100%);
}
.who-card1,
.who-card3{

    clip-path: polygon(0 9%, 100% 0, 100% 100%, 0 91%);
}


/* products */
.products{
    background-color: rgba(255, 255, 255, 1);
    clip-path: polygon(50% 9%, 100% 0, 100% 100%, 0% 100%, 0 43%, 0% 0%);
    padding: 10% 0;

    justify-content: space-between !important;
    align-self: center;
}

.product-link a{
    text-decoration: none;
    color: #083859;
    font-size: 1rem;
    font-weight: 700;
}
.product-link{
    position: relative;
    z-index: 1;
}
.product-link::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: transparent;
    top: -7px;
    left: -7px;
    z-index: -5;
    border-top: 3px solid #083859;
    border-left: 3px solid #083859;
    transition: 0.5s;
}
.product-link::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: transparent;
    bottom: -7px;
    right: -7px;
    z-index: -5;
    border-right: 3px solid #083859;
    border-bottom: 3px solid #083859;
    transition: 0.5s;
}
.product-link:hover::before {
 width: 100%;
 height: 100%;
}
.product-link:hover::after {
 width: 100%;
 height: 100%;
}

/* contact */

.form-group input ,.form-control , form , .contact-icon {
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
}
.contact form{
    padding: 15px;

}
.form-control::placeholder {
    line-height: 99px;
    text-align: right;
}
.btn-form{
    background-color: #74523F;
    color: #fff;
    font-size: 20px;
    padding: 6px 36px;
    border: none;
    border-radius: 0px;
    transition: ease-in 0.2s;
}
.btn-form:hover ,.btn-form:active{
    background-color: #5f4232;
    color: #fff;
    transform: scale(0.95);
}
/* contact-icon */
.content-row{
    gap: 40px;
}
.contact-icon{
    display: flex;
    flex-direction: row;
    align-items: end;
    padding: 0px;
    gap: 60px;
}
.contact-icon i{
    color: #fff;
    padding: 9px 27px;
    font-size: 20px;
    background-color: #74523F;
}
#contact-icon{
   background-color: #CFA98F;
}
.contact-icon h4{
    font-size: clamp(0.875rem, 0.8068rem + 0.3636vw, 1.125rem);
    color: #707070;
}
@media only screen and (max-width: 600px){
    .contact-icon{
        gap: 40px;
    }
}
/* footer */
footer{
    padding-top: 50px;
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(128,128,128,1) 100%);
}
.logo img{
    width: 300px;
}
.footer-icon i{
    background-color: #0d3a58;
    color: #fff;
    padding: 6px 10px;
    margin-left: 10px;
    font-size: 17px;
    border-radius: 50%;
}
.footer-section ul{
    padding: 0px;
    list-style:none;
}
.footer-section a {
    font-size: 18px;
    text-decoration: none;
    color: #0d3a58;
}
/* prodcut-page */
/* blog page */
.product-section,.blog ,.blog-section{
    padding: 50px 0px;
}
.product-section img {
    width:  150px;
    height: 150px;
    object-fit: cover;
}
.our-product , .our-blog ,.blog-section-header{
    padding: 125px 0px;
}
.our-product h2 ,.our-blog h2 ,.blog-section-header h2{
    font-size: 60px;
}
/* blog page */
.blog-info{
    color: #8D8D8D;
}
.blog-link a{
    text-decoration: none;
    font-size: 20px;
}

article{
    background-color: #fff;
}
.content-row{
    gap: 40px;
}
/* Container for the category filters */
#filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
  }

  /* Style for individual filter item */
  .category-filter {
    padding: 10px 20px;
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    color: black;
    transition: background-color 0.3s, border-color 0.3s;
    display: flex;
    align-items: center;
    text-align: center;
  }

  /* Hover effect for filter */
  .category-filter:hover {
    background-color: #0d3a58;
    color: white;
    border-color: white;
  }

  /* Style for the input and label inside category filter */
  .category-filter input[type="radio"] {
    display: none;
  }

  /* Style for checked filter */
  .category-filter input[type="radio"]:checked + label {
    background-color: #0d3a58;
    color: white;
  }

  /* Label style */
  .category-filter label {
    cursor: pointer;
    padding: 5px 10px;
    font-weight: 500;
  }

  /* Responsive design - make the filters look good on mobile */
  @media (max-width: 768px) {
    .category-filter {
      font-size: 14px;
      padding: 8px 15px;
    }
  }

  /* Active category */
  .category-filter.active {
    background-color: #0d3a58;
    color: white;
    border-color: white;
  }

.card1{
    width: 100%;
    height: 100%;
    position: relative;
    /* padding: 50px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(255, 255, 255);
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    overflow: hidden;
    color: #000;
}
.card__img{
    width: 100%; height: 400px;
    object-fit: contain;
    /* padding: 3rem 0; */
    transition: .5s;
}
.card__name{
    position: absolute;
    left: -25%;
    top: 0;
    width: 3.5rem;
    height: 100%;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: center;
    background-color: #000;
    color: #fff;
    font-weight: bold;
    transition: .5s;
}
.card__icon{
    font-size: 1.5rem;
    width: 50%;
    color: var(--dark-color);
}
.card__icon:hover{
    color: var(--accent-color);
}
.card__precis{
    width: 100%;
    display: flex;
    text-align: right;
    justify-content: space-between;
    align-items: center;
    transition: .5s;
}
.card__preci{
    display: block;
    text-align: center;
}
.card__preci--before{
    font-size: var(--smaller-font-size);
    color: #000;
    margin-bottom: .25rem;
}
.card__preci--now{
    font-size: var(--h3-font-size);
    color: #000;
    font-weight: bold;
}
/*Move left*/
.card1:hover{
    box-shadow: 0 .5rem 1rem #D1D9E6;
}
.card1:hover .card__name{
    left: 0;
}
.card1:hover .card__img{
    transform: rotate(30deg);
    margin-left: 3.5rem;
}
.card1:hover .card__precis{
    margin-left: 3.5rem;
    padding: 0 1.5rem;
}
.tablink {
    background-color: #555;
    color: white;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    font-size: 17px;
    width: 25%;
  }

  .tablink:hover {
    background-color: #777;
  }

  /* Style the tab content (and add height:100% for full page content) */
  .tabcontent {
    color: white;
    display: none;
    padding: 100px 20px;
    height: 100%;
  }

.innercard{width: 382.86px; height: 47px; left: 0px; top: 360px; position: relative; color: #000;}
.namediv{ color: #ffffff; font-size: 18px; font-family: Cairo; font-weight: 500; word-wrap: break-word; position: relative; }
.typediv{color: #ffffff; font-size: 14px; font-family: Cairo; font-weight: 300; word-wrap: break-word;}
.pricediv{position: relative; text-align: right; color: #ffffff; font-size: 16px; font-family: Cairo; font-weight: 400; text-transform: uppercase; word-wrap: break-word}
.imgprod{width: 100%; height: 306px; left: 0 px;  position: relative; border-radius: 20px}
.main1 {
    padding: 2rem 0;
    max-width: 0%;
    display: flex;
    justify-content: space-evenly;
    padding: auto;
    position: relative;
}
.main2 {
    padding: 2rem 0;
}
.main3 {
    padding: 2rem 0;
}
.main4 {
    padding: 2rem 0;
}
.bd-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    max-width: 100%;
    margin-left: 2.5rem;
    margin-right: 2.5rem;
    align-items: center;
    gap: 2rem;
}
/* blog section other page  */
.blog-section-img{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 60vh;
}
.blog-section-admin ,
.blog-section-icon ,
.blog-section-share ,
.blog-section-date,
.blog-section-info,
.blog-section-share a{
    color: #707070;
    text-decoration: none;
}
.blog-section-icon i{
    font-size: clamp(0.875rem, 0.7727rem + 0.5455vw, 1.25rem);
}
.blog-section-admin h6 , .blog-section-date span ,.blog-section-share a{
    font-size: clamp(0.75rem, 0.6477rem + 0.5455vw, 1.125rem);
    margin: 0;
    padding: 0;
}
.blog-section-month,
.blog-section-day,
.blog-section-year{
    padding: 0px 10px;

}
.blog-section-month
{
    border-left:1px solid #373737 ;
    border-right:1px solid #373737
}
#share-btn:active{
    color:#CFA98F;
}

main {
    display: flex;
    justify-content: center;
    background-color: transparent;
}

.book {
    --book-height: 80vh;
    --book-ratio: 1.2;
    margin-left: 36%;
}

.book > div {
    height: var(--book-height);
    width: calc(var(--book-height) / var(--book-ratio));
    overflow: auto;
    background-color: #0d3a58;
    transform: scale(0.9);
    border-radius: 6px;
    transform-origin: left;
}
.book-content img {
    height: var(--book-height);
    width: calc(var(--book-height) / var(--book-ratio));
    max-width: 100%;
}

.book-cover {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 9;
    text-align: center;
    background-image: url('../img/Book_Cover.jpg');
    background-size: cover;
    /* background-size: 2em 2em; */
    background-color: #0d3a58;
    color: white;
    transition: transform 2s;
}

.book-cover::before {
    content: "";
    position: absolute;
    width: 20px;
    right: 20px;
    top: 0;
    bottom: 0;
    /* background-color: #b11509; */
}

.separator {
    --separator-size: 8px;
    width: var(--separator-size);
    height: var(--separator-size);
    background-color: #dbd75d;
    margin: 50px auto 60px auto;
    border-radius: 50%;
    position: relative;
}

.separator::after,
.separator::before {
    content: "";
    position: absolute;
    width: 12px;
    background-color: white;
    height: 2px;
    top: calc(50% - 1px);
}

.separator::after {
    left: 15px;
}

.separator::before {
    right: 15px;
}

.book-content {
    transform: scale(0.9) translateY(30px);
    background-color: white !important;
    transition: all 0.3s 1s;
}

.book-content h3,
.book-content p {
    opacity: 0;
    transition: all 0.3s 0.3s;
}


.book-cover > div {
    transition: opacity 0s 0.6s;
}

.book:hover > .book-cover {
    transform: rotateY(180deg) scale(0.9);
}

.book:hover > .book-cover > div {
    opacity: 0;
}

.book:hover > .book-content {
    transform: scale(0.9) translateY(0px);
}

.book:hover > .book-content h3,
.book:hover > .book-content p {
    opacity: 1;
}
.tabset > input[type="radio"] {
    position: absolute;
    /* left: -200vw; */
    display: none;
  }

  .tabset .tab-panel {
    display: none;
  }

  .tabset > input:first-child:checked ~ .tab-panels > .tab-panel:first-child,
  .tabset > input:nth-child(3):checked ~ .tab-panels > .tab-panel:nth-child(2),
  .tabset > input:nth-child(5):checked ~ .tab-panels > .tab-panel:nth-child(3),
  .tabset > input:nth-child(7):checked ~ .tab-panels > .tab-panel:nth-child(4),
  .tabset > input:nth-child(9):checked ~ .tab-panels > .tab-panel:nth-child(5),
  .tabset > input:nth-child(11):checked ~ .tab-panels > .tab-panel:nth-child(6) {
    display: block;
  }

  /*
   Styling
  */
  /* body {
    font: 16px/1.5em "Overpass", "Open Sans", Helvetica, sans-serif;
    color: #333;
    font-weight: 300;
  } */

  .tabset > label {
    position: relative;
    display: inline-block;
    padding: 15px 15px 25px;
    border: 1px solid transparent;
    border-bottom: 0;
    cursor: pointer;
    font-weight: 600;
  }

  .tabset > label::after {
    content: "";
    position: absolute;
    left: 15px;
    bottom: 10px;
    width: 22px;
    height: 4px;
    background: #8d8d8d;
  }

  .tabset > label:hover,
  .tabset > input:focus + label {
    color: #06c;
  }

  .tabset > label:hover::after,
  .tabset > input:focus + label::after,
  .tabset > input:checked + label::after {
    background: #06c;
  }

  .tabset > input:checked + label {
    border-color: #ccc;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
  }

  .tab-panel {
    /* padding: 30px 0; */
    border-top: 1px solid #ccc;
  }

  /*  */

  .tabset {
    max-width: 65em;
  }
  .gallery {
    /* height: 100vh; */
    max-width: 100%;
    /* max-height: 800px; */

    display: flex;
    flex-wrap: wrap;
    justify-content: center !important;
}

.gallery-image {
    width: 80%;
    height: calc(80% - 20px);
    /* min-width: 300px;
    min-height: 200px; */
    /* margin: 10px; */
    /* overflow: hidden !important; */
}

.image {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
    transition: 1s;
}

/* popup */

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 80%;
    max-width: 1600px;
    height: 90vh;
    max-height: 800px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    overflow: hidden;
    transition: 1s;
    opacity: 0;
}

.popup.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.popup.active .close-btn,
.popup.active .image-name,
.popup.active .index,
.popup.active .large-image,
.popup.active .arrow-btn {
    opacity: 1;
    transition: opacity .5s;
    transition-delay: 1s;
}

.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: #000;
    color: #fff;
    text-align: center;
    line-height: 50px;
    font-weight: 300;
}

.image-name {
    opacity: 0;
}

.close-btn {
    opacity: 0;
    position: absolute;
    top: 15px;
    right: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f00;
    cursor: pointer;
}

.arrow-btn {
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    border-radius: 50%;
    border: none;
    background: none;
    cursor: pointer;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
    transform: translateY(-50%) rotate(180deg);
}

.arrow-btn:hover {
    background: rgba(0, 0, 0, 0.5);
}

.index {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 80px;
    font-weight: 100;
    color: rgba(255, 255, 255, 0.4);
    opacity: 0;
}

.large-image {
    margin-top: 5%;
    width: 500px;
    height: 500px;
    object-fit: contain;
    opacity: 0;

}


