/* ===== CSS Reset & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', sans-serif;
  line-height: 1.6;
  color: #333;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}

/* ===== Loader Styles ===== */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  animation: fadeOut 0.5s ease 2s forwards;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.loader-content {
  text-align: center;
  color: var(--white);
}

.loader-logo {
  margin-bottom: 2rem;
}

.loader-logo img {
  width: 80px;
  height: 80px;
  filter: brightness(0) invert(1);
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid var(--white);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

.loader-text {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

:root {
  --primary: #1f2b7b; /* deep indigo */
  --accent: #5fc3ac; /* teal */
  --muted: #666666;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --dark-gray: #2c3e50;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
  --border-radius: 10px;
  --transition: all 0.3s ease;
  --whatsapp: #25d366;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
  color: #666;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: inherit;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(31, 43, 123, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: white;
}

.btn-large {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* ===== Bootstrap Navigation Override ===== */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow);
  transition: var(--transition);
  padding: 1rem 0;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  padding: 0;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-nav {
  gap: 2rem;
}

.navbar-nav .nav-link {
  color: #333 !important;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 1rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary) !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231f2b7b' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile menu styles */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: white;
    margin-top: 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 1rem;
  }
  
  .navbar-nav {
    gap: 0;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
  
  .navbar-nav .nav-link::after {
    display: none;
  }
}

/* ===== Hero Section ===== */
.hero {
  /* min-height: 100vh; */
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px; /* allow for fixed header */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: -2;
}

.hero::after {
  /* colored overlay to match brand */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(31, 43, 123, 0.75) 0%,
    rgba(95, 195, 172, 0.28) 100%
  );
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 100px 0 50px;
}

.hero-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.8rem;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.4s both;
}

/* ===== Page Header ===== */
.page-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 120px 0 60px;
  text-align: center;
}

.page-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.8;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  margin: 0 0.5rem;
}

/* ===== Section Styles ===== */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Services Section ===== */
.services {
  background: var(--light-gray);
}

.service-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--accent);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.8rem;
  color: white;
}

.service-title {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-description {
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* ===== Services Detailed Page ===== */
.services-detailed {
  padding: 80px 0;
}

.service-detail {
  margin-bottom: 5rem;
  padding: 3rem 0;
}

.service-detail:not(:last-child) {
  border-bottom: 1px solid #eee;
}

.service-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-detail.reverse .service-detail-content {
  direction: ltr;
}

.service-detail.reverse .service-detail-text {
  direction: rtl;
}

.service-icon-large {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  margin-bottom: 2rem;
}

.service-detail-title {
  font-size: 2.2rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.service-detail-description {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
}

.service-features li {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
  color: #555;
}

.service-features i {
  color: #4caf50;
  margin-left: 0.8rem;
  width: 20px;
}

.service-technologies h4 {
  color: #333;
  margin-bottom: 1rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background: #f0f4ff;
  color: #667eea;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.service-detail-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-placeholder {
  width: 300px;
  height: 250px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8efff 100%);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #667eea;
  font-size: 4rem;
  border: 2px dashed #667eea;
}

/* ===== About Section ===== */
.about {
  padding: 80px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-description {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.about-features {
  margin: 2rem 0;
}

.feature {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.feature i {
  color: #4caf50;
  margin-left: 0.8rem;
  font-size: 1.2rem;
}

.about-image .image-placeholder {
  width: 100%;
  height: 400px;
  font-size: 5rem;
}

/* ===== About Company Page ===== */
.about-company {
  background: var(--white);
  padding: 6rem 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
  scroll-margin-top: 100px;
}

.company-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-content h4 {
  color: #333;
  margin-bottom: 0.5rem;
}

.feature-content p {
  color: #666;
  font-size: 0.95rem;
}

/* ===== Vision & Mission ===== */
.vision-mission {
  background: var(--light-gray);
}

.vm-item {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.vm-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.vm-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.6rem;
  color: white;
}

.vm-title {
  color: #333;
  margin-bottom: 1.5rem;
}

.vm-description {
  color: #666;
  line-height: 1.7;
}

/* ===== Team Section ===== */
.team-section {
  padding: 80px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-member {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.member-photo {
  margin-bottom: 1.5rem;
}

.photo-placeholder {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8efff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 3rem;
  color: #667eea;
}

.member-name {
  color: #333;
  margin-bottom: 0.5rem;
}

.member-position {
  color: #667eea;
  font-weight: 600;
  margin-bottom: 1rem;
}

.member-description {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.member-social .social-link {
  width: 40px;
  height: 40px;
  background: #f0f4ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667eea;
  transition: all 0.3s ease;
}

.member-social .social-link:hover {
  background: #667eea;
  color: white;
}

/* ===== Why Choose Us ===== */
.why-choose-us {
  background: var(--white);
}

.reason-item {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--accent);
}

.reason-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.reason-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: white;
}

.reason-title {
  color: #333;
  margin-bottom: 1rem;
}

.reason-description {
  color: #666;
  line-height: 1.6;
}

/* ===== Stats Section ===== */
.stats {
  padding: 80px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ===== Contact Section ===== */
.contact {
  background: var(--light-gray);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-details h4 {
  color: #333;
  margin-bottom: 0.5rem;
}

.contact-details p {
  color: #666;
  margin: 0;
}

/* ===== Contact Form ===== */
.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(95, 195, 172, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.5;
}

.checkbox-label input[type='checkbox'] {
  margin: 0;
  width: auto;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #e1e5e9;
  border-radius: 4px;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-label input:checked + .checkmark {
  background: #667eea;
  border-color: #667eea;
}

.checkbox-label input:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 12px;
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  display: none;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ===== Contact Page Specific ===== */
.contact-info-section {
  padding: 80px 0;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.info-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-3px);
}

.info-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

.info-title {
  color: #333;
  margin-bottom: 1rem;
}

.info-description {
  color: #666;
  line-height: 1.6;
}

.contact-form-section {
  padding: 80px 0;
  background: #f8f9ff;
}

.contact-form-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.form-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-features {
  margin: 2rem 0;
}

.contact-features .feature {
  margin-bottom: 1rem;
}

.direct-contact {
  margin-top: 3rem;
}

.direct-contact h4 {
  color: #333;
  margin-bottom: 1.5rem;
}

.direct-contact-methods {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.direct-method {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  background: white;
  border-radius: 8px;
  color: #667eea;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.direct-method:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
}

/* ===== FAQ Section ===== */
.faq-section {
  padding: 80px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem 2rem;
  background: #f8f9ff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f0f4ff;
}

.faq-question h4 {
  margin: 0;
  color: #333;
  font-size: 1.1rem;
}

.faq-question i {
  color: #667eea;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 1.5rem 2rem;
  max-height: 200px;
}

.faq-answer p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

/* ===== Map Section ===== */
.map-section {
  padding: 80px 0;
  background: #f8f9ff;
}

.map-container {
  max-width: 800px;
  margin: 0 auto;
}

.map-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8efff 100%);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #667eea;
  border: 2px dashed #667eea;
}

.map-placeholder i {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.map-placeholder p {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.map-placeholder small {
  font-size: 1rem;
  opacity: 0.8;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn-primary {
  background: white;
  color: #667eea;
}

.cta-buttons .btn-primary:hover {
  background: #f8f9ff;
  transform: translateY(-2px);
}

.cta-buttons .btn-secondary {
  border-color: white;
  color: white;
}

.cta-buttons .btn-secondary:hover {
  background: white;
  color: #667eea;
}

/* ===== Footer ===== */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1.5rem;
}

.footer-title {
  color: var(--accent);
  font-size: 1.8rem;
}

.footer-subtitle {
  color: var(--white);
  font-size: 1.2rem;
}

.footer-text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
}

.contact-info-footer p {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-info-footer i {
  margin-left: 0.8rem;
  width: 20px;
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px; /* RTL: left to avoid overlapping scroll-to-top if present */
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 10000;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.whatsapp-float i {
  font-size: 26px;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 18px;
    left: 18px;
  }
  .whatsapp-float i {
    font-size: 24px;
  }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
  .container {
    padding: 0 20px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }

  .service-detail-content,
  .about-content,
  .contact-content,
  .contact-form-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-detail.reverse .service-detail-content {
    direction: rtl;
  }
  
  .company-features {
    grid-template-columns: repeat(2, 1fr);
  }
  
}

@media (max-width: 768px) {

  .hero {
    min-height: 100vh;
    padding-top: 80px;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .page-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .company-features {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .direct-contact-methods {
    flex-direction: column;
  }
  
  
  .about-company {
    min-height: auto;
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    min-height: 100vh;
    padding-top: 70px;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .page-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .service-card,
  .team-member,
  .reason-item,
  .vm-item {
    padding: 1.5rem 1rem;
  }

  .contact-form {
    padding: 1.5rem 1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2.5rem;
  }
  
  
  .about-company {
    padding: 2rem 0;
  }
  
  .company-features {
    grid-template-columns: 1fr;
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
  }
  
  .feature-icon {
    margin-bottom: 1rem;
  }
  
  .nav-menu {
    top: 70px;
  }
  
  .hero-buttons {
    gap: 0.5rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* ===== Extra Small Devices ===== */
@media (max-width: 360px) {
  .container {
    padding: 0 10px;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.4rem;
  }
  
  .service-card,
  .reason-item,
  .vm-item {
    padding: 1rem 0.8rem;
  }
  
  .contact-form {
    padding: 1rem 0.8rem;
  }
  
  .btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}

/* ===== Landscape Orientation ===== */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
    padding-top: 60px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .about-company {
    padding: 2rem 0;
  }
}

/* ===== High DPI Displays ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .service-icon,
  .reason-icon,
  .vm-icon,
  .contact-icon {
    background-size: contain;
  }
}

/* ===== Touch Devices ===== */
@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .reason-item:hover,
  .vm-item:hover {
    transform: none;
  }
  
  .btn:hover {
    transform: none;
  }
  
  .social-link:hover {
    transform: none;
  }
  
  /* Increase touch targets */
  .nav-link {
    padding: 10px 15px;
  }
  
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .hamburger {
    min-height: 44px;
    min-width: 44px;
  }
}

/* ===== Print Styles ===== */
@media print {
  .header,
  .footer,
  .loader {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  * {
    color: black !important;
    background: white !important;
  }
}
