/* 
   Arabic Contracting Website Styles
   Main Stylesheet
*/

/* ======= Loding Page ========== */
.loading-gif {
  max-width: 500px;
}

.pre-loader {
  position: fixed;
  z-index: 9999999;
  /** make sure this is the highest value compared to all other divs **/
  top: 0;
  left: 0;
  background: #191f26;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

.pre-loader.hidden {
  animation: fadeOut 2s;
  /** change to 1s */
  animation-fill-mode: forwards;
}

@keyframes fadeOut {
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* ===== GLOBAL STYLES ===== */
:root {
  /* --primary-color: #1e3a8a; */
  --primary-color: #1e3a8a;
  /* --secondary-color: #f59e0b; */
  /* --primary-color: #b61924; */
  /* --primary-color: #b61924; */
  --secondary-color: #f59e0b;
  --text-color: #333;
  --light-color: #f8fafc;
  --dark-color: #0f172a;
  --gray-color: #64748b;
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --error-color: #ef4444;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  /* font-family: 'Cairo', 'Tajawal', sans-serif; */
  font-family: "Vazirmatn", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
  direction: rtl;
  position: relative;
}

@media (max-width: 576px) {
  html,
  body {
    overflow-x: hidden;
  }
}

.btn-whatsapp {
  position: fixed;
  bottom: 25px;
  left: 20px;
  z-index: 99999;
  display: inline-block;
  width: 50px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
}

p {
  margin-bottom: 15px;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn:hover {
  background-color: var(--secondary-color);
  color: #fff;
}

.btn-small {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.center {
  text-align: center;
  margin-top: 30px;
}

/* ====== Upper Nav ======== */
.upper__nav {
  background-color: var(--primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #f8fafc;
  padding: 5px 90px;
}

.upper__nav .social-up {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  font-size: 22px;
}

.upper__nav .social-up a {
  color: #f8fafc;
  font-size: 13px;
  display: flex;
  align-items: center;
}

.upper__nav .email-up {
  display: flex;
  align-items: center;
  gap: 10px;
}

.upper__nav .email-up i {
}

.upper__nav .email-up a {
  color: #f8fafc;
  font-size: 13px;
  display: flex;
  align-items: center;
}

.upper__nav .phone-up a {
  color: #f8fafc;
}

.upper__nav a:hover,
.email-up span a:hover {
  color: var(--secondary-color);
}

@media (max-width: 768px) {
  .upper__nav {
    display: flex;
    align-items: center;
    flex-flow: column;
  }

  .upper__nav .email-up span a {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-direction: row-reverse;
  }
}

/* ====== Logo ======== */
.logo {
  width: 80px;
  height: 80px;
  max-height: 100%;
  max-width: 100%;
  text-align: center;
}

.logo a img {
  max-width: 100%;
  max-height: 100%;
}

/* ===== HEADER STYLES ===== */
header {
  background-color: #fff;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 999999;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}

.logo h1 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin: 0;
}

nav ul {
  display: flex;
  margin-bottom: 0;
}

nav ul li {
  margin-right: 25px;
}

nav ul li:last-child {
  margin-right: 25px;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 600;
  padding: 10px 0;
  position: relative;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 3px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ======= Landing Page ======== */
.landing-page {
  width: 100%;
  height: calc(100vh - 140.8px);
  position: relative;
  overflow: hidden;
}

.landing-page::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  /* background-color: rgb(182 25 36 / 20%); */
  background-color: rgb(8 66 152 / 25%);
}

@media (max-width: 768px) {
  .landing-page {
    height: 48vh;
  }
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  background-image: url("../images/pexels-quang-nguyen-vinh-222549-2138126.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}

.landing-page .info {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 99999;
}

.landing-page .info .info-content h1 {
  color: #fff;
  font-size: 4.5em;
  width: fit-content;
  margin: 0 auto;
  padding: 25px;
  text-shadow: 12px 13px 20px #000;
}

.landing-page .info .info-content p {
  width: fit-content;
  margin: 0 auto;
  font-size: 24px;
  color: #dee2e6;
  margin-bottom: 77px;
}

@media (max-width: 768px) {
  .landing-page .info .info-content h1 {
    font-size: 34px;
  }

  .landing-page .info .info-content p {
    font-size: 17px;
    margin-bottom: 15px;
  }

  .landing-page .info .info-content a {
    padding: 10px 25px;
  }
}

/* ---- stats.js ---- */
.count-particles {
  background: #000022;
  position: absolute;
  top: 48px;
  left: 0;
  width: 80px;
  color: #13e8e9;
  font-size: 0.8em;
  text-align: left;
  text-indent: 4px;
  line-height: 14px;
  padding-bottom: 2px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
}

.js-count-particles {
  font-size: 1.1em;
}

#stats,
.count-particles {
  -webkit-user-select: none;
  margin-top: 5px;
  margin-left: 5px;
}

#stats {
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}

.count-particles {
  border-radius: 0 0 3px 3px;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../images/bg_header.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 120px 0;
  text-align: center;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

/* ===== SERVICES PREVIEW ===== */
.services-preview {
  padding: 80px 0;
  background-color: var(--light-color);
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  background-color: var(--primary-color);
  color: #fff;
}

.homepage .service-icon {
  width: 70px;
  height: 70px;
}

.service-icon {
  width: 100px;
  height: 60px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

@media (max-width: 768px) {
  .service-icon {
    width: 145px;
    height: 50px;
    font-size: 25px;
  }
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* ===== PROJECTS PREVIEW ===== */
.projects-preview {
  padding: 80px 0;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  background-color: #fff;
}

.project-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.project-image .gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  background-image: linear-gradient(to right, rgb(0 0 0 / 50%), #084298);
  opacity: 0.3;
}

.project-image:hover .gradient {
  background-color: none;
  background-image: none;
  opacity: 0;
  transition: var(--transition);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 58, 138, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.project-info p {
  color: var(--gray-color);
  margin-bottom: 15px;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 80px 0;
  background-color: var(--light-color);
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  gap: 25px;
}

.testimonial {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--box-shadow);
}

@media (max-width: 768px) {
  .testimonials-container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

.testimonial-text {
  position: relative;
  padding: 20px 0;
}

.testimonial-text::before {
  content: '"';
  font-size: 5rem;
  color: var(--primary-color);
  opacity: 0.2;
  position: absolute;
  top: -20px;
  right: 0;
}

.testimonial-author h4 {
  color: var(--primary-color);
  margin-bottom: 5px;
}

.card-body blockquote {
  padding: 10px 10px 30px;
}

/* ===== CONTACT PREVIEW ===== */
.contact-preview {
  padding: 80px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("../images/bg_header.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  background-attachment: fixed;
}

.contact-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

.map-section iframe {
  width: 100%;
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--dark-color);
  color: #fff;
  padding-top: 70px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
}

@media (max-width: 768px) {
  .footer-section h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    margin-right: -25px;
  }

  .social-links {
    justify-content: center;
  }
}

.footer-section p {
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  margin-left: 10px;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary-color);
}

.footer-section.links ul li {
  margin-bottom: 10px;
}

.footer-section.links ul li a {
  color: #fff;
  transition: var(--transition);
}

.footer-section.links ul li a:hover {
  color: var(--secondary-color);
  padding-right: 5px;
}

.footer-section.contact p {
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .footer-section.contact p {
    display: flow-root;
  }
}

.footer-section.contact p i {
  margin-left: 10px;
  color: var(--secondary-color);
}

.footer-section.contact p a {
  color: #fff;
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  text-align: center;
}

/* ===== PAGE BANNER ===== */
.contact .page-banner {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../images/contact01.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-banner {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../images/ser1.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.breadcrumb {
  font-size: 1rem;
}

.breadcrumb a {
  color: var(--secondary-color);
  margin: 0 5px;
}

.breadcrumb span {
  color: #fff;
  margin: 0 5px;
}

/* ===== ABOUT PAGE STYLES ===== */
.about-section {
  padding: 80px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.vision-mission {
  padding: 80px 0;
  background-color: var(--light-color);
}

.vm-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.vm-box {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.vm-box:hover {
  transform: translateY(-25px);
  background-color: var(--primary-color);
  color: #fff;
}

.vm-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.team-section {
  padding: 80px 0;
}

.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.leader-team {
  width: 300px;
  margin: auto;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .leader-team {
    width: 100%;
  }
}

.team-member {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 0px 35px #eceeef;
  transition: var(--transition);
  margin-bottom: 30px;
}

.team-member:hover .member-image img {
  transform: scale(1.2);
}

.member-image {
  /* height: 250px; */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.member-image img {
  width: 64px;
  height: 64px;
  margin: 25px;
  transition: var(--transition);
  object-fit: cover;
}

.member-info {
  padding: 20px;
  text-align: center;
}

.member-info h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.position {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 10px;
}

.why-choose-us {
  padding: 80px 0;
  background-color: var(--light-color);
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.feature {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-10px);
  background-color: var(--primary-color);
  color: #fff;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}

.clients-section {
  padding: 80px 0;
}

.clients-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 30px;
  align-items: center;
}

.client {
  text-align: center;
  padding: 20px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: var(--transition);
  height: 120px;
}

.client:hover {
  box-shadow: var(--box-shadow);
}

.client img {
  max-width: 100%;
  max-height: 100%;
}

.clients-section .card {
  padding: 10px;
  border-radius: 8px;
  border: none;
}

.clients-section .card h4 {
  font-size: 20px;
  display: block;
  padding: 15px 15px 0;
  margin-bottom: 5px;
  color: var(--primary-color);
}

/* ===== SERVICES PAGE STYLES ===== */
.services-section {
  padding: 80px 0;
}

.services-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.services-intro h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: 30px;
}

.service-item {
  display: flex;
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.service-item:hover {
  transform: translateY(-10px);
  background-color: var(--primary-color);
  color: #fff;
}

.service-content {
  margin-right: 20px;
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.service-item:hover h3 {
  color: #fff;
}

.service-features {
  margin-top: 15px;
}

.service-features li {
  margin-bottom: 8px;
  position: relative;
  padding-right: 20px;
}

.service-features li::before {
  content: "✓";
  color: var(--success-color);
  position: absolute;
  right: 0;
}

@media (max-width: 768px) {
}

.process-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.process-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.process-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  position: relative;
  transition: var(--transition);
}

.process-item:hover {
  background-color: var(--primary-color);
  color: #f8fafc;
  transform: translateY(-10px);
}

.process-number {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 40px;
  height: 40px;
  background-color: var(--secondary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
}

.process-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}

.cta-section {
  padding: 80px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("../images/bg_header.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

/* ===== PROJECTS PAGE STYLES ===== */
.projects-filter {
  padding: 30px 0;
  text-align: center;
}

.filter-buttons {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.filter-btn {
  padding: 10px 20px;
  background-color: #fff;
  border: 2px solid var(--primary-color);
  border-radius: 4px;
  color: var(--primary-color);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  color: #fff;
}

.projects-gallery {
  padding: 30px 0 80px;
}

.project-card {
  margin-bottom: 30px;
}

.project-category {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.project-location {
  color: var(--gray-color);
  margin-bottom: 10px;
}

.project-location i {
  margin-left: 5px;
  color: var(--secondary-color);
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.pagination a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  margin: 0 5px;
  border-radius: 4px;
  background-color: #fff;
  color: var(--text-color);
  font-weight: 600;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.pagination a.active,
.pagination a:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.pagination a.next {
  width: auto;
  padding: 0 15px;
}

.stats-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: #fff;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-title {
  font-size: 1.2rem;
}

/* ===== Projects PAGE STYLES ===== */
.projects .projects-boxs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}
.projects .projects-boxs .project-image {
}
.projects .projects-boxs img {
max-height: 350px;
    width: 370px;
    transition: var(--transition);

     border-radius: 50px;
   
}
.projects .projects-boxs img:hover {
 border-radius: 5px;
    box-shadow: 0 0px 13px 1px #ccc;
    /* cursor: pointer; */
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-info-section {
  padding: 80px 0;
}

.contact-info-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.contact-info-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.contact-info-item:hover {
  transform: translateY(-10px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}

.contact-form-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--box-shadow);
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-header h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: "Cairo", "Tajawal", sans-serif;
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: center;
}

.form-check input {
  width: auto;
  margin-left: 10px;
}

.form-button {
  text-align: center;
  margin-top: 30px;
}

.map-section {
  padding: 80px 0;
}

.map-container {
  max-width: 1000px;
  margin: 0 auto;
}

.map {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.faq-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
}

.faq-toggle {
  font-size: 1.2rem;
  color: var(--primary-color);
}

.faq-answer {
  padding: 0 20px 20px;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-toggle i {
  transform: rotate(45deg);
}

/* ===== RESPONSIVE STYLES ===== */
@media screen and (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: var(--box-shadow);
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
  }

  nav.active {
    max-height: 300px;
  }

  nav ul {
    flex-direction: column;
    padding: 20px;
  }

  nav ul li {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .hero-content h2 {
    font-size: 2.2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .contact-content h2,
  .cta-content h2 {
    font-size: 1.8rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  @media (max-width: 768px) {
    .footer-content {
      text-align: center;
    }
  }

  .contact-form-container {
    padding: 20px;
  }
}

footer .info-contact div a {
  color: var(--secondary-color);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeIn {
  animation: fadeIn 1s ease forwards;
}

#scrollToTopBtn {
  display: none;
  /* Hidden by default */
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
  border: none;
  outline: none;
  background-color: #555;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
  font-size: 18px;
  width: 50px;
  height: 50px;
  opacity: 0.7;
  transition: opacity 0.3s, background-color 0.3s;
}

#scrollToTopBtn:hover {
  background-color: var(--primary-color);
  color: var(--light-color);
  font-size: 15px;
  font-weight: bold;
  opacity: 1;
}

/* This only changes this particular animation duration */
.animate__animated.animate__bounce {
  --animate-duration: 0.9s;
}

/* This changes all the animations globally */
:root {
  --animate-duration: 500ms;
  --animate-delay: 0.9s;
}
