

/* ===== Base Styles ===== */
body  {
  background: #fff !important;
  font-family: "Cairo", sans-serif !important;
  font-style: normal;
}

p, h1, h2, a, li, span, div {
  font-family: "Cairo", sans-serif !important;
  font-style: normal;
}

/* ===== Color Classes ===== */
.t-g-50 { color: #093C33 !important; }
.b-g-50 { background-color: #093C33 !important; }
.b-o-50 { background: #B45B44 !important; }
.t-o-50 { color: #B45B44 !important; }
.b-w-50 { background: #eec612 !important; }
.b-i-50 { background: #08c747b4 !important; }
.b-r-50 { background: #ee1224b4 !important; }
.b-y-50 { background: #0a58e9b4 !important; }
.t-g { color: #0B2B1B !important; }
.t-c-brown { color: #30241B; }
.t-c-brown-50 { color: #D4C5B7 !important; }
.b-c-brown { background-color: #30241B !important; }
.b-c-brown-50 { background-color: #D4C5B7 !important; }
section
{
  background: url('https://potfolio-rouge.vercel.app/static/media/Group%201171275742.33a815a4444f3e989573.png');
}
/* ===== Navigation Styles ===== */
li a, li a button {
  color: #fff !important;
}
li a, 
li a button {
  color: #fff !important;
  text-decoration: none; /* إزالة الخط السفلي التقليدي */
  position: relative; /* لضمان ظهور الـ ::after بشكل صحيح */
}

li a:hover, 
li a button:hover {
  color: #B45B44 !important;
}

li a::after, 
li a button::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px; 
  background-color: #B45B44; 
  bottom: -2px; /* وضع الخط أسفل النص */
  left: 0; /* بداية الخط من اليسار */
  transition: width 0.3s ease-in-out;
}

li a:hover::after, 
li a button:hover::after {
  width: 100%; /* جعل الخط يمتد بطول النص */
  right: 0; /* إلغاء تأثير اليمين */
}

.fixed-div {
  background-color: transparent;
  transition: background-color 0.3s ease;
}
.fixed-div.scrolled {
  position: fixed;
  background-color: white;
  z-index: 100;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
  top:0;
}
.active-li {
  color: #30241B !important;
  font-weight: 800;
}

/* ===== Layout Classes ===== */
.images-det {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.main-state {
  
  display: grid !important;
  grid-template-columns: repeat(3, auto);
  gap: 1rem;
}

/* ===== Component Styles ===== */
.logos {
  display: flex;
  animation: moveLogos 33s linear infinite;
}

.logos img {
  display: inline-block;
  /*padding: 0 1.5rem;*/
}

.b-c-brown-50:hover {
  background-color: rgba(48, 36, 27, 0.8);
}

.vidsec {
  height: 100% !important;
}

.video-docker {
  height: 550px !important;
}

img {
  object-fit: cover !important;
}

.video-docker video {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.video-docker::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.video-content {
  z-index: 2;
}

/* ===== Form Styles ===== */
input, textarea {
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}

.box
{
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px !important  ;
}

[multiple]:focus, [type="date"]:focus, [type="datetime-local"]:focus, [type="email"]:focus, 
[type="month"]:focus, [type="number"]:focus, [type="password"]:focus, [type="search"]:focus, 
[type="tel"]:focus, [type="text"]:focus, [type="time"]:focus, [type="url"]:focus, 
[type="week"]:focus, select:focus, textarea:focus {
  --tw-ring-inset: var(--tw-empty, );
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #30241B !important;
  border-color: #30241B !important;
  outline: 1px solid transparent;
  outline-offset: 2px;
}

/* ===== Custom Components ===== */
.heading-with-line::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 40px;
  background-color: #30241B;
  padding-right: 8px;
  vertical-align: middle;
  margin-bottom: 5px;
}

.textsize {
  width: 86% !important;
  text-wrap: balance !important;
}

.imgcart, .imgcart2 {
  width: 100% !important;
}

.imgcur {
  height: 600px;
}

/* ===== Scroll Animation ===== */
.scroll-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  height: 100px;
}

.scroll-content {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 10s linear infinite;
}

.scroll-content svg {
  width: 100px;
  height: auto;
  margin-right: 20px;
}

/* ===== Fixed Elements ===== */
.icons {
  position: fixed;
  bottom: 40px;
  right: 20px;
  z-index: 100;
}

.icons img {
  width: 40px;
}

.icons2 {
  position: fixed;
  bottom: 90px;
  right: 15px;
  z-index: 100;
  width: 50px;
  height: 50px;
  cursor: pointer;
}

.icons2 img {
  width: 30px;
}

.arrowicon {
  position: fixed;
  bottom: 40px;
  left: 20px;
  z-index: 100;
  width: 50px;
  height: 50px;
  border-radius: 30%;
  background-color: #30241B;
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

.icons2:hover, .icons:hover {
  filter: blur(.1px);
  transition: .3s;
  opacity: .6;
}

/* ===== Loading Page ===== */
.loading-page {
  position: fixed;
  top: 0;
  left: 0;
  background: #30241B;
  z-index: 9999999999999;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  color: #191654;
}

#svg {
  height: 100%;
  width: 200px;
  stroke: #fff;
  fill-opacity: 0;
  stroke-width: 3px;
  stroke-dasharray: 4500;
  animation: draw 8s ease;
}

.logo-name {
  color: #191654;
  font-size: 20px;
  letter-spacing: 12px;
  text-transform: uppercase;
  margin-left: 20px;
  font-weight: bolder;
}

/* ===== Animations ===== */
.gsap-reveal {
  visibility: hidden;
}
@keyframes moveLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

@keyframes scroll-left {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

@keyframes draw {
  0% { stroke-dashoffset: 4500; }
  100% { stroke-dashoffset: 0; }
}

/* ===== Media Queries ===== */
@media (max-width: 768px) {
  .imgcart2, .imgcart {
    width: 100% !important;
  }

  .images-det {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .main-state {
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
  }

  .images-det img {
    height: 100px !important;
  }

  .textsize, .editwidth {
    width: 100% !important;
  }

  .imghid {
    display: none !important;
  }
  .country_code select{
      background-position:right .75rem center;
  }
}