@import url("https://fonts.googleapis.com/css2?family=Vazir:wght@300;400;500;600;700&display=swap");

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Vazir", sans-serif;
  background: linear-gradient(135deg, #121212 0%, #0f0f0f 100%);
  color: #f0f0f0;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Header Styles */
.header {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.logo-container {
  margin-bottom: 2rem;
}

.logo-circle {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(203, 161, 53, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logoRotate 2s ease-out;
}

.logo-inner {
  width: 288px;
  height: 288px;
  border-radius: 50%;
  background: #121212;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-content {
  width: 256px;
  height: 256px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37 0%, #cba135 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
}

.main-title {
  font-size: 4rem;
  font-weight: 700;
  color: #d4af37;
  margin-bottom: 2rem;
  animation: titleFadeIn 1s ease-out 0.5s both;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  animation: titleFadeIn 1s ease-out 0.8s both;
}

.scroll-arrow {
  color: #d4af37;
  animation: bounce 2s infinite;
}

/* About Section */
.about-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #121212 0%, #1a1a1a 50%, #121212 100%);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-text {
  opacity: 0;
  transform: translateX(-50px);
}

.about-text.aos-animate {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.8s ease;
}

.highlight-text {
  color: #d4af37;
  font-weight: 600;
  font-size: 1.1em;
}

.about-description {
  margin-bottom: 3rem;
}

.about-paragraph {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(240, 240, 240, 0.8);
  margin-bottom: 1.5rem;
  text-align: justify;
}

.stats-container {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}

.stat-item {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
}

.stat-item.aos-animate {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #d4af37;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(240, 240, 240, 0.7);
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
}

.btn-primary,
.btn-secondary {
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  transform: scale(0);
}

.btn-primary.aos-animate,
.btn-secondary.aos-animate {
  transform: scale(1);
}

.btn-primary {
  background: linear-gradient(135deg, #d4af37 0%, #cba135 100%);
  color: #0f0f0f;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #d4af37;
  border: 2px solid #d4af37;
}

.btn-secondary:hover {
  background: #d4af37;
  color: #0f0f0f;
  transform: scale(1.05);
}

.about-visual {
  opacity: 0;
  transform: translateX(50px);
}

.about-visual.aos-animate {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.8s ease;
}

.visual-container {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-element {
  position: absolute;
  color: #d4af37;
  opacity: 0.7;
  animation: float 6s ease-in-out infinite;
}

.element-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.element-2 {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.element-3 {
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

.central-graphic {
  position: relative;
}

.graphic-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(203, 161, 53, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 4s ease-in-out infinite;
}

.inner-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37 0%, #cba135 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text {
  font-size: 3rem;
  font-weight: 700;
  color: #0f0f0f;
}

/* Services Preview Section */
.services-preview {
  padding: 5rem 0;
  background: #0f0f0f;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #151515 100%);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  transform: rotateY(90deg);
  opacity: 0;
}

.service-card.aos-animate {
  transform: rotateY(0deg);
  opacity: 1;
  transition: all 0.8s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(203, 161, 53, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #d4af37;
}

.service-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #d4af37;
  margin-bottom: 1rem;
}

.service-description {
  color: rgba(240, 240, 240, 0.7);
  line-height: 1.6;
}

/* Team Section */
.team-section {
  padding: 5rem 0;
  background: #121212;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  color: #d4af37;
  margin-bottom: 4rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(50px);
}

.team-card.aos-animate {
  opacity: 1;
  transform: translateY(0);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover::before {
  opacity: 1;
}

.member-image-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.image-blur-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scale(1.1);
  width: 160px;
  height: 160px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(203, 161, 53, 0.1) 100%);
  border-radius: 50%;
  filter: blur(10px);
  z-index: 1;
}

.member-image {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.member-image-container:hover .hover-overlay {
  opacity: 1;
}

.member-image-container:hover .member-image {
  transform: scale(1.05);
}

.hover-name {
  color: #d4af37;
  font-size: 1.2rem;
  font-weight: 600;
}

.member-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: #d4af37;
  text-align: center;
  margin-bottom: 0.5rem;
}

.member-title {
  font-size: 1.1rem;
  color: rgba(240, 240, 240, 0.8);
  text-align: center;
  margin-bottom: 1rem;
}

.member-bio {
  color: rgba(240, 240, 240, 0.7);
  line-height: 1.7;
  text-align: justify;
}

/* Member Contact Styles */
.member-contact {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-info {
  color: rgba(240, 240, 240, 0.8);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.social-contact {
  margin-top: 1rem;
  text-align: center;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(203, 161, 53, 0.05) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 25px;
  color: #d4af37;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.instagram-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
  transition: left 0.5s ease;
}

.instagram-link:hover::before {
  left: 100%;
}

.instagram-link:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(203, 161, 53, 0.1) 100%);
  border-color: #d4af37;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.instagram-icon {
  color: #d4af37;
  transition: all 0.3s ease;
}

.instagram-link:hover .instagram-icon {
  transform: scale(1.1) rotate(5deg);
}

.instagram-link span {
  position: relative;
  z-index: 2;
}

/* Animation for contact section */
.member-contact {
  opacity: 0;
  transform: translateY(20px);
  animation: contactFadeIn 0.6s ease-out 0.3s both;
}

@keyframes contactFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background: #0f0f0f;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.social-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
  text-decoration: none;
  transition: all 0.3s ease;
  transform: scale(0);
}

.social-link.aos-animate {
  transform: scale(1);
}

.social-link:hover {
  background: #d4af37;
  color: #0f0f0f;
  transform: scale(1.1);
}

.contact-text {
  color: rgba(240, 240, 240, 0.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.email-highlight {
  color: #d4af37;
  font-weight: 500;
}

/* Footer */
.footer {
  padding: 2rem 0;
  background: #0a0a0a;
  text-align: center;
  color: rgba(240, 240, 240, 0.5);
}

/* Animations */
@keyframes logoRotate {
  from {
    transform: rotate(-180deg);
    opacity: 0;
  }
  to {
    transform: rotate(0deg);
    opacity: 1;
  }
}

@keyframes titleFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* New Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .logo-circle {
    width: 250px;
    height: 250px;
  }

  .logo-inner {
    width: 220px;
    height: 220px;
  }

  .logo-content {
    width: 190px;
    height: 190px;
  }

  .logo-img {
    width: 150px;
    height: 150px;
  }

  .main-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .team-card {
    padding: 1.5rem;
  }

  .social-links {
    gap: 1.5rem;
  }

  .container {
    padding: 0 15px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .stats-container {
    justify-content: center;
    gap: 1.5rem;
  }

  .cta-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .visual-container {
    height: 300px;
  }

  .graphic-circle {
    width: 150px;
    height: 150px;
  }

  .inner-circle {
    width: 110px;
    height: 110px;
  }

  .brand-text {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .member-image,
  .image-blur-bg {
    width: 120px;
    height: 120px;
  }

  .team-section,
  .contact-section {
    padding: 3rem 0;
  }
}

/* Responsive adjustments for contact section */
@media (max-width: 480px) {
  .instagram-link {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .instagram-icon {
    width: 20px;
    height: 20px;
  }

  .contact-info {
    font-size: 0.85rem;
  }
}
