@font-face {
  font-family: 'Vazirmatn';
  src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
}

body {
  background-color: #121212;
  overflow-x: hidden;
  color: #e0e0e0;
}

nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.5s ease;
  background-color: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(10px);
}

.nav-right {
  display: flex;
  align-items: center;
}

.nav-right .logo-img {
  height: 40px;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: #e0e0e0;
  display: flex;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}



.logo a {
  text-decoration: none;
  color: #e0e0e0;
}

.logo span {
  color: #00a8ff;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #e0e0e0;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #00a8ff;
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.hero {
  height: 100vh;
  width: 100%;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)), url('images/hero-bg.png');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.hero h1 {
  font-size: 60px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
}

.hero p {
  font-size: 22px;
  max-width: 700px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
}

.hero-btn {
  display: inline-block;
  padding: 15px 30px;
  background-color: #00a8ff;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.hero-btn:hover {
  background-color: #0097e6;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.building-section {
  height: 120vh;
  position: relative;
  overflow: hidden;
}

.building-container {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.building {
  position: absolute;
  bottom: -100%;
  left: 50%;
  transform: translateX(-50%);
  height: 90vh;
  width: auto;
  max-width: 100%;
  opacity: 0;
}

@media (max-width: 768px) {
  .building {
    height: auto;
    max-height: 70vh;
  }
}

.white-frame {
  display: none;
}

.interior-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.interior-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.interior-slide.active {
  opacity: 1;
  z-index: 2;
}

.interior-overlay-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background-color: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  opacity: 0;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
}

.interior-overlay-card h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #333;
  font-weight: bold;
}

.interior-overlay-card p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #555;
}

.projects {
  padding: 100px 0;
  background-color: #1a1a1a;
}

.section-title {
  text-align: center;
  font-size: 40px;
  margin-bottom: 60px;
  color: #e0e0e0;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 0 40px;
}

.project-card {
  background-color: #242424;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.project-img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  background-color: #000;
}

.project-content {
  padding: 20px;
}

.project-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #e0e0e0;
}

.project-content p {
  font-size: 16px;
  color: #b0b0b0;
  margin-bottom: 20px;
}

.project-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #00a8ff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.project-link:hover {
  background-color: #0097e6;
}

.services {
  padding: 100px 0;
  background-color: #121212;
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 0 40px;
}

.service-card {
  background-color: #242424;
  padding: 40px;
  border-radius: 10px;
  width: 300px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.service-icon {
  font-size: 50px;
  color: #00a8ff;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #e0e0e0;
}

.service-card p {
  font-size: 16px;
  color: #b0b0b0;
  line-height: 1.6;
}

.contact {
  padding: 100px 0;
  background-color: #1a1a1a;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  padding-right: 40px;
}

.contact-info h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.info-item {
  display: flex;
  margin-bottom: 20px;
}

.info-icon {
  font-size: 24px;
  color: #00a8ff;
  margin-left: 15px;
}

.info-content h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #e0e0e0;
}

.info-content p {
  font-size: 16px;
  color: #b0b0b0;
}

.contact-form {
  flex: 1;
  min-width: 300px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  color: #e0e0e0;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #333;
  border-radius: 5px;
  font-size: 16px;
  color: #e0e0e0;
  transition: all 0.3s ease;
  background-color: #242424;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #00a8ff;
  outline: none;
  background-color: #2a2a2a;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.submit-btn {
  display: inline-block;
  padding: 15px 30px;
  background-color: #00a8ff;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: #0097e6;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

footer {
  background-color: #0a0a0a;
  color: #fff;
  padding: 60px 0 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-col {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
}

.footer-col h4 {
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  color: #e0e0e0;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 2px;
  background-color: #00a8ff;
}

.footer-col p {
  font-size: 15px;
  line-height: 1.6;
  color: #b0b0b0;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
  list-style: none;
}

.footer-links a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #00a8ff;
  padding-right: 8px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #242424;
  color: #fff;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background-color: #00a8ff;
  transform: translateY(-5px);
}

.footer-bottom {
  border-top: 1px solid #242424;
  padding-top: 20px;
  text-align: center;
  width: 100%;
  margin-top: 30px;
}

.footer-bottom p {
  font-size: 14px;
  color: #808080;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 40px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  .nav-links {
    display: none;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .contact-info {
    padding-right: 0;
    margin-bottom: 40px;
  }
}

.white-card {
  position: absolute;
  top: 20%;
  left: 0;
  width: 40%;
  height: 60%;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 2;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 1s ease, opacity 1s ease;
  border-radius: 8px;
  color: #121212;
}

.white-card h2 {
  margin-bottom: 15px;
  font-size: 28px;
  color: #121212;
}

.white-card p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #333;
}

.text-box {
  position: absolute;
  top: 20%;
  left: 0;
  width: 40%;
  height: 60%;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 2;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 1s ease, opacity 1s ease;
}

.text-box.active {
  transform: translateX(0);
  opacity: 1;
}

.info-card {
  position: absolute;
  top: 20%;
  right: 0;
  width: 40%;
  height: auto;
  background-color: #ffffff;
  z-index: 2;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateX(100%);
  transition: transform 1s ease, opacity 1s ease;
  border-radius: 5px;
  text-align: right;
  direction: rtl;
}

.info-card h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.info-card p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #121212;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  color: #e0e0e0;
  font-size: 24px;
  transition: opacity 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}