/* IBDAI AL-FAKR Consulting Website Styles */

/* Global Styles */
:root {
  --tech-blue-1: #0B1B30;
  --tech-blue-2: #001024;
  --tech-blue-3: #000B1B;
  --tech-blue-4: #36566A;
  --tech-blue-5: #110B18;
  --white: #FFFFFF;
  --accent: #FFA500; /* Orange accent color for CTAs and highlights */
}

body {
  font-family: 'Tajawal', sans-serif;
  color: var(--tech-blue-1);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Language-specific styles */
html[lang="ar"] {
  direction: rtl;
  text-align: right;
}

html[lang="en"] {
  direction: ltr;
  text-align: left;
}

/* Language content visibility */
.lang-ar, .lang-en {
  display: none;
}

html[lang="ar"] .lang-ar {
  display: block;
}

html[lang="en"] .lang-en {
  display: block;
}

/* For inline elements */
span.lang-ar, span.lang-en {
  display: none;
}

html[lang="ar"] span.lang-ar {
  display: inline;
}

html[lang="en"] span.lang-en {
  display: inline;
}

/* Header & Navigation */
.navbar {
  background-color: var(--tech-blue-1);
  padding: 15px 0;
}

.navbar-brand img {
  height: 40px;
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--white);
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: var(--accent);
}

.language-switch {
  cursor: pointer;
  color: var(--white);
  background-color: transparent;
  border: 1px solid var(--white);
  border-radius: 4px;
  padding: 5px 10px;
  transition: all 0.3s ease;
}

.language-switch:hover {
  background-color: var(--white);
  color: var(--tech-blue-1);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-carousel .carousel-item {
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 16, 36, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-btn {
  background-color: var(--accent);
  color: var(--white);
  border: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background-color: var(--white);
  color: var(--tech-blue-1);
}

/* Section Styles */
.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--tech-blue-1);
  position: relative;
  display: inline-block;
}

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

/* About Section */
.about-section {
  background-color: #f8f9fa;
}

.about-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease;
}

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

.about-card h3 {
  color: var(--tech-blue-1);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.about-card p {
  color: var(--tech-blue-4);
  font-size: 1.1rem;
}

.about-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 20px;
}

/* Services Section */
.service-card {
  text-align: center;
  padding: 40px 20px;
  border-radius: 10px;
  background-color: var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  height: 100%;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 3.5rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--tech-blue-1);
}

.service-card p {
  color: var(--tech-blue-4);
}

/* Products Section */
.products-section {
  background-color: #f8f9fa;
}

.product-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  height: 100%;
}

.product-img {
  height: 200px;
  background-color: var(--tech-blue-1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img i {
  font-size: 4rem;
  color: var(--white);
}

.product-content {
  padding: 25px;
}

.product-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--tech-blue-1);
}

.product-content p {
  color: var(--tech-blue-4);
  margin-bottom: 20px;
}

.product-btn {
  background-color: var(--accent);
  color: var(--white);
  border: none;
  padding: 8px 20px;
  font-size: 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.product-btn:hover {
  background-color: var(--tech-blue-1);
}

/* Partners Section */
.partners-section {
  padding: 80px 0;
}

.partner-logo {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.partner-logo img {
  max-height: 80%;
  max-width: 80%;
}

/* Clients Section */
.clients-section {
  background-color: #f8f9fa;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--tech-blue-4);
}

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

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

html[lang="ar"] .testimonial-author img {
  margin-right: 0;
  margin-left: 15px;
}

.author-info h4 {
  margin-bottom: 5px;
  color: var(--tech-blue-1);
}

.author-info p {
  color: var(--tech-blue-4);
  font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
  position: relative;
}

.contact-form {
  background-color: var(--white);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-control {
  border: 1px solid #e1e1e1;
  border-radius: 5px;
  padding: 12px 15px;
  margin-bottom: 20px;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: none;
}

.contact-btn {
  background-color: var(--accent);
  color: var(--white);
  border: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
  width: 100%;
}

.contact-btn:hover {
  background-color: var(--tech-blue-1);
}

.contact-info {
  margin-top: 40px;
}

.contact-info-item {
  display: flex;
  margin-bottom: 25px;
}

html[lang="ar"] .contact-info-item {
  flex-direction: row-reverse;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

html[lang="ar"] .contact-icon {
  margin-right: 0;
  margin-left: 15px;
}

.contact-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.contact-text h4 {
  margin-bottom: 5px;
  color: var(--tech-blue-1);
}

.contact-text p {
  color: var(--tech-blue-4);
}

/* Footer */
.footer {
  background-color: var(--tech-blue-1);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-logo {
  margin-bottom: 20px;
}

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

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

.footer-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: #b3b3b3;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

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

html[lang="ar"] .social-links a {
  margin-right: 0;
  margin-left: 10px;
}

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

.social-links a i {
  color: var(--white);
  font-size: 1.2rem;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 50px;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    margin-bottom: 40px;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .contact-form {
    padding: 30px;
    margin-bottom: 40px;
  }
}

@media (max-width: 575px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .about-card, .service-card, .product-card, .testimonial-card {
    padding: 20px;
  }
}
