@font-face {
    font-family: 'GretaArabic';
    src: url('/wp-content/uploads/2025/12/GretaArabic.woff2') format('woff2'),
         url('/wp-content/uploads/2025/12/GretaArabic.woff') format('woff'),
         url('/wp-content/uploads/2025/12/GretaArabic.eot') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/* Medium */
@font-face {
    font-family: 'GretaArabic';
    src: url('/wp-content/uploads/2025/12/GretaArabic-Medium.woff2') format('woff2'),
         url('/wp-content/uploads/2025/12/GretaArabic-Medium.woff') format('woff'),
         url('/wp-content/uploads/2025/12/GretaArabic-Medium.eot') format('embedded-opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
:root {
    --dark-teal: #081f23;
    --text-white: #ffffff;
    --text-gray: #b8c4c6;
    --font-primary: 'GretaArabic', sans-serif;
}
* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'GretaArabic', sans-serif;
      direction: rtl;
    }

header {
    padding: 12px 20px;
    background-color: #ffffff;
    border-bottom: 1px solid #E8E8E8;
}
    .page-id-65 header {
      background-color: #F2FBFC;
    }
    .bg-gr{
        background: linear-gradient(180deg, #F2FBFC 66.35%, #FFFFFF 100%);
    }
    .head-right, .head-left {
    display: flex;
    gap: 20px;
    align-items: center;
}
.head-right {
    gap: 60px;
}
.head-right a.search-icon {
    display: none;
}
.whatsapp img{
    vertical-align: top;
}
.flex-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-width {
    max-width: 1280px;
    margin: 0 auto;
}
.wrapalldivs {
    padding: 0px 20px;
}
    @keyframes slideBackAndForth {
      0% {
        transform: translateX(0);
        color: #333;
      }
      50% {
        transform: translateX(20px);  
        color: #055E54;
      }
      100% {
        transform: translateX(0);
        color: #333;
      }
    }

    .logo span {
      font-size: 35px;
      font-weight: bolder;
      color: #333;
      animation: slideBackAndForth 3s ease-in-out infinite;
    }

    nav ul {
      display: flex;
      list-style: none;
      gap: 20px;
    }

    nav ul li a {
      text-decoration: none;
      color: #333;
      font-size: 16px;
      font-weight: 500;
      transition: color 0.3s;
    }

    nav ul li a:hover {
      color: #299297;
    }
    nav ul li.current_page_item a{
        color: #299297;
    }

    .auth .login {
      padding: 10px 20px;
      background-color: #299297;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      transition: background-color 0.3s;
    }

    .auth .login:hover {
      background-color: #055E54;
    }

    .auth .whatsapp {
      text-decoration: none;
      color: #055E54;
      font-weight: 500;
    }

    .auth .whatsapp:hover {
      text-decoration: underline;
    }

   
    @media (max-width: 768px) {
		.head-right a.search-icon {
    display: block;
}
      header {
        flex-direction: column;
        gap: 15px;
      }
      
      nav ul {
        flex-wrap: wrap;
        justify-content: center;
      }
      
      .auth {
        flex-direction: column;
        width: 100%;
      }
      
      .auth .login {
        width: 100%;
      }
    }
    main {
      max-width: 1280px;
      margin: 0 auto;
    }
    
    .section {
      background: white;
      padding: 30px;
      margin-bottom: 30px;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .section h2 {
      color: #333;
      margin-bottom: 20px;
      border-bottom: 2px solid #055E54;
      padding-bottom: 10px;
    }
    
    footer {
      background-color: #333;
      color: white;
      text-align: center;
      padding: 20px;
    }
  
 .login {
  padding: 15px 20px;
  background-color: #299297;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  position: relative;
}

.login:hover {
  background-color: #055E54;
}
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown {
  position: relative;
  display: inline-block;
}


.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}



.dropdown {
    position: relative;
    display: inline-block;
}


.dropdown-content {
    display: none; 
    position: absolute;
    min-width: 1000px; 
    
  
    right: auto; 
    left: 50%; 
    transform: translateX(-70%); 
    
    
    top: 160%; 
    
    z-index: 100;
    padding: 30px; 
    background-color: var(--light-bg); 
    box-shadow: 0px 15px 40px rgba(0,0,0,0.15); 
    border-radius: 0 0 10px 10px;
    
   
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px 20px; 
}


.show {
    display: grid !important; 
}



.category-card {
    text-decoration: none; 
    color: inherit;
    display: flex;
    flex-direction: column;
    text-align: right;
    padding: 0;
    border-bottom: none;
    background-color: transparent;
    min-height: 120px; 
    transition: background-color 0.3s ease;
}

.category-card:hover {
    background-color: #f3fff6; 
}

.card-title {
    font-size: 1.1em;
    font-weight: bold;
    color: var(--primary-green); 
    margin: 0 0 5px 0;
    position: relative;
    padding-left: 0; 
    
  
    display: flex; 
    align-items: center; 
}


.category-card .card-title::after {
  
    content: ' <'; 
    font-size: 1em; 
    font-weight: bold;
    color: inherit; 
    
    
    margin-right: 5px;
    margin-left: auto; 
}


.category-card .card-title {
    display: flex; 
    width: 100%;
    align-items: center; 
}

.card-description {
    font-size: 0.9em;
    color: #666;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.dropdown-content {
    display: none;
  
}


.dropdown-content.show {
    display: block;
}

.show {
  display: grid !important; 
}
.content-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    padding: 60px 0px;
	align-items: stretch;
}
.separator-container {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0px 0px 20px 0px;
  box-sizing: border-box;
}

.separator-container h2 {
  display: flex;
  align-items: center;
  gap: 15px;
  white-space: nowrap;
  font-family: Arial, sans-serif;
  font-size: 24px;
  color: #a0a0a0;
  margin: 0;
  text-align: center;
  width: 100%;
  justify-content: space-between;
}

.separator-container h2::before {
  content: "";
  flex-grow: 1;
  height: 2px;
  background-color: #d0d0d0;
  max-width: 20%;
}

.separator-container h2::after {
  content: "";
  flex-grow: 1;
  height: 2px;
  background-color: #d0d0d0;
  max-width: 20%;
}


.news-item {
    position: relative;
    border-bottom: none;
    margin-bottom: 10px;
}

.news-text {
    font-weight: 1000;
    color: #000;
    font-size: 20px;
    line-height: 26px;
    position: relative;
}

.news-meta {
    font-size: 0.8rem;
    color: #6b6969;
    position: relative;
    font-weight: bold;
}

.date {
    position: relative;
    font-size: 16px;
    color: #6b6969;
}

.source {
    color: #2a6496; 
}

.news-meta .source {
    color: #6b6969;
    position: relative;
    font-weight: bold;
    font-size: 16px;
}

.news-meta .dot {
    color: #299297;
    font-size: 24px;
    font-weight: bold;
    vertical-align: middle;
    position: relative;
}


.load-more-btn {
    background-color: transparent;
    border: 1px solid #ccc;
    color: #777;
    padding: 10px 20px;
    margin-top: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    border-radius: 5px;
    
}


.tags-row {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.tags-row a {
    text-decoration: none;
    color: #777;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 3px;
    background-color: #eee;}


.featured-articles-column {
    flex: 2; 
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card {
    height: 350px; 
    background-color: #333; 
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    align-items: flex-end; 
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.top-feature {
  
    height: 380px; 
}

.card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 20px;
    width: 100%;
    color: rgb(255, 255, 255);
}
.feature-card .card-overlay h2 {
    color: #fff !important; 
    font-size: 20px;
    line-height: 1.4;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6); 
}


.card-title {
    font-size: 1.2rem;
    line-height: 1.4;
    margin: 0;
}


.bottom-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 20px;
}

.bottom-features-grid .feature-card {
    height: 300px;
}

@media (max-width: 600px) {
    .bottom-features-grid {
        grid-template-columns: 1fr; 
    }
}


.magid-articles-wrapper {

    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}


.magid-articles-wrapper .magid-search-box {
    border: 1px solid #ced4da !important;
    border-radius: 0.25rem !important;
    background-color: #f8f9fa !important;
    padding: 0.375rem 0.75rem !important;
    width: 250px !important;
}
.magid-articles-wrapper .magid-search-input {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    outline: none !important;
    line-height: -140px !important;;
}


.magid-articles-wrapper .magid-tabs-nav {
    border-bottom: none !important;
}
.magid-articles-wrapper .magid-tabs-nav .magid-tab-link {
    border: none !important;
    color: #495057 !important;
    background-color: transparent !important;
    padding: 0.5rem 0.5rem !important;
    font-weight: 500 !important;
    font-size: 1rem !important;

    transition: none !important; 
}

.magid-articles-wrapper .magid-tabs-nav .magid-tab-link.active {
    color: #000 !important;
    border-bottom: 3px solid #000 !important; 
    background-color: transparent !important;
    font-weight: 700 !important;
}


.magid-articles-wrapper .magid-card-item {
    border: none !important; 
    box-shadow: none !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

.magid-articles-wrapper .magid-image {
    border-radius: 8px !important;
    object-fit: cover !important;
    width: 100% !important;
    height: auto !important;
    min-height: 180px !important; 
}

.magid-articles-wrapper .magid-card-body {
    padding: 1rem 0 0 0 !important; 
}


.magid-articles-wrapper .magid-category-text {
    font-size: 0.85rem !important;
    color: #6c757d !important;
    margin-bottom: 0.25rem !important;
    padding: 0 !important;
}

.magid-articles-wrapper .magid-title-text {
    
    font-size: 1.15rem !important; 
    font-weight: bold !important;
    color: #212529 !important; 
    line-height: 1.3 !important;
    margin-bottom: 0.5rem !important;
    padding: 0 !important;
}

.magid-articles-wrapper .magid-meta-text {
    font-size: 0.85rem !important;
    color: #6c757d !important;
    padding: 0 !important;
}

.majed-footer {
    background-color: var(--dark-teal);
    color: var(--text-white);
    font-family: var(--font-primary);
    padding: 60px 0 60px 0;
    direction: rtl;
    font-size: 16px;
    overflow-x: hidden;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}


.footer-top {
    display: flex;
    /* Had l-qīma hiya li kat-ḥakkm f l-farāgh bin l-columns */
    gap: 0px; 
    
    /* Kan-nḥaydū space-between bāsh gap t-khdām mzyān */
    align-items: flex-start;
    flex-wrap: wrap;
    padding-bottom: 50px;
}

.footer-col {
    margin-bottom: 30px;
	width:25%;
}
.footer-col.brand-col {
    width: 40%;
}

.footer-col.footer-menu {
    width: 25%;
}

.footer-col.spacer-col {
    width: 10%;
}




.footer-brand-name {
    font-size: 40px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.5;
    position: relative;
}
.copyright-text {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 15px;
}


.col-title {
    font-size: 1.2rem; 
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 25px;
    line-height: 1.4; 
}


.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.footer-socials a{
    transition: all 0.2s ease-in-out;
}
.footer-socials a:hover {
    transform: scale(1.05);
}

.copyright-text {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 15px;
}

.brand-col a {
    display: block;
    text-align: right;
}

.brand-col p {
    text-align: right;
}
.col-title {
    font-size: 1.2rem;
    font-weight: 700;
    /* Added space above the title to push it down */
    margin-top: 0px;
    margin-bottom: 25px;
    line-height: 1.4;
    text-align: right;
}

/* 2. Style for the Menu List */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right; 
}

.footer-menu li {
    margin-bottom: 15px;
}

.footer-col ul a {
    text-decoration: none;
    color: var(--text-gray);
    transition: 0.3s;
}

.footer-col ul a:hover {
    color: #fff;
}


.spacer-col .empty-space {
    height: 58px; 
}
.cta-menu-mobile {
    text-align: center;
}

.cta-menu-mobile button.login {
    width: 100%;
    margin-bottom: 20px;
}
.categories-sub-menu a{
	width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
	justify-content: center;
}
.is-scrolled header#masthead {
    position: fixed;
    width: 100%;
    z-index: 99;
    top: 0;
}
.logged-in.is-scrolled header#masthead {
    top: 30px;
}
.categories-sub-menu img{
	margin-right: 5px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
}

.ksa-identity {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: bold;
}

.back-to-top-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    margin-right: 0;
}

.back-to-top-link .arrow {
    margin-right: 5px;
    margin-left: 0;
    font-size: 1.1rem;
}

.back-to-top-link:hover {
    color: #fff;
}
.footer-bottom .textwidget {
    display: none;
}

@media (min-width: 769px) {
    .cta-menu-mobile{
        display: none;
    }

}
@media (min-width: 768px) and (max-width: 900px) {
    .head-left .login, .head-left .auth .whatsapp{
        font-size: 12px;
    }
    nav ul li a{
        font-size: 14px;
    }
    .main-navigation ul{
        gap: 10px;
    }
}
@media (max-width: 768px) {
.footer-bottom {
    flex-direction: column;
}
.main-navigation li{
    padding-bottom:20px
}
.menu-mobile-holder {
    display: none;
}
.main-navigation.toggled .menu-mobile-holder {
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    top: 100%;
    background: #ffffff;
    z-index: 99;
    height: calc(100vh - 116px);
    padding: 20px 20px 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.menu-toggled a.search-icon {
    display: none;
}

img.close-menu {
    display: none;
}

.menu-toggled img.close-menu {
    display: block;
}

.menu-toggled img.open-menu {
    display: none;
}


    .footer-col {
    margin-bottom: 0px;
		width: 100% !important;
}
    .ksa-identity{
        margin-top: 20px;
        order: 3;
    }
    .majed-footer {
    padding: 30px 0 30px 0;
}
    .brand-col .textwidget {
    display: none;
}
.footer-bottom .textwidget {
    display: block;
}
    .loop-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}
    .head-right {
    justify-content: space-between;
    width: 100%;
}
    header {
    padding: 10px 20px;
    position:relative;
}
    .head-left {
        display: none;
    }
    .footer-top {
        flex-direction: column;
        text-align: right;
        gap: 0px;
        padding-bottom: 0px;
    }

  
    .footer-col.brand-col {
        right: 0;
        top: 0;
        margin-bottom: 40px; 
    }
    
    .footer-socials {
        justify-content: flex-start;
    }

    .spacer-col .empty-space {
        display: none;
    }


}






















/* categories-mega.css */
body.menu-toggled {
    overflow: hidden;
}
img.arrow-cat {
    margin-right: 10px;
    vertical-align: inherit;
}

div#categories-mega {
    background-image: url('/wp-content/uploads/2025/12/bg-mega-d.png');
    background-repeat: no-repeat;
    background-position: top left;
}
/* Basic reset & container behavior */
#categories-mega {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 90;
    display: none;
    background: #F2FBFC; /* example background matching screenshot */
    box-shadow: 10px 23px 17px rgb(0 0 0 / 11%);
    border-top: 1px solid rgba(0,0,0,0.03);
    direction: rtl; /* as in your screenshot */
}

/* use site-width (same as header container) */
.categories-mega-inner.site-width {
    padding: 40px 20px;
}

/* Grid layout for desktop */
.categories-mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* adjust columns as needed */
    gap: 20px 28px;
    align-items: start;
}

.cat-item {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 6px 0;
}
.cat-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
}
.cat-desc {
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    color: rgba(0,0,0,0.6);
}

/* make sure mega is full width but content centered */
.categories-mega .site-width {
    max-width: 1200px;
    margin: 0 auto;
}

/* small animation */
.categories-mega.show {
    display: block;
    animation: fadeInDown .18s ease both;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ----------------------------
   Mobile styles (panel)
   ----------------------------*/
.categories-mobile-panel {
    display: none;
}

/* When we are in "mobile panel mode", the JS will add .mobile-active to body */
@media (max-width: 768px) {


    .categories-mobile-open div#categories-mega {
    display: block;
}
    /* hide desktop grid on mobile */
    .categories-mega-inner { display: none; }
    .categories-mobile-panel {
        display: block;
        position: fixed;
        top: var(--header-height);
        right: 0;
        bottom: 0;
        width: 100%; /* panel width */
        max-width: 100%;
        background: #eaf7f7;
        z-index: 9999;
        transform: translateX(100%);
        transition: transform .22s ease;
        box-shadow: -6px 0 30px rgba(0,0,0,0.08);
        direction: rtl;
        background-image: url(/wp-content/uploads/2025/12/bg-mega-m.png);
        background-repeat: no-repeat;
        background-position: top left;
    }
    .categories-mobile-panel.open {
        transform: translateX(0);
    }
    .mobile-panel-header {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 18px;
        border-bottom: 1px solid rgba(0,0,0,0.04);
    }
    .mobile-back {
        background: transparent;
        border: 0;
        font-size: 26px;
        cursor: pointer;
        padding: 6px 10px;
    }
    .mobile-panel-title { font-weight: 700; font-size: 15px; }
    .mobile-panel-content {
        padding: 14px;
        overflow-y: auto;
        height: calc(100% - 64px);
    }
    .mobile-cat-item {
        display: block;
        padding: 14px 8px;
        border-bottom: 1px solid rgba(0,0,0,0.03);
        text-decoration: none;
        color: inherit;
    }
    .mobile-cat-title { font-weight: 700; margin-bottom: 6px; }
    .mobile-cat-desc { font-size: 13px; color: rgba(0,0,0,0.6); }
}

/* When main mobile menu is hidden, keep layout tidy */
.menu-mobile-holder.menu-hidden { display: none; }
header{
    position: relative;
}














    /* * --- BANNER CSS STYLES ---
     * Applying the pixel-perfect styling defined in the prompt.
     */
    
    #global-dismissible-banner {
        position: relative;
        width: 100%;
        background-color: #F2FBFC;
        padding: 60px 20px;
        box-shadow: 0 4px 0 0 #365B5E;
        font-family: var(--font-family);
    }
    .banner-dismiss {
        position: absolute;
        top: 10px;
        left: 20px; /* Aligned left for RTL */
        background: none;
        border: none;
        font-size: 30px;
        color: #365B5E;
        cursor: pointer;
        padding: 5px;
        line-height: 1;
        transition: color 0.2s;
        z-index: 10;
    }
    .banner-dismiss:hover {
        color: #ff0000;
    }
    .banner-content-wrapper {
        display: flex;
        flex-direction: row-reverse; /* Puts text/CTA on the right, image on the left */
        align-items: center;
        max-width: 1280px;
        margin: 0 auto;
        gap: 24px;
        justify-content: space-between;
    }
    .banner-image-container {
        flex-basis: 30%;
        max-width: 250px;
        height: 100%;
        display: flex;
        align-items: center;
    }
    .banner-image-container img {
        max-width: 100%;
        height: auto;
        object-fit: cover;
    }
    .banner-text-cta {
        flex-basis: 70%;
        text-align: right;
    }
    .banner-headline {
        font-size: 36px; /* 24px */
        font-weight: 700;
        color: var(--text-primary);
        line-height: normal;
        margin-bottom: 20px;
        color: #365B5E;
    }
    .banner-body {
        font-size: 28px; /* 16px */
        font-weight: 400;
        line-height: 32px;
        margin-bottom: 20px;
        color: #606060;
    }
    .banner-cta-button {
    padding: 15px 50px;
    background-color: #299297;
    color: white;
    border: none;
    text-decoration:none;
    border-radius: 0px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s 
ease;
    display: inline-block;
    }
    .banner-cta-button:hover {
        color: #fff;
        background-color: #3da091;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(77, 184, 168, 0.3);
    }
    .is-hidden {
        display: none !important;
    }
    /* Mobile Responsiveness */
    @media (max-width: 768px) {
        #global-dismissible-banner {
            padding: 16px;
        }
        .banner-content-wrapper {
            flex-direction: column; 
            text-align: center;
        }
        .banner-image-container {
            margin-bottom: 15px;
            max-width: 100%;
        }
        .banner-text-cta {
            flex-basis: auto;
            text-align: center;
        }
        .banner-headline, .banner-body {
            text-align: right; 
        }
        .banner-headline {
            font-size:18px;
        }
        .banner-body {
            font-size:16px;
        }
        .banner-cta-button{
            width:100%;
        }
        #global-dismissible-banner{
            box-shadow:unset;
        }
    }





/* ========================
   form contact us
   ======================== */


.contact-form-container {
    max-width: 600px;
    direction: rtl;
    padding: 20px;
    margin: 0 0 auto auto;
}

.contact-form-container > p {
    margin-bottom: 25px;
}

.form-field-group label {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    text-align: right;
}

.required-star {
    color: #e74c3c;
    font-size: 1.2em;
    padding-right: 5px;
    vertical-align: top;
}

.wpcf7-form-control.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
    transition: border-color 0.3s;
    background-color: transparent;
    text-align: right;
}

.wpcf7-form-control.form-control:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.2);
}

.wpcf7-form-control.form-control::placeholder {
    color: #aaa;
    font-style: italic;
    opacity: 1;
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.wpcf7-submit.submit-button {background-color: rgb(41, 146, 151);color: white;cursor: pointer;font-size: 14px;font-weight: 600;padding: 15px 83px;border-width: initial;border-style: none;border-color: initial;border-image: initial;border-radius: 0px;transition: 0.3s;}

.wpcf7-submit.submit-button:hover {
    background-color: rgb(61, 160, 145);
    transform: translateY(-2px);
    box-shadow: rgba(77, 184, 168, 0.3) 0px 6px 20px;
}







/* ========================
   General Reset & Fonts
   ======================== */
.news-text a {
    font-size: 20px;
    color: #333333;
    text-decoration: none;
    line-height: 20px;
}

/* ========================
   Featured Articles Column
   ======================== */
.featured-articles-column {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Top Feature */
.feature-card {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 0px;
    overflow: hidden;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    color: #fff;
}

.card-title {
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.4rem;
}

/* Top Featured Card */
.top-feature {
    height: 380px;
}

/* Bottom Features Grid */
.bottom-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.bottom-feature-left,
.bottom-feature-right {
    height: 250px;
}

/* ========================
   News List Column
   ======================== */
.news-list-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0px;
	height:100%;
}



.news-text {margin-bottom: 10px;}

.news-meta {
    font-size: 0.9rem;
    color: #595959;
    display: flex;
    gap: 5px;
    align-items: center;
    font-size: 16px;
}

.dot {
    color: #555;
}

/* ========================
   Responsive
   ======================== */
@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
        padding: 20px 0px;
    }
}





























/* Base styles for the section */
.feedback-section {
    padding: 40px 20px;
    background-color: #f2fbfc; /* White background */
    font-family: Arial, sans-serif;
    direction: rtl; /* Setting for Right-to-Left language (Arabic) */
    text-align: right;
}

.feedback-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row-reverse; /* Swap columns for RTL layout */
    gap: 40px;
}

/* Testimonials Column Styling */
.testimonials-column {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin-bottom: 0; /* Gap is managed by grid */
    color: var(--text-color);
}

.testimonial-quote {
    /* The quote icon is stylized using pseudo-elements */
    position: relative;
    padding: 15px;
    margin: 0;
    border: none;
    font-style: normal; /* Override default blockquote italic */
}

.testimonial-quote p {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    color: var(--light-text);
}

.testimonial-author {
    padding-top: 10px;
    display: flex;
    font-size: 0.9rem;
    color: var(--text-color);
    align-content: center;
    align-items: center;
    justify-content: space-between;
}
.testimonial-name-date {
    display: flex;
    flex-direction: column;
}
.testimonial-author span {
    font-weight: bold;
    font-size: 1rem;
    color: var(--text-color);
}

.testimonial-author small {
    color: var(--light-text);
    font-size: 0.8rem;
}

/* Contact Column Styling */
.contact-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-illustration {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 30px;
    /* In a real project, this would be an SVG or image */
}

.contact-form {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form label {
    font-weight: 600;
    color: #365B5E;
    font-size: 0.95rem;
    margin-top: 5px;
}

.contact-form .required {
    color: red;
}

.contact-form input[type="text"],
.contact-form input[type="url"],
.contact-form textarea {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    color: var(--text-color);
    background-color: transparent;
    /* Ensure right-to-left text alignment in input fields */
    text-align: right;
    direction: rtl;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--light-text);
    opacity: 0.7;
    /* This might not be pixel-perfectly matching the font/style, 
       but targets the placeholder color */
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-button {background-color: rgb(41, 146, 151);color: white;cursor: pointer;font-size: 14px;font-weight: 600;padding: 15px 83px;border-width: initial;border-style: none;border-color: initial;border-image: initial;border-radius: 0px;transition: 0.3s;width: fit-content;}

.submit-button:hover {
    background-color: rgb(61, 160, 145);
    transform: translateY(-2px);
    box-shadow: rgba(77, 184, 168, 0.3) 0px 6px 20px;
}
.testimonials-column-bg {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Responsiveness */
@media (max-width: 768px) {
    .secondary-content {
    padding: 20px 10px !important;
}
    .grid-header {
    flex-direction: column;
}
    .wrapalldivs {
    padding: 0px 10px;
}
    .feedback-container {
        flex-direction: column; /* Stack columns on smaller screens */
    }

    .testimonials-column {
        grid-template-columns: 1fr; /* Single column for testimonials */
    }

    .contact-column {
        padding: 30px 20px;
    }

    .submit-button {
        width: 100%;
    }
}


























/* testimonials */

/* --- Section Layout --- */
.guest-book-section {
    padding: 60px 0; /* Adjust padding as needed */
    /* RTL: Important for Arabic text direction */
    direction: rtl;
    text-align: right;
    background: linear-gradient(180deg, #F2FBFC 66.35%, #FFFFFF 100%);
}

.guest-book-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    /* Two columns: one for the testimonial (left), one for the header (right) */
    gap: 40px;
    align-items: center;
}

/* --- Right Column: Header & Description --- */
.guest-book-header {
    padding: 20px 0px;
    /* Aligns the content to the right side of its grid area */
}

.section-title {
    font-size: 3.5rem; /* Large font size for the title */
    color: var(--color-primary);
    font-weight: bold;
    margin-bottom: 20px;
}

.guest-book-header p {
    font-size: 28px;
    color: var(--color-primary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-quote {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-primary);
    /* Make sure the text is below the quote icon */
    padding-top: 20px; 
    margin-bottom: 30px;
}


.author-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-primary);
    margin: 0;
}

.author-position {
    display: block;
    font-size: 0.9rem;
    color: var(--color-quote-light);
    margin-top: 5px;
}

/* --- Slider Navigation Arrows --- */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 2px solid var(--color-quote-light);
    color: var(--color-quote-light);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s, color 0.3s;
}

.slider-arrow:hover {
    background-color: var(--color-quote-light);
    color: var(--color-card-bg);
}

/* Positioning based on RTL (right-to-left) */
.prev-arrow {
    right: -20px; /* Position to the right of the slide content */
}

.next-arrow {
    left: -20px; /* Position to the left of the slide content */
}

/* --- Slider Navigation Dots --- */
.slider-nav-dots {
    text-align: center;
    margin-top: 20px;
}

.dot {
    /* display: inline-block; */
    /* width: 10px; */
    /* height: 10px; */
    /* background-color: var(--color-dots); */
    /* border-radius: 50%; */
    /* margin: 0 5px; */
    /* cursor: pointer; */
    /* transition: background-color 0.3s; */
}

.dot.active {
    background-color: var(--color-dot-active);
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .guest-book-container {
        /* Stack columns vertically on smaller screens */
        flex-direction: column;
    }

    .guest-book-header, .testimonial-slider-wrapper {
        /* Center content when stacked */
        justify-self: center; 
        text-align: center;
        max-width: 600px;
    }
}

.swiper-wrapper {
    align-items: center;
}

/* Testimonial Slider Wrapper */
.testimonial-slider-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Swiper Container */
.testimonial-swiper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 80px;
    position: relative;
    overflow: visible !important;
}

/* Testimonial Card */
.testimonial-card {
    background: #ffffff;
    padding: 20px 20px;
    text-align: right;
    direction: rtl;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #ddd;
}
.testimonial-slider-wrapper .testimonial-card {
    border: 0px solid #ddd;
}
/* Quote Icon */
.quote-icon {
    font-size: 80px;
    line-height: 1;
    color: #1a1a1a;
    display: flex;
    /* font-family: Georgia, serif; */
    /* position: absolute; */
    /* bottom: 30px; */
    /* left: 40px; */
    pointer-events: none;
    align-items: center;
}

/* Testimonial Quote */
.testimonial-quote {
    margin: 0;
    padding: 0;
    border: none;
}

.testimonial-quote p {
    font-size: 18px;
    line-height: 1.8;
    color: #2c3e50;
    margin: 0 0 20px 0;
    font-weight: 400;
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
}


.author-name {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
}

.author-position {
    font-size: 15px;
    color: #7f8c8d;
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
}

/* Navigation Arrows */
.swiper-button-prev,
.swiper-button-next {
    width: 24px !important;
    height: 24px !important;
    background: #299297;
    border-radius: 5px;
    color: #ffffff !important;
    transition: all 0.3s ease;
}

.swiper-button-prev:after,
.swiper-button-next:after {
display:none;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #0097a7;
    transform: scale(1.1);
    box-shadow: 1px 1px 5px rgba(0, 188, 212, 0.4);
}

.swiper-button-prev {
    right: -15px !important;
}

.swiper-button-next {
    left: -15px !important;
}

/* Pagination Dots */
.swiper-pagination {
    bottom: -25px !important;
    position: relative;
    margin-top: 30px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #cbd5e0;
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 6px !important;
}

.swiper-pagination-bullet-active {
    background: #00bcd4;
    width: 32px;
    border-radius: 6px;
}

/* No Testimonials Message */
.no-testimonials {
    text-align: center;
    font-size: 18px;
    color: #7f8c8d;
    padding: 60px 20px;
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonial-swiper {
        padding: 20px 60px;
    }
    
    .testimonial-card {
        padding: 40px 30px;
    }

    
    .testimonial-quote p {
        font-size: 16px;
        line-height: 1.7;
    }
    
    .author-name {
        font-size: 20px;
    }
    
    .author-position {
        font-size: 14px;
    }
    
    .swiper-button-prev,
    .swiper-button-next {
        width: 40px;
        height: 40px;
    }
    
    .swiper-button-prev {
        left: 5px;
    }
    
    .swiper-button-next {
        right: 5px;
    }
}

@media (max-width: 480px) {
    .testimonial-swiper {
        padding: 10px 50px;
    }
    
    .testimonial-card {
        padding: 30px 20px;
        border-radius: 16px;
    }
    
    .testimonial-quote p {
        font-size: 15px;
    }
    
    .author-name {
        font-size: 18px;
    }
}











/**/
.btn-style a {
    padding: 15px 50px;
    background-color: #299297;
    color: white;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-style a:hover {
    background-color: #3da091;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(77, 184, 168, 0.3);
}
.social-color-365B5E path {
    fill: #365B5E;
}





        /* Search Icon */
        .search-icon {
            cursor: pointer;
            display: inline-block;
            transition: transform 0.2s ease;
        }

        .search-icon:hover {
            transform: scale(1.1);
        }

        .search-icon img {
            width: 24px;
            height: 24px;
            display: block;
        }

        /* Lightbox Overlay */
        .search-lightbox {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(5px);
            z-index: 9999;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            padding: 80px 20px 20px;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .search-lightbox.active {
            opacity: 1;
            visibility: visible;
        }

        /* Search Container */
        .search-container {
            width: 100%;
            max-width: 700px;
            transform: translateY(-30px);
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .search-lightbox.active .search-container {
            transform: translateY(0);
            position: relative;
        }

        /* Close Button */
        .search-close {
            position: absolute;
            top: 50px;
            right: 20px;
            width: 30px;
            height: 30px;
            background: rgb(41 146 151);
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            justify-content: center;
            transition: all 0.3s ease;
            color: white;
            font-size: 20px;
            padding: 0px !important;
            display: flex;
            align-content: center;
            align-items: center;
        }

        .search-close:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: rotate(90deg);
        }

        /* Search Input Wrapper */
        .search-input-wrapper {
            position: relative;
            margin-bottom: 20px;
            width: 100%;
        }

        .search-input {
            width: 100%;
            padding: 20px 60px 20px 25px;
            font-size: 18px;
            border: none;
            border-radius: 12px;
            background: white;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
            outline: none;
            transition: box-shadow 0.3s ease;
            flex: 0 0 245px;
            font-size: 14px;
            transition: all 0.3s 
ease;
            padding: 10px 50px 10px 10px !important;
            height: 50px;
            border-color: #E8E8E8 !important;
            border-radius: 7px !important;
            background: #ffffff;
            color: #777777;
            width: 100%;
        }

        .search-input:focus {
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
        }

        .search-input::placeholder {
            color: #999;
        }

        /* Search Icon in Input */
        .search-submit-icon {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            width: 24px;
            height: 24px;
            opacity: 0.4;
        }

        /* Loading Spinner */
        .search-loading {
            display: none;
            position: absolute;
            right: 0;
            left: 0;
            top: 0;
            bottom: 0;
            margin: auto;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .search-loading.active {
            display: block;
        }

        .spinner {
            width: 24px;
            height: 24px;
            border: 3px solid #f3f3f3;
            border-top: 3px solid #3498db;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Results Container */
        .search-results {
            max-height: 500px;
            overflow-y: auto;
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
        }

        .search-results.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
			clip-path: inset(0 round 12px);
        }

        /* Scrollbar Styling */
        .search-results::-webkit-scrollbar {
            width: 8px;
        }

        .search-results::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 0 12px 12px 0;
        }

        .search-results::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 4px;
        }

        .search-results::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

        /* Result Item */
        .result-item {
            display: flex;
            padding: 15px;
            border-bottom: 1px solid #eee;
            transition: background 0.2s ease;
            cursor: pointer;
            text-decoration: none;
            color: inherit;
            animation: slideIn 0.3s ease forwards;
            opacity: 0;
            align-items: flex-start;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(-20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .result-item:nth-child(1) { animation-delay: 0.05s; }
        .result-item:nth-child(2) { animation-delay: 0.1s; }
        .result-item:nth-child(3) { animation-delay: 0.15s; }
        .result-item:nth-child(4) { animation-delay: 0.2s; }
        .result-item:nth-child(5) { animation-delay: 0.25s; }

        .result-item:hover {
            background: #f8f9fa;
        }

        .result-item:last-child {
            border-bottom: none;
        }

        .result-thumbnail {
            width: 80px;
            height: 80px;
            object-fit: cover;
            border-radius: 8px;
            flex-shrink: 0;
        }

        .result-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .result-title {
            font-size: 16px;
            font-weight: 500;
            color: #333;
            margin-right: 10px;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
        }

        .result-excerpt {
            font-size: 14px;
            color: #666;
            line-height: 1.4;
        }

        /* No Results */
        .no-results {
            padding: 40px 20px;
            text-align: center;
            color: #666;
        }

        .no-results-icon {
            font-size: 48px;
            margin-bottom: 15px;
            opacity: 0.3;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
			.categories-sub-menu img{
				transform: rotate(88deg);
				height: 8px;
			}
			.card-overlay {
				padding: 10px;
			}
			.feature-card .card-overlay h2 {
				font-size: 12px;
			}
			.top-feature, .bottom-features-grid .feature-card {
				height: 240px;
			}
            .search-lightbox {
                padding: 100px 15px 15px;
            }

            .search-input {
                padding: 18px 50px 18px 20px;
                font-size: 16px;
            }

            .result-thumbnail {
                width: 60px;
                height: 60px;
            }

            .result-title {
                font-size: 14px;
            }

            .result-excerpt {
                font-size: 13px;
                margin-right: 10px;
            }

            .search-results {
                max-height: 400px;
            }
        }






@media (min-width: 1441px) {
	.single-post .width-blog-main {
		max-width: 60% !important;
	}
		.site-width {
		max-width: 1280px;
		margin: 0 auto;
	}
}