* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #d4af37;
  --secondary-color: #1a1a1a;
  --accent-color: #8b7355;
  --light-bg: #f5f5f5;
  --dark-bg: #0a0a0a;
  --text-light: #333;
  --text-dark: #f5f5f5;
  --border-color: #ddd;
}

html[data-theme="dark"] {
  --light-bg: #1a1a1a;
  --dark-bg: #0a0a0a;
  --text-light: #f5f5f5;
  --border-color: #333;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-light);
  background-color: var(--light-bg);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

html[data-theme="dark"] body {
  color: var(--text-dark);
  background-color: var(--dark-bg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #d4af37 0%, #8b7355 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeOut 0.5s ease-in-out 1.5s forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.loading-container {
  text-align: center;
  color: white;
}

.loading-logo {
  font-size: 60px;
  margin-bottom: 20px;
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.loading-container h1 {
  font-size: 32px;
  margin-bottom: 20px;
  font-family: "Playfair Display", serif;
}

.loading-spinner {
  margin: 20px 0;
}

.spinner {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Header */
.header {
  background: white;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

html[data-theme="dark"] .header {
  background: #1a1a1a;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header.scrolled {
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 20px;
  font-family: "Playfair Display", serif;
}
html[dir="rtl"] .logo a {
  gap: 20px; 
}
html[dir="rtl"] .header-content .logo {
  padding-left: 30px;
  padding-right: 30px; 
}


html[dir="rtl"] .header-content .main-nav {
 
  margin-left: auto; 
  margin-right: unset;
}
html[data-theme="dark"] .logo a {
  color: var(--primary-color);
}

.logo-icon {
  color: var(--primary-color);
  font-size: 24px;
  gap: 10px;
}

.main-nav {
  flex: 1;
  margin-left: 50px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 50px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

html[data-theme="dark"] .nav-link {
  color: var(--text-dark);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
}

.header-controls {
  display: flex;
  gap: 15px;
  align-items: center;
}

.theme-toggle,
.lang-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--text-light);
  transition: color 0.3s ease;
}

html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .lang-toggle {
  color: var(--text-dark);
}

.theme-toggle:hover,
.lang-toggle:hover {
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all 0.3s ease;
}

html[data-theme="dark"] .mobile-menu-toggle span {
  background: var(--text-dark);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.hero-title {
  font-size: 48px;
  font-family: "Playfair Display", serif;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--secondary-color);
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px black;
  border: 2px solid black ;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--secondary-color);
    border: 2px solid black;

}

.btn-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  display: inline-block;
}

.btn-link:hover {
  color: var(--accent-color);
}

/* Floating Buttons */
.floating-btn {
  position: fixed;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  z-index: 999;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  bottom: 100px;
}

.whatsapp-btn {
  right: 20px;
  background: #25d366;
  color: white;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.phone-btn {
  left: 20px;
  bottom: 30px;
  background: blue 60%;
  color: var(--secondary-color);
}

.phone-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 998;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top.show {
  display: flex;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* CEO Section */
.ceo-section {
  background: white;
}

html[data-theme="dark"] .ceo-section {
  background: #1a1a1a;
}

.ceo-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.ceo-image {
  text-align: center;
}

.ceo-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.ceo-name {
  font-size: 32px;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  margin-bottom: 10px;
}

.ceo-title {
  font-size: 18px;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 5px;
}

.ceo-experience {
  font-size: 16px;
  color: #666;
  font-weight: 600;
  margin-bottom: 20px;
}

html[data-theme="dark"] .ceo-experience {
  color: #aaa;
}

.ceo-bio {
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
}

html[data-theme="dark"] .ceo-bio {
  color: #ccc;
}

/* Sections */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 42px;
  font-family: "Playfair Display", serif;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

html[data-theme="dark"] .section-title {
  color: var(--primary-color);
}

.section-subtitle {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

html[data-theme="dark"] .section-subtitle {
  color: #aaa;
}

.title-decoration {
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  margin: 15px auto 0;
}

/* Intro Section */
.intro-section {
  background: var(--light-bg);
}

.intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-text h2 {
  margin-bottom: 20px;
}

.intro-text p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: #555;
}

html[data-theme="dark"] .intro-text p {
  color: #ccc;
}

.intro-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

html[data-theme="dark"] .feature-card {
  background: #1a1a1a;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
}

.feature-icon {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.feature-title {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

.feature-description {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

html[data-theme="dark"] .feature-description {
  color: #aaa;
}

/* Services Preview */
.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.service-preview-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

html[data-theme="dark"] .service-preview-card {
  background: #1a1a1a;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.service-preview-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px #d4af37;
  border: #d4af37 5px;
}

.service-preview-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-preview-card:hover .service-preview-image img {
  transform: scale(1.1);
}

.service-preview-content {
  padding: 25px;
}

.service-preview-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-preview-description {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

html[data-theme="dark"] .service-preview-description {
  color: #aaa;
}

.services-preview-cta {
  text-align: center;
}

/* Projects Preview */
.projects-preview-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.project-preview-card {
  position: relative;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.project-preview-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.project-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-preview-card:hover .project-preview-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-preview-card:hover .project-overlay {
  opacity: 1;
}

.project-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
}

.project-category {
  font-size: 14px;
  color: var(--primary-color);
}

.projects-preview-cta {
  text-align: center;
}

/* Testimonials */
.testimonials {
  background: var(--light-bg);
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-item {
  min-width: 100%;
  padding: 40px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

html[data-theme="dark"] .testimonial-item {
  background: #1a1a1a;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.testimonial-content {
  margin-bottom: 25px;
}

.quote-icon {
  font-size: 30px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.testimonial-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  font-style: italic;
}

html[data-theme="dark"] .testimonial-content p {
  color: #ccc;
}

.testimonial-author {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 16px;
  margin-bottom: 3px;
}

.author-info p {
  font-size: 13px;
  color: #999;
  margin-bottom: 8px;
}

.rating {
  display: flex;
  gap: 3px;
}

.rating i {
  color: var(--primary-color);
  font-size: 12px;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.prev-btn,
.next-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev-btn:hover,
.next-btn:hover {
  background: var(--accent-color);
  transform: scale(1.1);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
  color: white;
  text-align: center;
}

.cta-title {
  font-size: 42px;
  font-family: "Playfair Display", serif;
  margin-bottom: 15px;
}

.cta-subtitle {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: var(--secondary-color);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  font-family: "Playfair Display", serif;
  margin-bottom: 15px;
}

.footer-description {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.2);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
}

.footer-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.footer-links,
.footer-contact {
  list-style: none;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-contact {
  font-size: 14px;
}

.footer-contact i {
  color: var(--primary-color);
  margin-right: 10px;
  width: 20px;
}

.footer-contact a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding-top: 20px;
  text-align: center;
  color: #999;
  font-size: 14px;
}

/* About Page Styles */
.story-section {
  background: var(--light-bg);
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-text p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: #555;
}

html[data-theme="dark"] .story-text p {
  color: #ccc;
}

.story-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mvv-section {
  background: white;
}

html[data-theme="dark"] .mvv-section {
  background: #1a1a1a;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.mvv-card {
  background: var(--light-bg);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease-in;

}
.mvv-card:hover {
    transform: translateY(-5px) scale(1.02); 
    border: 1px solid #d4af37;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); 
    
}
html[data-theme="dark"] .mvv-card {
  background: #0a0a0a;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.mvv-icon {
  font-size: 50px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.mvv-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
}

.mvv-description {
  color: #666;
  line-height: 1.6;
}

html[data-theme="dark"] .mvv-description {
  color: #aaa;
}


.values-section {
  background: var(--light-bg);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.value-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

html[data-theme="dark"] .value-card {
  background: #1a1a1a;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.value-card:hover {
  transform: translateY(-10px);
  border-top:5px solid #d4af37;
}

.value-icon {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.value-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.value-description {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

html[data-theme="dark"] .value-description {
  color: #aaa;
}

.team-section {
  background: white;
}

html[data-theme="dark"] .team-section {
  background: #1a1a1a;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.team-card {
  background: var(--light-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

html[data-theme="dark"] .team-card {
  background: #0a0a0a;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
}

.team-position {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.team-description {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

html[data-theme="dark"] .team-description {
  color: #aaa;
}

/* Services Page */
.services-overview {
  background: white;
}

html[data-theme="dark"] .services-overview {
  background: #1a1a1a;
}

.services-detailed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

.service-detailed-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--light-bg);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

html[data-theme="dark"] .service-detailed-card {
  background: #0a0a0a;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.service-detailed-card:nth-child(even) {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.service-detailed-image img {
  width: 100%;
  border-radius: 10px;
}

.service-detailed-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 15px;
}

.service-detailed-description {
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

html[data-theme="dark"] .service-detailed-description {
  color: #aaa;
}

.service-features {
  list-style: none;
  margin-bottom: 25px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #555;
}

html[data-theme="dark"] .service-features li {
  color: #ccc;
}

.service-features i {
  color: var(--primary-color);
  font-size: 16px;
}

.process-section {
  background: var(--light-bg);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.process-step {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
}

html[data-theme="dark"] .process-step {
  background: #1a1a1a;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 15px;
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-description {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

html[data-theme="dark"] .step-description {
  color: #aaa;
}

/* Projects Page */
.projects-section {
  background: white;
}

html[data-theme="dark"] .projects-section {
  background: #1a1a1a;
}

.projects-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 25px;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.project-item {
  background: var(--light-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

html[data-theme="dark"] .project-item {
  background: #0a0a0a;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.project-item:hover {
  transform: translateY(-10px);
}

.project-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-item:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-item:hover .project-overlay {
  opacity: 1;
}

.project-info {
  padding: 20px;
}

.project-description {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

html[data-theme="dark"] .project-description {
  color: #aaa;
}

/* Contact Page */
.contact-info-section {
  background: var(--light-bg);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-info-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

html[data-theme="dark"] .contact-info-card {
  background: #1a1a1a;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.contact-info-card:hover {
  transform: translateY(-10px);
}

.contact-icon {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.contact-info-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-info-text {
  color: #666;
  font-size: 14px;
}

html[data-theme="dark"] .contact-info-text {
  color: #aaa;
}

.contact-info-text a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-text a:hover {
  color: var(--accent-color);
}

.contact-form-section {
  background: white;
}

html[data-theme="dark"] .contact-form-section {
  background: #1a1a1a;
}

.contact-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-light);
}

html[data-theme="dark"] .form-group label {
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  background: var(--light-bg);
  color: var(--text-light);
  transition: border-color 0.3s ease;
}

html[data-theme="dark"] .form-group input,
html[data-theme="dark"] .form-group select,
html[data-theme="dark"] .form-group textarea {
  background: #0a0a0a;
  color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.faq-section {
  background: var(--light-bg);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

html[data-theme="dark"] .faq-item {
  background: #1a1a1a;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--light-bg);
  border: none;
  width: 100%;
  text-align: left;
  transition: background 0.3s ease;
}

html[data-theme="dark"] .faq-question {
  background: #0a0a0a;
}

.faq-question:hover {
  background: rgba(212, 175, 55, 0.1);
}

.faq-question h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.faq-question i {
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 20px;
  color: #666;
  line-height: 1.6;
}

html[data-theme="dark"] .faq-answer p {
  color: #aaa;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-left: 0;
    justify-content: space-evenly;
  }

  html[data-theme="dark"] .main-nav {
    background: #1a1a1a;
  }

  .main-nav.active {
    max-height: 400px;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 20px;
    left: 20px;
  }

  .nav-link {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-link.active::after {
    display: none;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .intro-content,
  .story-content,
  .service-detailed-card {
    grid-template-columns: 1fr;
  }

  .service-detailed-card:nth-child(even) {
    direction: ltr;
  }

  .section-title {
    font-size: 32px;
  }

  .features-grid,
  .services-preview-grid,
  .projects-preview-slider,
  .mvv-grid,
  .values-grid,
  .team-grid,
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .projects-filter {
    flex-direction: column;
  }

  .filter-btn {
    width: 100%;
  }

  .testimonial-item {
    padding: 20px;
  }

  .cta-title {
    font-size: 28px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
    bottom: 80px;
  }

  .whatsapp-btn {
    right: 10px;
  }

  .phone-btn {
    left: 10px;
  }

  .back-to-top {
    width: 45px;
    height: 45px;
    font-size: 18px;
    right: 10px;
    bottom: 10px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 400px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-subtitle {
    font-size: 14px;
  }

  section {
    padding: 40px 0;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .testimonial-controls {
    gap: 10px;
  }

  .prev-btn,
  .next-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .cta-title {
    font-size: 20px;
  }

  .cta-subtitle {
    font-size: 14px;
  }
}

/* Added styles for show more button and hidden services */
.show-more-container {
  text-align: center;
  margin-top: 40px;
}

.services-hidden {
  display: none;
}

.featured-service {
  border: 2px solid var(--primary-color);
  background: rgba(212, 175, 55, 0.05);
}

html[data-theme="dark"] .featured-service {
  background: rgba(212, 175, 55, 0.1);
}
/* --- 1. Redefine the Pulsing Animation for the Wave ONLY --- */
@keyframes pulse-ring {
  0% {
    transform: scale(0.3); /* Start very small (almost invisible) */
    opacity: 0.9;
  }
  100% {
    transform: scale(1.8); /* Expand to a large ring */
    opacity: 0; /* Fade out as it expands */
  }
}

/* --- 2. Base Floating Button Styles (Adjusted) --- */
.floating-btn {
  /* Remove the previous 'animation' line that was scaling the whole button */
  /* If you added 'animation: pulse-wave 2s infinite ease-in-out;' to .floating-btn, REMOVE IT */
  
  /* Key properties for positioning the wave */
  position: fixed;
  z-index: 1000;
  overflow: visible; /* CRITICAL: Must be visible to show the wave outside the button */
  
  /* Ensure the button is styled as you like */
  /* Example style, you likely have these already */
  /* background-color: var(--primary-color); */
  /* border-radius: 50%; */
}

/* --- 3. Create the Continuous Wave Pseudo-Element (::before) --- */
.floating-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  
  /* Color and size of the light wave */
  background: var(--primary-color); /* Use your primary color for a subtle glow */
  /* OR a brighter color like this: */
  /* background: rgba(255, 255, 255, 0.7); */
  
  z-index: -1; /* Place the wave BEHIND the actual button */
  pointer-events: none; /* Prevents the wave from interfering with clicks */
  
  /* Apply the animation */
  animation: pulse-ring 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

/* --- 4. Special Styling for WhatsApp Button (Optional) --- */
.whatsapp-btn::before {
  /* Use a subtle green for the WhatsApp button wave */
  background: rgba(77, 219, 107, 0.7); 
  animation: pulse-ring 2.5s infinite cubic-bezier(0.66, 0, 0, 1); /* Slightly slower pulse */
}
/* -------------------- 1. FEATURE CARD ANIMATION -------------------- */

/* Ensure smooth transitions for all properties */
.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* On hover, lift the card and increase the shadow */
.feature-card:hover {
  transform: translateY(-8px); /* Lifts the card up by 8 pixels */
   box-shadow: 0 4px 6px #d4af37;
 /* Adds a pronounced shadow */
}

/* Optional: Scale the icon slightly for extra effect */
.feature-card:hover .feature-icon i {
  transform:rotate(360deg);
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
}
/* -------------------- 2. SERVICE & PROJECT CARD ANIMATION -------------------- */

/* A. Base Styles for Cards */
.service-preview-card,
.service-detailed-card,
.project-preview-card {
  overflow: hidden; /* Hides the image zoom until it's within the card's boundary */
  transition: box-shadow 0.3s ease;
}

/* B. Image Zoom Effect */
.service-preview-image img,
.service-detailed-card img,
.project-preview-image img {
  /* CRITICAL: Set transition on the image itself */
  transition: transform 0.5s ease;
}

.service-preview-card:hover .service-preview-image img,
.service-detailed-card:hover .service-detailed-image img,
.project-preview-card:hover .project-preview-image img {
  transform: scale(1.08); /* Zooms the image in slightly */
}

/* C. Project Overlay Fade (Specifically for project cards with text overlay) */
.project-preview-card .project-overlay {
  transition: opacity 0.3s ease, background-color 0.3s ease;
}

.project-preview-card:hover .project-overlay {
  /* Makes the overlay slightly less opaque on hover to reveal the zoomed image */
  opacity: 0.8; 
  background-color: rgba(0, 0, 0, 0.6);
}
/* -------------------- 3. NAVIGATION LINK ANIMATION -------------------- */

.main-nav .nav-link {
  position: relative;
  /* Remove any default underline */
  text-decoration: none; 
  transition: color 0.3s ease;
}

/* Create the invisible line using the ::after pseudo-element */
.main-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px; /* Adjust position relative to the text */
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color); /* Use your primary gold/accent color */
  transform: scaleX(0); /* CRITICAL: Start the line at zero width (invisible) */
  transform-origin: bottom right; /* Set the starting point for the animation */
  transition: transform 0.35s ease-out; /* Define the animation speed */
}

/* On hover, scale the line to 100% width (slide in) */
.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
  transform: scaleX(1); /* Expands the line to full width */
  transform-origin: bottom left; /* Ensures the slide looks smooth */
}
/* Add these styles at the end of your styles.css file */

/* Show More/Less Button Styles */
.services-hidden {
  display: none;
}

.show-more-container {
  text-align: center;
  margin-top: 40px;
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: white;
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Featured Service Border */
.featured-service {
  border: 2px solid var(--primary-color);
  background: rgba(212, 175, 55, 0.05);
}

html[data-theme="dark"] .featured-service {
  background: rgba(212, 175, 55, 0.1);
}
/* Fix for service cards mobile layout - Consistent image on top */
@media (max-width: 768px) {
  .service-detailed-card {
    grid-template-columns: 1fr;
    text-align: center;
    direction: ltr; /* Force LTR for all cards on mobile */
  }
  
  .service-detailed-card:nth-child(even) {
    direction: ltr; /* Remove RTL direction for even cards */
  }
  
  .service-detailed-image {
    order: -1; /* Move image to top for ALL cards */
    margin-bottom: 20px;
  }
  
  .service-detailed-content {
    order: 1; /* Content comes after image for ALL cards */
  }
  
  .service-features {
    text-align: left;
    display: inline-block;
  }
}

/* Better mobile experience */
@media (max-width: 480px) {
  .service-detailed-card {
    padding: 25px 20px;
  }
  
  .service-detailed-title {
    font-size: 22px;
  }
  
  .service-features {
    text-align: center;
  }
  
  .service-features li {
    justify-content: flex-start;
  }
}
@media (max-width: 768px) {
  .service-detailed-card {
    grid-template-columns: 1fr !important;
    direction: ltr !important;
  }
  
  .service-detailed-image {
    order: -1 !important;
  }
}
/* CEO Section Mobile Fix */
@media (max-width: 768px) {
  .ceo-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .ceo-image {
    order: -1; /* Move image to top */
    text-align: center;
  }
  
  .ceo-info {
    order: 1; /* Move content below image */
    text-align: center;
  }
}

/* Optional: Improve spacing for better mobile experience */
@media (max-width: 480px) {
  .ceo-section {
    padding: 40px 0;
  }
  
  .ceo-content {
    gap: 20px;
  }
  
  .ceo-name {
    font-size: 24px;
  }
  
  .ceo-title {
    font-size: 16px;
  }
  
  .ceo-experience {
    font-size: 14px;
  }
  
  .ceo-bio {
    font-size: 14px;
    line-height: 1.6;
  }
}
/* Process Section Styling */
.process-section {
  background: var(--light-bg);
  position: relative;
  overflow: hidden;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 120px 0 80px;
}

/* Elegant Dotted Line Connection with Flow Animation */
.process-steps::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 8%;
  right: 8%;
  height: 2px;
  border-top: 2px dashed var(--primary-color);
  z-index: 1;
  opacity: 0.6;
}

/* Animated dots flowing along the line */
.process-steps::after {
  content: "";
  position: absolute;
  top: 59px;
  left: 8%;
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  border-radius: 50%;
  z-index: 2;
  animation: flowDots 8s linear infinite;
  box-shadow: 0 0 10px var(--primary-color);
}

@keyframes flowDots {
  0% {
    left: 8%;
    opacity: 0;
    transform: scale(0.5);
  }
  10% {
    opacity: 1;
    transform: scale(1);
  }
  90% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    left: 92%;
    opacity: 0;
    transform: scale(0.5);
  }
}

/* Process Step Cards with Elegant Entrance */
.process-step {
  background: white;
  padding: 140px 30px 35px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
  flex: 1;
  margin: 0 15px;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(212, 175, 55, 0.15);
  opacity: 0;
  transform: translateY(50px);
  animation: cardEntrance 0.8s ease-out forwards;
}

.process-step:nth-child(1) { animation-delay: 0.2s; }
.process-step:nth-child(2) { animation-delay: 0.4s; }
.process-step:nth-child(3) { animation-delay: 0.6s; }
.process-step:nth-child(4) { animation-delay: 0.8s; }
.process-step:nth-child(5) { animation-delay: 1s; }

@keyframes cardEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html[data-theme="dark"] .process-step {
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.process-step:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: var(--primary-color);
  box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2);
}

/* Step Number Container - Magical Orb Effect */
.step-number-container {
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 140px;
  height: 140px;
  filter: drop-shadow(0 10px 20px rgba(212, 175, 55, 0.3));
}

/* Outer Orbiting Rings with Multiple Layers */
.step-number-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border: 2px solid transparent;
  border-top: 2px solid var(--primary-color);
  border-right: 2px solid transparent;
  border-radius: 50%;
  animation: orbit1 6s linear infinite;
  opacity: 0.8;
}

.step-number-container::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border: 2px dotted var(--accent-color);
  border-radius: 50%;
  animation: orbit2 8s linear infinite reverse;
  opacity: 0.6;
}

/* Additional Orbiting Element */
.step-number-container .orbiting-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(0deg) translateX(60px);
  animation: orbitDot 4s linear infinite;
  box-shadow: 0 0 8px var(--primary-color);
}

@keyframes orbit1 {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
    border-top-color: var(--primary-color);
    border-right-color: transparent;
  }
  50% {
    border-top-color: var(--accent-color);
    border-right-color: var(--primary-color);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
    border-top-color: var(--primary-color);
    border-right-color: transparent;
  }
}

@keyframes orbit2 {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) rotate(180deg) scale(1.1);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) scale(1);
  }
}

@keyframes orbitDot {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) translateX(60px);
    background: var(--primary-color);
  }
  50% {
    transform: translate(-50%, -50%) rotate(180deg) translateX(60px);
    background: var(--accent-color);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) translateX(60px);
    background: var(--primary-color);
  }
}

/* Step Number - Magical Floating Orb */
.step-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), #f1c40f, var(--accent-color));
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  z-index: 4;
  border: 4px solid rgba(255, 255, 255, 0.9);
  box-shadow: 
    0 8px 32px rgba(212, 175, 55, 0.4),
    0 0 0 12px rgba(212, 175, 55, 0.15),
    inset 0 4px 12px rgba(255, 255, 255, 0.6),
    inset 0 -4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: pulseGlow 3s ease-in-out infinite, gentleFloat 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 
      0 8px 32px rgba(212, 175, 55, 0.4),
      0 0 0 12px rgba(212, 175, 55, 0.15),
      inset 0 4px 12px rgba(255, 255, 255, 0.6),
      inset 0 -4px 12px rgba(0, 0, 0, 0.2);
  }
  50% {
    box-shadow: 
      0 12px 40px rgba(212, 175, 55, 0.6),
      0 0 0 16px rgba(212, 175, 55, 0.25),
      inset 0 4px 16px rgba(255, 255, 255, 0.8),
      inset 0 -4px 16px rgba(0, 0, 0, 0.3);
  }
}

@keyframes gentleFloat {
  0%, 100% {
    transform: translate(-50%, -50%);
  }
  33% {
    transform: translate(-50%, calc(-50% - 8px));
  }
  66% {
    transform: translate(-50%, calc(-50% + 4px));
  }
}

html[data-theme="dark"] .step-number {
  border: 4px solid rgba(42, 42, 42, 0.9);
  box-shadow: 
    0 8px 32px rgba(212, 175, 55, 0.5),
    0 0 0 12px rgba(212, 175, 55, 0.2),
    inset 0 4px 12px rgba(255, 255, 255, 0.3),
    inset 0 -4px 12px rgba(0, 0, 0, 0.4);
}

/* .process-step:hover .step-number {
  transform: translate(-50%, -50%) scale(1.2) rotate(10deg);
  animation: hoverGlow 1s ease-in-out infinite, spin 2s linear infinite;
} */

@keyframes hoverGlow {
  0%, 100% {
    filter: brightness(1) hue-rotate(0deg);
  }
  50% {
    filter: brightness(1.2) hue-rotate(20deg);
  }
}

@keyframes spin {
  from {
    transform: translate(-50%, -50%) scale(1.2) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) scale(1.2) rotate(360deg);
  }
}

/* Step Title with Elegant Typography */
.step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--secondary-color);
  line-height: 1.4;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleShine 3s ease-in-out infinite;
}

@keyframes titleShine {
  0%, 100% {
    background-position: -200% center;
  }
  50% {
    background-position: 200% center;
  }
}

html[data-theme="dark"] .step-title {
  background: linear-gradient(135deg, var(--primary-color), #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Step Description */
.step-description {
  color: #666;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 1.2s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html[data-theme="dark"] .step-description {
  color: #bbb;
}

/* Different animation timings for visual interest */
.process-step:nth-child(1) .step-number-container::before { animation-duration: 5s; }
.process-step:nth-child(2) .step-number-container::before { animation-duration: 7s; animation-direction: reverse; }
.process-step:nth-child(3) .step-number-container::before { animation-duration: 6s; }
.process-step:nth-child(4) .step-number-container::before { animation-duration: 8s; animation-direction: reverse; }
.process-step:nth-child(5) .step-number-container::before { animation-duration: 9s; }

.process-step:nth-child(1) .step-number { animation-delay: 0.1s; }
.process-step:nth-child(2) .step-number { animation-delay: 0.2s; }
.process-step:nth-child(3) .step-number { animation-delay: 0.3s; }
.process-step:nth-child(4) .step-number { animation-delay: 0.4s; }
.process-step:nth-child(5) .step-number { animation-delay: 0.5s; }

/* Mobile Responsive */
@media (max-width: 1024px) {
  .process-steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 120px;
    margin: 100px 0 60px;
  }
  
  .process-steps::before,
  .process-steps::after {
    display: none;
  }
  
  .process-step {
    flex: 0 0 calc(50% - 40px);
    margin: 60px 0;
    padding: 120px 25px 30px;
  }
  
  .step-number-container {
    top: -60px;
    width: 120px;
    height: 120px;
  }
  
  .step-number-container::before {
    width: 100px;
    height: 100px;
  }
  
  .step-number-container::after {
    width: 80px;
    height: 80px;
  }
  
  .step-number {
    width: 60px;
    height: 60px;
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 120px;
    margin: 80px 0 40px;
  }
  
  .process-step {
    flex: 0 0 100%;
    max-width: 400px;
    margin: 0;
    padding: 110px 25px 30px;
  }
  
  .step-number-container {
    width: 110px;
    height: 110px;
    top: -55px;
  }
  
  .step-number-container::before {
    width: 90px;
    height: 90px;
  }
  
  .step-number-container::after {
    width: 70px;
    height: 70px;
  }
  
  .step-number {
    width: 55px;
    height: 55px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .process-step {
    padding: 100px 20px 25px;
    max-width: 100%;
    margin: 0 10px;
  }
  
  .step-number-container {
    width: 100px;
    height: 100px;
    top: -50px;
  }
  
  .step-number-container::before {
    width: 80px;
    height: 80px;
  }
  
  .step-number-container::after {
    width: 60px;
    height: 60px;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 16px;
    border-width: 3px;
  }
  
  .step-title {
    font-size: 18px;
    margin-bottom: 15px;
  }
  
  .step-description {
    font-size: 14px;
  }
}

/* Sparkle Effect */
.step-number::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.8), transparent);
  border-radius: 50%;
  z-index: -1;
  animation: sparkle 4s linear infinite;
}

@keyframes sparkle {
  0%, 100% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}
/* Projects Show More/Less Styles */
.hidden-project {
  display: none;
}

.show-more-container {
  text-align: center;
  margin-top: 50px;
}

/* Animation for showing/hiding projects */
.project-item {
  transition: all 0.5s ease;
}

/* Ensure proper spacing when projects are shown */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
.loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: black;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            overflow: hidden;
        }
        
        .loading-container {
            text-align: center;
            color: white;
            z-index: 10;
            position: relative;
        }
        
        .loading-logo {
            font-size: 80px;
            margin-bottom: 30px;
            color: #d4af37;
            text-shadow: 0 0 20px rgba(212, 175, 55, 0.7);
            animation: logoFloat 3s infinite ease-in-out;
        }
        
        .loading-container h1 {
            font-size: 42px;
            margin-bottom: 30px;
            font-family: "Playfair Display", serif;
            color: #d4af37;
            text-transform: uppercase;
            letter-spacing: 3px;
            animation: titlePulse 2s infinite alternate;
        }
        
        .loading-spinner {
            margin: 40px 0;
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .spinner {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            position: relative;
            animation: spin 2s linear infinite;
        }
        
        .spinner::before {
            content: '';
            position: absolute;
            top: -8px;
            left: -8px;
            right: -8px;
            bottom: -8px;
            border-radius: 50%;
            background: conic-gradient(
                from 0deg,
                #d4af37,
                #8b7355,
                #d4af37,
                #8b7355,
                #d4af37
            );
            z-index: -1;
            animation: spin 4s linear infinite reverse;
            filter: blur(15px);
            opacity: 0.7;
        }
        
        .spinner-inner {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: #1a1a1a;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            z-index: 1;
            border: 2px solid #d4af37;
            box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
        }
        
        .spinner-center {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: #d4af37;
            box-shadow: 0 0 15px #d4af37;
            animation: centerPulse 1.5s infinite alternate;
        }
        
        .loading-text {
            font-size: 18px;
            margin-top: 20px;
            color: #d4af37;
            text-transform: uppercase;
            letter-spacing: 2px;
            animation: textFlicker 2s infinite alternate;
        }
        
        /* Golden particles */
        .particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
        
        .particle {
            position: absolute;
            width: 6px;
            height: 6px;
            background: #d4af37;
            border-radius: 50%;
            animation: float 15s infinite linear;
            box-shadow: 0 0 10px #d4af37;
        }
        
        .particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 20s; }
        .particle:nth-child(2) { left: 20%; animation-delay: 1s; animation-duration: 25s; }
        .particle:nth-child(3) { left: 30%; animation-delay: 2s; animation-duration: 15s; }
        .particle:nth-child(4) { left: 40%; animation-delay: 3s; animation-duration: 30s; }
        .particle:nth-child(5) { left: 50%; animation-delay: 4s; animation-duration: 18s; }
        .particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 22s; }
        .particle:nth-child(7) { left: 70%; animation-delay: 6s; animation-duration: 28s; }
        .particle:nth-child(8) { left: 80%; animation-delay: 7s; animation-duration: 17s; }
        .particle:nth-child(9) { left: 90%; animation-delay: 8s; animation-duration: 24s; }
        .particle:nth-child(10) { left: 95%; animation-delay: 9s; animation-duration: 19s; }
        
        /* Geometric shapes in gold */
        .geometric-shapes {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
        
        .shape {
            position: absolute;
            border: 2px solid rgba(212, 175, 55, 0.3);
            animation: shapeRotate 20s infinite linear;
        }
        
        .shape-1 {
            top: 10%;
            left: 10%;
            width: 100px;
            height: 100px;
            border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
            animation-duration: 25s;
            box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
        }
        
        .shape-2 {
            top: 70%;
            left: 80%;
            width: 150px;
            height: 150px;
            border-radius: 50%;
            animation-duration: 30s;
            animation-direction: reverse;
            box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
        }
        
        .shape-3 {
            top: 50%;
            left: 20%;
            width: 120px;
            height: 120px;
            border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
            animation-duration: 35s;
            box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
        }
        
        .shape-4 {
            top: 20%;
            left: 70%;
            width: 80px;
            height: 80px;
            border-radius: 20% 80% 80% 20% / 20% 20% 80% 80%;
            animation-duration: 40s;
            animation-direction: reverse;
            box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
        }
        
        /* Golden light beams */
        .light-beams {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
        
        .beam {
            position: absolute;
            width: 2px;
            height: 100%;
            background: linear-gradient(to bottom, transparent, #d4af37, transparent);
            opacity: 0;
            animation: beamSweep 8s infinite linear;
        }
        
        .beam-1 { left: 20%; animation-delay: 0s; }
        .beam-2 { left: 40%; animation-delay: 2s; }
        .beam-3 { left: 60%; animation-delay: 4s; }
        .beam-4 { left: 80%; animation-delay: 6s; }
        
        /* Crown rays */
        .crown-rays {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
        
        .ray {
            position: absolute;
            width: 2px;
            height: 100px;
            background: linear-gradient(to bottom, transparent, #d4af37, transparent);
            top: 50%;
            left: 50%;
            transform-origin: 0 0;
            opacity: 0.7;
        }
        
        .ray:nth-child(1) { transform: rotate(0deg); animation: rayPulse 3s infinite; }
        .ray:nth-child(2) { transform: rotate(45deg); animation: rayPulse 3s infinite 0.2s; }
        .ray:nth-child(3) { transform: rotate(90deg); animation: rayPulse 3s infinite 0.4s; }
        .ray:nth-child(4) { transform: rotate(135deg); animation: rayPulse 3s infinite 0.6s; }
        .ray:nth-child(5) { transform: rotate(180deg); animation: rayPulse 3s infinite 0.8s; }
        .ray:nth-child(6) { transform: rotate(225deg); animation: rayPulse 3s infinite 1s; }
        .ray:nth-child(7) { transform: rotate(270deg); animation: rayPulse 3s infinite 1.2s; }
        .ray:nth-child(8) { transform: rotate(315deg); animation: rayPulse 3s infinite 1.4s; }
        
        /* Animations */
        @keyframes logoFloat {
            0%, 100% {
                transform: translateY(0) scale(1);
                text-shadow: 0 0 20px rgba(212, 175, 55, 0.7);
            }
            50% {
                transform: translateY(-20px) scale(1.05);
                text-shadow: 0 0 30px rgba(212, 175, 55, 0.9), 0 0 40px rgba(212, 175, 55, 0.5);
            }
        }
        
        @keyframes titlePulse {
            0% {
                transform: scale(1);
                opacity: 0.9;
            }
            100% {
                transform: scale(1.05);
                opacity: 1;
                text-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
            }
        }
        
        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }
        
        @keyframes centerPulse {
            0% {
                transform: scale(1);
                box-shadow: 0 0 15px #d4af37;
            }
            100% {
                transform: scale(1.5);
                box-shadow: 0 0 30px #d4af37, 0 0 45px #d4af37;
            }
        }
        
        @keyframes textFlicker {
            0%, 100% {
                opacity: 1;
            }
            50% {
                opacity: 0.7;
            }
        }
        
        @keyframes float {
            0% {
                transform: translateY(100vh) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                opacity: 1;
            }
            100% {
                transform: translateY(-100px) rotate(360deg);
                opacity: 0;
            }
        }
        
        @keyframes shapeRotate {
            0% {
                transform: rotate(0deg);
                border-color: rgba(212, 175, 55, 0.3);
            }
            50% {
                border-color: rgba(212, 175, 55, 0.7);
            }
            100% {
                transform: rotate(360deg);
                border-color: rgba(212, 175, 55, 0.3);
            }
        }
        
        @keyframes beamSweep {
            0% {
                opacity: 0;
                transform: translateY(-100%) rotate(0deg);
            }
            10% {
                opacity: 1;
            }
            20% {
                opacity: 0;
            }
            100% {
                opacity: 0;
                transform: translateY(100%) rotate(180deg);
            }
        }
        
        @keyframes rayPulse {
            0%, 100% {
                opacity: 0.3;
                height: 100px;
            }
            50% {
                opacity: 0.7;
                height: 150px;
            }
        }
        
        /* Progress bar */
        .progress-container {
            width: 300px;
            height: 8px;
            background: rgba(212, 175, 55, 0.2);
            border-radius: 4px;
            margin: 30px auto;
            overflow: hidden;
            position: relative;
            border: 1px solid rgba(212, 175, 55, 0.3);
        }
        
        .progress-bar {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, #d4af37, #f1c40f, #d4af37);
            border-radius: 4px;
            animation: progress 3s ease-in-out infinite;
            position: relative;
            overflow: hidden;
        }
        
        .progress-bar::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
            animation: progressShine 2s infinite;
        }
        
        @keyframes progress {
            0% { width: 0%; }
            50% { width: 70%; }
            100% { width: 100%; }
        }
        
        @keyframes progressShine {
            0% { left: -100%; }
            100% { left: 100%; }
        }
        
        /* Loading dots */
        .loading-dots {
            display: flex;
            justify-content: center;
            margin-top: 20px;
        }
        
        .dot {
            width: 12px;
            height: 12px;
            background: #d4af37;
            border-radius: 50%;
            margin: 0 5px;
            animation: dotBounce 1.4s infinite ease-in-out;
        }
        
        .dot:nth-child(1) { animation-delay: -0.32s; }
        .dot:nth-child(2) { animation-delay: -0.16s; }
        .dot:nth-child(3) { animation-delay: 0s; }
        
        @keyframes dotBounce {
            0%, 80%, 100% {
                transform: scale(0.8);
                opacity: 0.5;
            }
            40% {
                transform: scale(1.2);
                opacity: 1;
            }
        }
        
        /* Subtle fade out */
        @keyframes fadeOut {
            to {
                opacity: 0;
                visibility: hidden;
            }
        }
        /* Form Status Messages */
.form-status {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 500;
    display: none;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    font-size: 14px;
}

.form-status.success {
    background-color: rgba(40, 167, 69, 0.1);
    border-color: #28a745;
    color: #28a745;
    display: block;
}

.form-status.error {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: #dc3545;
    color: #dc3545;
    display: block;
}

/* Loading state for submit button */
.btn.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

[dir="rtl"] .btn.loading::after {
    margin-left: 0;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Portfolio Page Styles */
.portfolio-section {
    background: var(--light-bg);
    padding: 80px 0;
}

html[data-theme="dark"] .portfolio-section {
    background: #1a1a1a;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
    opacity: 1;
    transform: translateY(0);
}

html[data-theme="dark"] .portfolio-item {
    background: #1a1a1a;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
}

.portfolio-item.hidden {
    opacity: 0;
    transform: translateY(20px);
    display: none;
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.portfolio-category {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.portfolio-link {
    display: inline-block;
    padding: 8px 15px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.portfolio-cta {
    text-align: center;
    margin-top: 30px;
}

/* Enhanced CEO Section Styles */
.ceo-section {
    background: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

html[data-theme="dark"] .ceo-section {
    background: #1a1a1a;
}

.ceo-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.1) 100%);
    z-index: 0;
}

.ceo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ceo-image {
    position: relative;
    text-align: center;
}

.ceo-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.ceo-image:hover img {
    transform: scale(1.02);
}

.ceo-achievements {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.achievement-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color), #f1c40f);
    color: var(--secondary-color);
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.achievement-badge:hover::before {
    left: 100%;
}

.achievement-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.achievement-badge i {
    font-size: 18px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Alternative achievement badge styles */
.achievement-badge.style-2 {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.achievement-badge.style-2:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px) scale(1.05);
}

.achievement-badge.style-3 {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    position: relative;
}

.achievement-badge.style-3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.achievement-badge.style-3:hover::after {
    transform: scaleX(1);
}

.achievement-badge.style-3:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-3px);
}

.ceo-info {
    padding: 20px 0;
}

.ceo-name {
    font-size: 36px;
    font-weight: 700;
    font-family: "Playfair Display", serif;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

html[data-theme="dark"] .ceo-name {
    color: var(--primary-color);
}

.ceo-position {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.ceo-experience {
    font-size: 16px;
    color: #666;
    font-weight: 600;
    margin-bottom: 25px;
}

html[data-theme="dark"] .ceo-experience {
    color: #aaa;
}

.ceo-bio {
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
}

html[data-theme="dark"] .ceo-bio {
    color: #ccc;
}

.ceo-quote {
    position: relative;
    padding: 20px 30px;
    background: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--primary-color);
    margin: 30px 0;
    font-style: italic;
    color: #666;
    border-radius: 0 10px 10px 0;
}

html[data-theme="dark"] .ceo-quote {
    background: rgba(212, 175, 55, 0.2);
    color: #bbb;
}

.ceo-quote i {
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 24px;
    color: var(--primary-color);
    background: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

html[data-theme="dark"] .ceo-quote i {
    background: #1a1a1a;
}

.ceo-social {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.ceo-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ceo-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .ceo-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .ceo-image {
        order: -1;
    }
    
    .ceo-achievements {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .portfolio-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
    }
    
    .ceo-name {
        font-size: 28px;
    }
    
    .ceo-quote {
        padding: 15px 20px;
        margin: 20px 0;
    }
    
    .ceo-achievements {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .achievement-badge {
        width: 250px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-image {
        height: 200px;
    }
    
    .ceo-name {
        font-size: 24px;
    }
    
    .ceo-quote {
        font-size: 14px;
    }
    
    .achievement-badge {
        width: 200px;
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .achievement-badge i {
        font-size: 16px;
    }
}
/* Form Status Messages */
.form-status {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 500;
    display: none;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    font-size: 14px;
}

.form-status.success {
    background-color: rgba(40, 167, 69, 0.1);
    border-color: #28a745;
    color: #28a745;
    display: block;
}

.form-status.error {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: #dc3545;
    color: #dc3545;
    display: block;
}

/* Loading state for submit button */
.btn.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

[dir="rtl"] .btn.loading::after {
    margin-left: 0;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@media (max-width: 768px) {
  .logo-text {
    display: none !important;
  }
}
/* Add these styles to your existing styles.css file */

/* Show More/Less Button Styles */
.services-hidden {
    display: none;
}

.show-more-container {
    text-align: center;
    margin-top: 40px;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Featured Service Border */
.featured-service {
    border: 2px solid var(--primary-color);
    background: rgba(212, 175, 55, 0.05);
}

html[data-theme="dark"] .featured-service {
    background: rgba(212, 175, 55, 0.1);
}

/* Services Grid Layout */
.services-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-preview-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

html[data-theme="dark"] .service-preview-card {
    background: #1a1a1a;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.service-preview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
}

.service-preview-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-preview-card:hover .service-preview-image img {
    transform: scale(1.1);
}

.service-preview-content {
    padding: 25px;
}

.service-preview-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-preview-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

html[data-theme="dark"] .service-preview-description {
    color: #aaa;
}
/* Services Grid Styles */
.services-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Hidden services - initially hidden */
.hidden-service {
    display: none;
}

/* Featured service styling */
.featured-service {
    border: 2px solid var(--primary-color);
    background: rgba(212, 175, 55, 0.05);
}

html[data-theme="dark"] .featured-service {
    background: rgba(212, 175, 55, 0.1);
}

/* Service card base styles */
.service-preview-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

html[data-theme="dark"] .service-preview-card {
    background: #1a1a1a;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.service-preview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
}

.service-preview-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-preview-card:hover .service-preview-image img {
    transform: scale(1.1);
}

.service-preview-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 200px);
}

.service-preview-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

html[data-theme="dark"] .service-preview-title {
    color: var(--primary-color);
}

.service-preview-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

html[data-theme="dark"] .service-preview-description {
    color: #aaa;
}

/* Show More Button */
.show-more-container {
    text-align: center;
    margin-top: 40px;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* RTL Support */
html[dir="rtl"] .services-preview-grid {
    direction: rtl;
}

html[dir="rtl"] .service-preview-content {
    text-align: right;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .services-preview-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .service-preview-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .services-preview-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-preview-content {
        padding: 20px;
    }
}