/* Prospects Website Styles */

:root {
  /* Primary colors from logo */
  --primary-red: #c1272d;
  --primary-yellow: #ffd100;
  
  /* Secondary colors */
  --dark-gray: #333333;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  
  /* Font families */
  --primary-font: 'Roboto', sans-serif;
  --heading-font: 'Montserrat', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--primary-font);
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-red);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-yellow);
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

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

.logo img {
  height: 50px;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--dark-gray);
  font-weight: 500;
  padding: 0.5rem;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-red);
  border-bottom: 2px solid var(--primary-red);
}

/* Language Switcher */
.language-switcher {
  display: flex;
  align-items: center;
  margin-left: 1.5rem;
}

.language-switcher button {
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 500;
  padding: 0.5rem;
  color: var(--dark-gray);
}

.language-switcher button:hover,
.language-switcher button.active {
  color: var(--primary-red);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-gray);
}

/* Hero Section */
.hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-yellow) 100%);
  color: var(--white);
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-yellow);
  color: var(--dark-gray);
}

.btn-primary:hover {
  background-color: var(--white);
  color: var(--primary-red);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-red);
}

/* Services Section */
.services {
  padding: 4rem 0;
  background-color: var(--light-gray);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary-red);
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.service-card {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  flex: 1 1 300px;
  max-width: 350px;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card h3 {
  color: var(--primary-red);
  margin-bottom: 1rem;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-yellow);
  margin-bottom: 1rem;
}

/* About Section */
.about {
  padding: 4rem 0;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-content {
  flex: 1;
}

/* Portfolio Section */
.portfolio {
  padding: 4rem 0;
  background-color: var(--light-gray);
}

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

.portfolio-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(193, 39, 45, 0.9);
  color: var(--white);
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}

/* Testimonials Section */
.testimonials {
  padding: 4rem 0;
}

.testimonials-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  flex: 1 1 300px;
  max-width: 350px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 5rem;
  color: var(--primary-yellow);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 10px;
  line-height: 1;
}

.testimonial-content {
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 1rem;
}

.author-info h4 {
  margin-bottom: 0.25rem;
}

.author-info p {
  margin-bottom: 0;
  font-size: 0.875rem;
  color: #777;
}

/* Blog Section */
.blog {
  padding: 4rem 0;
  background-color: var(--light-gray);
}

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

.blog-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: #777;
}

.blog-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.blog-card p {
  margin-bottom: 1rem;
}

.read-more {
  font-weight: 500;
}

/* Newsletter Section */
.newsletter {
  padding: 4rem 0;
  background-color: var(--primary-red);
  color: var(--white);
  text-align: center;
}

.newsletter h2 {
  margin-bottom: 1rem;
}

.newsletter p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
}

.newsletter-form button {
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-yellow);
  color: var(--dark-gray);
  border: none;
  border-radius: 0 4px 4px 0;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background-color: var(--white);
}

/* Contact Section */
.contact {
  padding: 4rem 0;
}

.contact-container {
  display: flex;
  gap: 3rem;
}

.contact-info {
  flex: 1;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary-red);
  margin-right: 1rem;
}

.contact-form {
  flex: 1;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-red);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.btn-submit {
  background-color: var(--primary-red);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background-color: var(--primary-yellow);
  color: var(--dark-gray);
}

/* Footer */
footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-col {
  flex: 1 1 250px;
}

.footer-col h3 {
  color: var(--primary-yellow);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-col p {
  margin-bottom: 1rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 40px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

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

.social-links a:hover {
  background-color: var(--primary-red);
  color: var(--white);
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #bbb;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-yellow);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* RTL Support for Arabic */
[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] nav ul li {
  margin-left: 0;
  margin-right: 1.5rem;
}

[dir="rtl"] .language-switcher {
  margin-left: 0;
  margin-right: 1.5rem;
}

[dir="rtl"] .testimonial-author img {
  margin-right: 0;
  margin-left: 1rem;
}

[dir="rtl"] .contact-icon {
  margin-right: 0;
  margin-left: 1rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .about-container {
    flex-direction: column;
  }
  
  .contact-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    transition: all 0.3s ease;
    z-index: 999;
  }
  
  nav.active {
    left: 0;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
  }
  
  nav ul li {
    margin: 0.5rem 0;
  }
  
  .hero {
    padding: 7rem 0 3rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: 4px;
    margin-bottom: 1rem;
  }
  
  .newsletter-form button {
    border-radius: 4px;
  }
}

@media (max-width: 576px) {
  .service-card,
  .testimonial-card {
    max-width: 100%;
  }
  
  .portfolio-container,
  .blog-container {
    grid-template-columns: 1fr;
  }
}
