/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Tajawal', Arial, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Navbar styles */
.navbar {
  background-color: white;
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 65px;
  margin-left: 10px;
}

.logo h1 {
  color: #15101E;
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-right: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #334155;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover {
  color: #15101E;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: #ED1A37;
  bottom: -5px;
  right: 0;
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: #ED1A37;
  font-weight: 700;
}

.nav-links a.active::after {
  width: 100%;
}

.mobile-menu {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #15101E;
}

.mobile-menu .close-icon {
  display: none;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    padding: 20px;
    border-top: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 999;
    justify-content: center;
    align-items: center;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
    text-align: center;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu .hamburger-icon {
    display: block;
  }

  .mobile-menu .close-icon {
    display: none;
  }

  .nav-links.active+.mobile-menu .hamburger-icon {
    display: none;
  }

  .nav-links.active+.mobile-menu .close-icon {
    display: block;
  }
}

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

/* Hero Section */
.services-hero {
  position: relative;
  height: 100vh;
  min-height: 400px;
  background: url('../image/Hero-04-01.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
}

.services-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.services-hero h1 span {
  color: #ED1A37;
}

.services-hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 75%;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  cursor: pointer;
}

.scroll-indicator svg {
  margin-top: 10px;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

/* Services Filter */
.services-filter {
  background-color: white;
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

}

.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-buttons button {
  font-family: 'Tajawal', Arial, sans-serif;
  padding: 8px 20px;
  border: 1px solid #ddd;
  background-color: white;
  color: #333;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 20px;
}

@media (max-width: 768px) {
  .filter-buttons button {
    padding: 10px 15px;
    font-size: 18px;
    width: 100%;
  }
}

.filter-buttons button:hover {
  background-color: #f5f5f5;
}

.filter-buttons button.active {
  background-color: #ED1A37;
  color: white;
  border-color: #ED1A37;
}

/* Services Grid */
.interactive-services {
  padding: 0 0 60px 0;
}

@media (max-width: 768px) {
  .interactive-services {
    padding: 40px 0;
  }

}

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

.service-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
  background-color: #f9f9f9;
  padding: 25px;
  text-align: center;
}

.service-icon svg {
  width: 60px;
  height: 60px;
}

.service-card h3 {
  padding: 15px 20px 0;
  font-size: 1.3rem;
  cursor: pointer;
}

.service-card h3:hover {
  color: #ED1A37;
}

.service-card p {
  padding: 10px 20px;
  color: #666;
}

.service-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  padding: 0 20px;
}

.service-card.active .service-details {
  max-height: 500px;
  padding: 0 20px 20px;
}

.service-details ul {
  list-style: none;
  margin: 15px 0;
}

.service-details li {
  padding: 5px 0;
  position: relative;
  padding-right: 15px;
}

.service-details li:before {
  content: "•";
  color: #ED1A37;
  position: absolute;
  right: 0;
}

.service-cta {
  display: inline-block;
  padding: 8px 20px;
  background-color: #ED1A37;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.service-cta:hover {
  background-color: #c5162e;
}

.service-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #ED1A37;
  color: white;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
}

/* Service Spotlight */
.service-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.service-spotlight.active {
  opacity: 1;
  visibility: visible;
}

/* Download Profile Section */
.download-profile-section {
  padding: 0;
  padding-top: 40px;
  background-color: #f9f9f9;
  text-align: center;
}

.download-profile-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.download-profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  background-color: #ED1A37;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.download-profile-btn:hover {
  background-color: #c5162e;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .download-profile-btn {
    padding: 10px 20px;
    font-size: 1rem;
  }
}

.spotlight-content {
  background-color: white;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 8px;
  padding: 30px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.service-spotlight.active .spotlight-content {
  transform: scale(1);
}

.close-spotlight {
  position: absolute;
  top: 15px;
  left: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}

.spotlight-body {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}

.spotlight-text {
  flex: 1;
}

.spotlight-image {
  flex: 1;
}

.spotlight-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.spotlight-cta {
  display: inline-block;
  padding: 10px 25px;
  background-color: #ED1A37;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.spotlight-cta:hover {
  background-color: #c5162e;
}

/* Responsive */
@media (max-width: 768px) {
  .services-hero h1 {
    font-size: 2.2rem;
  }

  .services-hero p {
    font-size: 1rem;
  }

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

  .spotlight-body {
    flex-direction: column;
  }
}


/* Footer Styles */
.footer {
  background-color: #15101E;
  color: #fff;
  padding: 60px 0 0;
  font-family: 'Tajawal', sans-serif;
}

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

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

.footer-col {
  margin-bottom: 30px;
}

.footer-about {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 80px;
  margin-left: 10px;
}


.footer-about-text {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 2px;
  background: #ED1A37;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
  display: block;
}

.footer-links a:hover {
  color: #ED1A37;
  padding-right: 5px;
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact svg {
  margin-left: 10px;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-icon:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.2);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal .legal-link {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-legal .legal-link:hover {
  color: #ED1A37;
}

/* Responsive */
@media (max-width: 768px) {
  .footer {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

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

  .footer-col {
    text-align: center;
  }

  .footer-title::after {
    right: 50%;
    transform: translateX(50%);
  }

  .footer-logo {
    justify-content: center;
  }

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

  .footer-contact li {
    justify-content: center;
  }
}