/* Reset default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cairo', sans-serif;
  line-height: 1.6;
  color: #333;
  font-weight: 400; /* Default weight for regular text */
}

/* Header Styles */
.header {
  background-color: #f8f8f8;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.logo {
  width: 80px;
  height: auto;
}

.site-title {
  font-size: 1.5rem;
  color: #333;
  margin: 0 1rem;
}

.header_btn {
  text-decoration: none;
  color: #333;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s;
  font-family: 'Cairo', sans-serif;
  font-weight: 500; /* Medium weight for buttons */
}

.header_btn:hover {
  background-color: #c30a00e0;
  color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .logo-container {
    justify-content: center;
    gap: 0.5rem;
  }

  .header_btn {
    margin: 0.25rem;
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  .logo {
    width: 60px;
  }

  .site-title {
    font-size: 1.2rem;
  }
}

/* Language switcher */
.language-switcher {
  position: relative;
  display: inline-block;
  margin-left: 16px;
}

.lang-btn {
  background: #fff;
  color: #222;
  border: 1px solid #ccc;
  padding: 6px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.lang-dropdown {
  display: none;
  position: absolute;
  background: #fff;
  min-width: 120px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  z-index: 100;
  border-radius: 4px;
  margin-top: 4px;
  right: 0;
}

.lang-dropdown a {
  display: block;
  padding: 8px 16px;
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}

.lang-dropdown a:last-child {
  border-bottom: none;
}

.lang-dropdown a:hover {
  background: #f0f0f0;
}

/* Container for consistent width */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Hero Section */
.hero {
  background-color: #c30a00e0;
  color: #fff;
  text-align: center;
  padding: 4rem 1rem;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
}

.fancy {
  font-weight: bold;
  display: inline-block;
  background: linear-gradient(90deg, #ffff41, #ff4b2b, #1ae828, #001ec9);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbowShift 6s ease infinite;
}

@keyframes rainbowShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* About Section */
.about {
  background-color: #fff;
  padding: 3rem 0;
}

.about .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.about h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
  position: relative;
}

.about h2:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: #c30a00e0;
  margin: 0.5rem auto;
}

.about-row {
  margin-bottom: 4rem;
}

.about-header {
  margin-bottom: 1rem;
  width: 100%;
  display: flex;
}

.about-header.left {
  justify-content: flex-start;
}

.about-header.right {
  justify-content: flex-end;
}

.about h3 {
  font-size: 1.8rem;
  color: #444;
  display: inline-block;
  position: relative;
  padding-bottom: 0.5rem;
}

.about h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #c30a00e0;
}

.about-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: nowrap;
}

.about-image-container {
  flex: 0 0 300px;
  display: flex;
}

.about-image-container-left {
  justify-content: flex-start;
}

.about-image-container-right {
  justify-content: flex-end;
}

.about-image {
  width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about-image:hover {
  transform: scale(1.03);
}

.about-text-container {
  flex: 1;
  min-width: 300px;
}

.about-text {
  flex: 1;
  margin: 0;
  font-size: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-item {
    flex-direction: column;
    text-align: center;
  }

  .about-image {
    margin-bottom: 1rem;
  }
}

/* Opening Section */
.opening {
  background-color: #f8f8f8;
}

.opening h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.opening p {
  text-align: center;
  margin-bottom: 2rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s;
}

.gallery-image:hover {
  transform: scale(1.05);
}

/* Services Section */
.services {
  background-color: #fff;
}

.services h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.service-item {
  text-align: center;
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.service-image {
  width: 100%;
  height: 40%;
  align-self: center;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.service-item h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.service-item p {
  font-size: 1rem;
}

/* Service Price Styling */
.service-price {
  font-size: 1.3rem;
  font-weight: bold;
  color: #c30a00e0;
  margin: 1rem 0 0.5rem 0;
  letter-spacing: 1px;
}

/* Buy Button Styling */
.buy-btn {
  background: linear-gradient(90deg, #c30a00e0 60%, #ffb347 100%);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 0.7rem 2rem;
  font-size: 1.1rem;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.5rem;
  box-shadow: 0 2px 8px rgba(195, 10, 0, 0.08);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.buy-btn:hover,
.buy-btn:focus {
  background: linear-gradient(90deg, #ffb347 0%, #c30a00e0 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 16px rgba(195, 10, 0, 0.15);
  outline: none;
}

/* Responsive adjustments for buttons and price */
@media (max-width: 600px) {
  .service-price {
    font-size: 1.1rem;
  }
  .buy-btn {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }
}

/* Make .service-price adopt .fancy style on hover of .service-item */
.service-item:hover .service-price,
.service-item:focus-within .service-price {
  font-weight: bold;
  background: linear-gradient(90deg, #ffff41, #ff4b2b, #1ae828, #001ec9);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbowShift 6s ease infinite;
}

/* Clients Section */
.clients {
  background-color: #f8f8f8;
}

.clients h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.clients p {
  text-align: center;
  margin-bottom: 2rem;
}

.clients-grid {
  display: flex;
  justify-content: center;
  gap: 15rem;
  flex-wrap: wrap;
  align-items: center;
  padding: 2rem;
}

.client-logo {
  width: 100%;
  max-width: 150px;
  height: auto;
  filter: brightness(75%);
  transition: filter 0.3s;
  border-radius: 25px;
}

.client-logo:hover {
  filter: grayscale(0%);
}

/* Contact Section */
.contact-methods {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.contact h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact p {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.contact-box {
  text-align: center;
}

.contact-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.contact-icon:hover {
  transform: scale(1.1);
}

.contact-link {
  display: block;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  margin-top: 5px;
}

.contact-link:hover {
  color: #007bff;
}

/* Contact Title Animation */
.animate-contact-title {
  animation: popTitle 1.2s cubic-bezier(.68,-0.55,.27,1.55);
  color: #c30a00e0;
  letter-spacing: 2px;
  text-shadow: 0 4px 24px #ffb34799;
}

@keyframes popTitle {
  0% { transform: scale(1); }
  20% { transform: scale(1.18) rotate(-2deg); }
  40% { transform: scale(0.95) rotate(2deg); }
  60% { transform: scale(1.08); }
  80% { transform: scale(0.98); }
  100% { transform: scale(1); }
}

/* Social Media Section */
.social-media {
  background-color: #f8f8f8;
  text-align: center;
}

.social-media h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.social-media p {
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.social-icon img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s;
}

.social-icon:hover img {
  transform: scale(1.2);
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 1rem;
}

/* Team Section Styles */
.team {
  padding: 40px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.team h2 {
  font-size: 2em;
  margin-bottom: 30px;
  color: #8B0000;
}

.team-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.member-card {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  width: 270px;
  min-height: 400px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.member-photo {
  width: 180px;
  height: 180px;
  border-radius: 100%;
  object-fit: cover;
  margin: 0 auto 15px auto;
  display: block;
}

.member-card h3 {
  margin: 15px 0 10px;
}

.member-social img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 4px;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  box-shadow: none;
  background: none;
}

.member-social img:hover {
  transform: scale(1.25) rotate(-8deg);
  box-shadow: 0 4px 16px rgba(44, 130, 201, 0.25);
  filter: brightness(1.2) saturate(1.4);
}

.member-social {
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-top: 10px;
}

/* Social Feed Section */
.social-feed {
  background-color: #f8f8f8;
  padding: 3rem 0;
}

.social-feed h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.social-feed p {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.social-feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feed-item {
  text-align: center;
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.feed-item:hover {
  transform: scale(1.05);
}

.feed-item p {
  font-size: 0.9rem;
  color: #555;
}