/* Reset some default styles */
body, h1, h2, h3, h4, p, a {
    margin: 0;
    padding: 0;
    text-decoration: none;
    color: inherit;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body{
  background: #ecf0f3;
}
nav{
  width: 100%;
  padding: 12px 0;
  background: #ecf0f3;
  box-shadow: -3px -3px 7px #ffffff,
              3px 3px 5px #ceced1,
              inset -3px -3px 7px #ffffff,
              inset 3px 3px 5px #ceced1;
}
nav .menu {
  max-width: 1270px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.menu .logo a {
  font-size: 28px;
  font-weight: 600;
  text-decoration: none;
  color: #31344b;
}
.menu ul {
  list-style: none;
  display: flex;
}
.menu ul a {
  margin: 0 8px;
  text-decoration: none;
  font-size: 18px;
  color: #31344b;
  font-weight: 400;
  display: inline-flex;
  padding: 10px 12px;
  box-shadow: -3px -3px 7px #ffffff,
             3px 3px 5px #ceced1;
  position: relative;
  transition: all 0.3s ease;
}
.menu ul a:hover:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: inset -3px -3px 7px #ffffff,
              inset 3px 3px 5px #ceced1;
}
.center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.upper {
  font-size: 40px;
  font-weight: 600;
  color: #31344b;
}
.lower {
  font-size: 40px;
  font-weight: 600;
  color: #31344b;
}
.menu ul a:hover {
  color: #3498db;
}
nav label.btn {
  color: #31344b;
  font-size: 18px;
  cursor: pointer;
  display: none;
}
nav label.cancel {
  position: absolute;
  top: 25px;
  right: 30px;
}
#check {
  display: none;
}
.side_bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 250px;
  background: #ecf0f3;
  box-shadow: 3px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 10;
  transition: all 0.3s ease;
  transform: translateX(-250px);
}
.side_bar .title {
  position: relative;
  padding: 15px 20px;
  background: #ecf0f3;
  box-shadow: 3px 3px 7px #ceced1, -3px -3px 7px #ffffff;
}
.side_bar .title .logo {
  font-size: 22px;
  font-weight: 600;
  color: #31344b;
}
.side_bar .title .button.cancel {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 20px;
  cursor: pointer;
}
.side_bar ul {
  list-style: none;
  padding: 20px;
}
.side_bar ul li {
  margin: 15px 0;
}
.side_bar ul li a {
  text-decoration: none;
  font-size: 18px;
  color: #31344b;
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 5px;
  transition: background 0.3s ease, color 0.3s ease;
}
.side_bar ul li a i {
  margin-right: 10px;
}
.side_bar ul li a:hover {
  background: #3498db;
  color: #fff;
}
.side_bar .media_icons {
  display: flex;
  justify-content: space-around;
  padding: 20px;
}
.side_bar .media_icons a {
  font-size: 20px;
  color: #31344b;
  transition: color 0.3s ease;
}
.side_bar .media_icons a:hover {
  color: #3498db;
}
#check {
  display: none;
}
#check:checked ~ .side_bar {
  transform: translateX(0);
}
.button.bars {
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 24px;
  cursor: pointer;
  z-index: 11;
}
@media (min-width: 940px) {
  .side_bar {
    display: none;
  }
  .button.bars {
    display: none;
  }
  .side_bar .title .button.cancel {
    display: none;
  }
}
@media (max-width: 939px) {
  .menu ul {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: 400px;
    padding-top: 45px;
    height: 100%;
    background: #ecf0f3;
    box-shadow: 0 5px 10px #b0b0b5;
    z-index: 12;
    transition: all 0.3s ease;
  }
  .menu ul a {
    display: block;
    font-size: 23px;
    width: 100%;
    margin-top: 30px;
    box-shadow: none;
    text-align: center;
  }
  .menu ul a:hover:before {
    box-shadow: none;
  }
  nav label.bars {
    display: block;
  }
  #check:checked ~ label.bars {
    display: none;
  }
  #check:checked ~ ul label.cancel {
    display: block;
  }
  #check:checked ~ ul {
    left: 0;
  }
}


/* General styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    padding-top: 60px; /* أضف هذه المسافة العلوية لتعويض ارتفاع الـ Navbar */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}
.about-us-link {
    padding-right: 15px; /* يمكنك تغيير القيمة حسب الحاجة */
}

/* Styles for Hero Section */
#hero-section {
    background-image: url('img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

#hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

#hero-section .container {
    position: relative;
    z-index: 2;
}


/* 3D Effect and Glow */
.section-3d {
  position: relative;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.section-3d:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 0 10px #00FF00;
}

/* Keyframes and Animations */
@keyframes fade-in {
  0% {
    opacity: 0;
    filter: blur(4px);
    transform: scale(0.94);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

.display-4 span {
  display: inline-block;
  opacity: 0;
  filter: blur(4px);
  transform: scale(0.94);
}

.display-4 span:nth-child(1) { animation: fade-in 0.8s 0.1s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.display-4 span:nth-child(2) { animation: fade-in 0.8s 0.2s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.display-4 span:nth-child(3) { animation: fade-in 0.8s 0.3s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.display-4 span:nth-child(4) { animation: fade-in 0.8s 0.4s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.display-4 span:nth-child(5) { animation: fade-in 0.8s 0.5s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.display-4 span:nth-child(6) { animation: fade-in 0.8s 0.6s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.display-4 span:nth-child(7) { animation: fade-in 0.8s 0.7s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.display-4 span:nth-child(8) { animation: fade-in 0.8s 0.8s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.display-4 span:nth-child(9) { animation: fade-in 0.8s 0.9s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.display-4 span:nth-child(10) { animation: fade-in 0.8s 1.0s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.display-4 span:nth-child(11) { animation: fade-in 0.8s 1.1s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.display-4 span:nth-child(12) { animation: fade-in 0.8s 1.2s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.display-4 span:nth-child(13) { animation: fade-in 0.8s 1.3s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.display-4 span:nth-child(14) { animation: fade-in 0.8s 1.4s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.display-4 span:nth-child(15) { animation: fade-in 0.8s 1.5s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.display-4 span:nth-child(16) { animation: fade-in 0.8s 1.6s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.display-4 span:nth-child(17) { animation: fade-in 0.8s 1.7s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.display-4 span:nth-child(18) { animation: fade-in 0.8s 1.8s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.display-4 span:nth-child(19) { animation: fade-in 0.8s 1.9s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.display-4 span:nth-child(20) { animation: fade-in 0.8s 2.0s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.display-4 span:nth-child(21) { animation: fade-in 0.8s 2.0s forwards cubic-bezier(0.11, 0, 0.5, 0); }

/* Animations for each word in the paragraph */
.lead span {
  display: inline-block;
  opacity: 0;
  filter: blur(4px);
  transform: scale(0.94);
}

.lead span:nth-child(1) { animation: fade-in 0.8s 0.1s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(2) { animation: fade-in 0.8s 0.2s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(3) { animation: fade-in 0.8s 0.3s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(4) { animation: fade-in 0.8s 0.4s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(5) { animation: fade-in 0.8s 0.5s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(6) { animation: fade-in 0.8s 0.6s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(7) { animation: fade-in 0.8s 0.7s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(8) { animation: fade-in 0.8s 0.8s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(9) { animation: fade-in 0.8s 0.9s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(10) { animation: fade-in 0.8s 1.0s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(11) { animation: fade-in 0.8s 1.1s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(12) { animation: fade-in 0.8s 1.2s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(13) { animation: fade-in 0.8s 1.3s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(14) { animation: fade-in 0.8s 1.4s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(15) { animation: fade-in 0.8s 1.5s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(16) { animation: fade-in 0.8s 1.6s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(17) { animation: fade-in 0.8s 1.7s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(18) { animation: fade-in 0.8s 1.8s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(19) { animation: fade-in 0.8s 1.9s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(20) { animation: fade-in 0.8s 2.0s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(21) { animation: fade-in 0.8s 2.1s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(22) { animation: fade-in 0.8s 2.2s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(23) { animation: fade-in 0.8s 2.3s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(24) { animation: fade-in 0.8s 2.4s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(25) { animation: fade-in 0.8s 2.5s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(26) { animation: fade-in 0.8s 2.6s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(27) { animation: fade-in 0.8s 2.7s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(28) { animation: fade-in 0.8s 2.8s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(29) { animation: fade-in 0.8s 2.9s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(30) { animation: fade-in 0.8s 3.0s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(31) { animation: fade-in 0.8s 3.1s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(32) { animation: fade-in 0.8s 3.2s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(33) { animation: fade-in 0.8s 3.3s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(34) { animation: fade-in 0.8s 3.4s forwards cubic-bezier(0.11, 0, 0.5, 0); }
.lead span:nth-child(35) { animation: fade-in 0.8s 3.5s forwards cubic-bezier(0.11, 0, 0.5, 0); }

/* Keyframes for Button */
@keyframes fade-in-button {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation for Button */
.btn-primary {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-in-button 1s forwards cubic-bezier(0.11, 0, 0.5, 0);
  animation-delay: 1.2s; /* تعديل التوقيت ليتناسب مع التوقيت النهائي للنص السابق */
}

/* News Section styles */
#news-section .accordion-button {
  font-size: 1.2rem;
  background-color: #f8f9fa;
  border: none;
  padding: 15px;
}

#news-section .accordion-button:hover {
  background-color: #e9ecef;
}

#news-section .accordion-item {
  border: none;
}

#news-section .accordion-header {
  font-size: 1rem;
}

#news-section .accordion-body {
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 5px;
}

#news-section .accordion-body a {
  color: #007bff;
  text-decoration: underline;
}

#news-section .accordion-body a:hover {
  text-decoration: none;
}

#news-section .btn-primary {
  background-color: #007bff;
  border-color: #007bff;
  transition: background-color 0.3s, border-color 0.3s;
}

#news-section .btn-primary:hover {
  background-color: #0056b3;
  border-color: #004085;
}
 /* Head2 Font */
@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');

.typewriter-title {
  font-family: 'Special Elite', cursive;
  font-size: 2.5rem;
  color: #333;
  border-bottom: 3px solid #333;
}
/* About Us Section */
.about-section {
    background-color: #fff;
    padding: 50px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 8px;
    margin: 20px 0;
    perspective: 1000px;
}

.about-section:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 0 10px rgba(0, 255, 0, 0.5); /* تقليل تأثير اللون الأخضر */
}

.floating-card {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  transform: rotateX(15deg) rotateY(-15deg);
  transition: transform 0.5s;
}

.floating-card:hover {
  transform: rotateX(5deg) rotateY(0deg);
}
/* 3D Effect and Glow */
.section-3d {
  position: relative;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.section-3d:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 0 10px #00FF00;
  
}
@import url('https://fonts.googleapis.com/css2?family=Bungee+Inline&display=swap');

.three-d-title {
  font-family: 'Bungee Inline', cursive;
  font-size: 2.5rem;
  color: #333;
  text-shadow: 3px 3px 0px #b3b3b3;
}

/* Our Team Section */
.our-team-section {
  background-color: #f8f9fa;
  padding: 50px 0;
  background: linear-gradient(145deg, #e0e0e0, #ffffff);
}

.our-team-section h2 {
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: #333;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Style for each team member card */
.card.team-member {
  margin-bottom: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  /* إزالة العرض الثابت أو أي خصائص قد تؤثر على Flexbox */
  flex: 1;
  flex-basis: 100%;
  max-width: 100%;
}

.card.team-member:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card.team-member .card-img-top {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.card.team-member:hover .card-img-top {
  transform: scale(1.05);
}

.card.team-member .card-body {
  padding: 20px;
  text-align: center;
}

.card-body {
    color: black;
}


.card.team-member .card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #333;
}

.card.team-member .card-text {
  color: #777;
}

/* Flexbox لضمان عرض الأعمدة بجانب بعضها البعض */
/* ضبط Flexbox على الحاوية */
.row {
	display: flex;
	flex-wrap: wrap;
}

/* إعداد الأعمدة للحصول على مساحة متساوية */
.col-md-3 {
	flex: 1;
	flex-basis: 25%;
	/* كل عمود يأخذ 25% من العرض الكلي */
	max-width: 25%;
}

/* لضمان استجابة الأعمدة للشاشات الأصغر */
@media (max-width: 767px) {
	.col-md-3 {
		flex-basis: 100%;
		max-width: 100%;
	}
}

/* 3D Effect and Glow */
.section-3d {
  position: relative;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.section-3d:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 0 10px rgba(0, 255, 0, 0.5);
}
 /* Head2 Font */
 .fancy-title {
   font-family: 'Lobster', cursive;
   font-size: 2.5rem;
   color: #333;
   text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
 }

/* Gallery Section */
.gallery-section {
    background-color: #fff;
    padding: 50px 0;
}

.gallery-section h2 {
    margin-bottom: 30px;
}

/* ارتفاع الكاروسيل للشاشات الصغيرة (الهواتف) */
.carousel-inner {
    height: 400px; /* الارتفاع الافتراضي للهواتف */
}

/* ارتفاع الكاروسيل للشاشات الكبيرة (أجهزة الكمبيوتر) */
@media (min-width: 768px) {
    .carousel-inner {
        height: 600px; /* يمكنك ضبط هذه القيمة حسب الحاجة */
    }
}

@media (min-width: 992px) {
    .carousel-inner {
        height: 700px; /* يمكنك ضبط هذه القيمة حسب الحاجة */
    }
}

.carousel-inner img {
    height: 100%; /* Make the image fill the container */
    width: 100%;
    object-fit: cover;
}

@media (min-width: 992px) {
    .carousel-inner {
        height: 600px; /* Increase height for desktop */
    }

    .carousel-inner img {
        height: 100%;
        object-fit: cover; /* Ensure image covers the new height */
    }
}

.carousel-caption h5 {
    color: #fff;
}
/* test 
.contact-section {
  text-align: center;
  margin-bottom: 30px;
  font-size: 24px;
  color: #333;
} فقط لو اردت للذيل اسفل القسم ان يظهر*/
.wrapper {
  justify-content: center;
  display: flex;
  list-style: none;
  gap: 25px; /* زيادة المسافة بين الأيقونات */
  padding: 40px 0;
}

.wrapper .icon {
  position: relative;
  background: #ffffff;
  border-radius: 50%;
  padding: 15px;
  margin: 10px;
  width: 50px;
  height: 50px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip {
  position: absolute;
  top: 0;
  font-size: 14px;
  background: #ffffff;
  color: #ffffff;
  padding: 5px 8px;
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip::before {
  position: absolute;
  content: "";
  height: 8px;
  width: 8px;
  background: #ffffff;
  bottom: -3px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon:hover .tooltip {
  top: -45px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.wrapper .telegram:hover,
.wrapper .telegram:hover .tooltip,
.wrapper .telegram:hover .tooltip::before {
  background: #1877f2;
  color: #ffffff;
}

.wrapper .twitter:hover,
.wrapper .twitter:hover .tooltip,
.wrapper .twitter:hover .tooltip::before {
  background: #222222;
  color: #ffffff;
}

.wrapper .instagram:hover,
.wrapper .instagram:hover .tooltip,
.wrapper .instagram:hover .tooltip::before {
  background: #e4405f;
  color: #ffffff;
}

.wrapper .github:hover,
.wrapper .github:hover .tooltip,
.wrapper .github:hover .tooltip::before {
  background: #833ab4;
  color: #ffffff;
}

.wrapper .TelegramChat:hover,
.wrapper .TelegramChat:hover .tooltip,
.wrapper .TelegramChat:hover .tooltip::before {
  background: #ff4dc4;
  color: #ffffff;
}
.icon-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* تأكد من أن الأيقونات تظهر بشكل صحيح */
.wrapper .icon {
  position: relative;
  background: #ffffff;
  border-radius: 50%;
  padding: 15px;
  margin: 15px;
  width: 50px;
  height: 50px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
/* تأثير أثناء الانتظار */
.wrapper .icon.click-effect {
  transform: scale(0.9);
  opacity: 0.7;
  transition: all 0.5s ease;
}

/* إزالة التأثير بعد النقل */
.wrapper .icon {
  transition: all 0.3s ease;
}



/* استهداف محدد جداً للعنوان */
#contact .container.slanted-title h1.contact-header {
  text-align: left;
  margin-left: 20px;
  display: block;
  width: calc(100% - 20px);
}

/* إذا لم يعمل، نستخدم: */
#contact h1.contact-header {
  text-align: left !important;
  margin: 20px 0 20px 20px !important;
  padding-left: 20px !important;
  transform: translateX(20px) !important;
}
/* Larger icons */
.wrapper .icon {
  width: 60px !important;
  height: 60px !important;
  font-size: 24px !important;
  margin: 15px !important;
}

/* Adjust tooltip position for larger icons */
.wrapper .icon:hover .tooltip {
  top: -55px !important;
}




/* General Contact us styling */
body {
    font-family: Arial, sans-serif;
    background-color: #ADD8E6;
    margin: 0;
    padding: 0;
}



/* Simple Contact Section Styling */
#simple-contact {
    padding: 20px 0;
    background-color: #f8f9fa;
}

#simple-contact .contact-form {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#simple-contact .form-group {
    margin-bottom: 15px;
}

#simple-contact .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}
.slanted-title {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  color: #333;
  transform: skew(-10deg);
}

/* تحسين مظهر النافذة المنبثقة */
.modal-content {
  background-color: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-header {
  border-bottom: none;
  position: relative;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #007bff;
}

.close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.4rem;
  color: #aaa;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-body {
  font-size: 1.1rem;
  color: #28a745;
  text-align: center;
  padding: 20px;
}

.modal-footer {
  border-top: none;
  justify-content: center;
}

.btn-secondary {
  background-color: #6c757d;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1rem;
}

.btn-secondary:hover {
  background-color: #5a6268;
}

