/*
Theme Name: GH
Theme URI: https://gscts.com/gh
Author: Your GSCTS
Author URI: https://gscts.com
Description: A custom WordPress theme for GH
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gh
*/

/* This file is mainly for WordPress theme identification. 
   Main styles are in assets/css/main.css */

/* ===== القواعد العامة والهيكل الأساسي ===== */
body {
  color: #3e4d5c;
  direction: ltr;
  font: 400 13px 'Open Sans', Arial, sans-serif;
  background: #fff !important;
}

h1, h2, h3, h4, h5, h6 {
  font: 300 'Open Sans', sans-serif;
  margin: 0 0 10px;
}

h1 {
  margin-bottom: 15px;
}

.main h1 {
  margin-top: -6px;
}

a {
  color: #E02222;
  text-decoration: none;
}

a, a:focus, a:hover, a:active {
  outline: 0;
  text-decoration: none;
}
.nav-link{font-size:18px!important;}
a:hover {
  color: #E02222;
  text-decoration: underline;
}
.m-menu { list-style-type: none;}
.main-menu {
  background-color: #fff;
  padding: 10px 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  text-align: center;
}

.main-menu ul {
  list-style: none;
  padding-top: 25px;
  display: flex;
  justify-content: center;
  gap: 30px;
}
.ul-l{margin-left:50px;}
.main-menu li {
  display: inline-block;
}

.main-menu a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s;
}

.main-menu a:hover {
  color: #ffd700;
}

.header-navigation {
  font: 15px "Open Sans", sans-serif;
  margin: 0 10px 0 0;
  padding: 0;
  float: left;
  text-transform: uppercase;
}

.header > nav > ul > li > a {
  color: #333;
  display: block;
  padding: 29px 12px 30px;
  font-size: 18px !important;
}

.header ul > li.active > a,
.header ul > li > a:hover,
.header ul > li > a:focus,
.header ul > li.open > a,
.header ul > li.open > a:hover,
.header ul > li.open > a:focus {
  color: #e02222;
  background: #fcfcfc;
  text-decoration: none;
}

/* ===== السلايدر ===== */
.swiper-slide img {
  width: 100%;
  height: 90vh;
  object-fit: cover;
  display: block;
}

.swiper-slide {
  position: relative;
}

.slide-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 400;
  color: #fff;
  padding: 10px 0px;
  font-size: 40px;
  border-radius: 8px;
  text-align: center;
}

/* ===== المحتوى الرئيسي ===== */
.main-container {
  width: 90%;
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}



.main {
  min-height: 650px;
}

/* ===== الفوتر ===== */
.pre-footer {
  background: #313030;
  color: #b0b0b0;
}

.footer {
  background: #272626;
  color: #fff;
  font-size: 12px;
  padding: 15px 0;
}

.footer ul.social-footer {
  font-size: 18px;
  padding-top: 5px;
}

.footer ul {
  margin: 0;
  padding: 0;
}

.social-footer.horizontal {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-footer.horizontal li {
  margin: 0 10px;
}

/* ===== الخدمات ===== */
.service-box p {
  color: #656565;
  font-size: 13px;
}

.service-box .service-box-heading {
  padding: 12px 0;
}

.service-box .service-box-heading i {
  padding: 0;
  border-radius: 34px;
  font-size: 18px;
  height: 32px;
  width: 32px;
  line-height: 32px;
  text-align: center;
  vertical-align: baseline;
}

.service-box .service-box-heading i.blue {
  color: #0da3e2;
  border: 1px solid #0da3e2;
}

.service-box .service-box-heading i.red {
  color: #db3a1b;
  border: 1px solid #db3a1b;
}

.service-box .service-box-heading i.green {
  color: #35aa47;
  border: 1px solid #35aa47;
}

/* ===== الأعمال الحديثة ===== */
.recent-work-item img {
  max-width: 274px !important;
  max-height: 200px !important;
  min-height: 200px !important;
  min-width: 274px !important;

}

/* ===== الأزرار والأيقونات ===== */
.icon-btn {
  height: 60px;
  min-width: 80px;
  margin: 0 5px 5px 0;
  border: 1px solid #ddd;
  padding: 12px 0px 0px 0px;
  background-color: #fafafa !important;
  display: inline-block !important;
  color: #646464 !important;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease !important;
}

/* ===== التنسيقات الخاصة ===== */
.gscts-green {
  color: #3edb27;
}

.gscts-red {
  color: #E02222;
}

/* ===== التعديلات على الشعار ===== */

.logo {
    max-height: 100px;
    object-fit: contain;
}
.navbar-collapse{padding-top: 30px;}
.navbar-nav > li > a {
    padding: 8px 15px;
    font-weight: 500;
}

.navbar-brand.logo img {
  max-height: 80px;
  width: auto;
  margin-right: 50px;
  margin-top: 10px;
}
/* لضبط القائمة المنسدلة مع العنصر الأب */
.navbar-nav .dropdown-menu {
    left: 0 !important;
    right: auto;
    top: 100%; /* تظهر مباشرة أسفل عنصر Projects */
    transform: none !important;
    margin-top: 45px !important;
    border-radius: 0;
    min-width: 200px; /* أو auto إذا أردت عرضه حسب المحتوى */
    z-index: 1000;
    border-radius:5px !important;
}

/* تنسيق عناصر القائمة المنسدلة */
.navbar-nav .dropdown-menu .dropdown-item {
    padding: 8px 20px;
    font-size: 15px;
    color: #003f6b; /* لون مستخرج من الشعار */
}

.dropstart .dropdown-toggle::before {display:none!important;}
/* تفاعل hover */
.navbar-nav .dropdown-menu .dropdown-item:hover {
    background-color: #e6f3fa; /* خلفية بلون أزرق فاتح */
    color: #00a4e4;
}
.dropdown-menu {
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: 0;
}
/* ===== التعديلات للشاشات الصغيرة ===== */
@media (max-width: 768px) {
  .swiper-slide img {
    height: 40vh;
  }
}

@media (max-width: 480px) {
  .swiper-slide img {
    height: 30vh;
  }
}

/* ===== التعديلات على خطوات العرض الأمامي ===== */
.front-steps-wrapper .front-step::before {
  bottom: -20px !important;
  opacity: 0.3 !important;
}

/*----------------------------------------*/
        .projects-section {
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            max-width: 1200px;
            margin: 30px auto;
        }
        .section-header {
            background: linear-gradient(90deg, #1a3a5f, #2c5282);
            color: white;
            padding: 25px 0;
            text-align: center;
            margin-bottom: 30px;
        }
        .section-header h2 {
            font-weight: 700;
            font-size: 2.5rem;
            margin-bottom: 10px;
        }
        .section-header p {
            font-size: 1.1rem;
            max-width: 700px;
            margin: 0 auto;
            opacity: 0.9;
        }
        .project-card {
            transition: all 0.3s ease;
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 25px;
            height: 100%;
            border: none;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        .project-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
        }
        .img-container {
            height: 210px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f8f9fa;
        }
        .project-img {
            max-height:200px;
            width: auto;
            max-width: 200px;
            object-fit: cover;
            transition: transform 0.4s ease;
        }
        .project-card:hover .project-img {
            transform: scale(1.05);
        }
        .project-content {
            padding: 10px;
            background: white;
        }
        .project-title {
            font-weight: 700;
            font-size: 1.3rem;
            margin-bottom: 10px;
            color: #2d3748;
            transition: color 0.3s ease;
        }
        .project-card:hover .project-title {
            color: #2b6cb0;
        }
        .project-link {
            display: inline-block;
            margin-top: 10px;
            color: #2b6cb0;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        .project-link:hover {
            color: #1a56db;
            transform: translateX(5px);
        }
        .project-link i {
            margin-left: 5px;
            transition: transform 0.3s ease;
        }
        .project-link:hover i {
            transform: translateX(3px);
        }
        .footer {
            background: linear-gradient(90deg, #1a3a5f, #2c5282);
            color: white;
            padding: 30px 0;
            margin-top: 0px;
            border-radius: 0 0 15px 15px;
        }
        @media (max-width: 768px) {
            .img-container {
                height: 180px;
            }
        }
