@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;900&display=swap");

/* متغيرات الألوان والتنسيقات العامة */
:root {
  --primary: #1a3a6e; /* أزرق سماوي عميق */
  --secondary: #c19a5b; /* ذهبي */
  --light: #f8f5f0; /* كريمي */
  --dark: #3a2c1a; /* بني داكن */
  --makkah: #1a6e6a; /* أزرق سماوي */
  --madinah: #a67c52; /* بني هادئ */
  --text: #333;
  --text-light: #777;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --gold-gradient: linear-gradient(135deg, #c19a5b 0%, #d4af37 100%);
  --blue-gradient: linear-gradient(135deg, #1a3a6e 0%, #1a6e6a 100%);
  --gold: #d4af37;
  --dark-gold: #b8860b;
  --green: #0a5c36;
  --dark-green: #07482a;
  --light-beige: #f8f3e6;
  --dark-brown: #3a2d13;
  --white: #ffffff;
  --makkah-blue: #1a3a6e;
  --madinah-green: #2a5a3a;
}

/* إعدادات عامة */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Tajawal", sans-serif;
}

body {
  background-color: var(--light-beige);
  color: var(--dark-brown);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* تنسيقات الهيدر الرئيسي */
.main-header {
  position: relative;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dark), #2a2118);
  color: white;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.header-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="rgba(255,255,255,0.05)" d="M30,10L50,30L70,10L90,30L70,50L90,70L70,90L50,70L30,90L10,70L30,50L10,30L30,10Z"/></svg>');
  opacity: 0.3;
}

.main-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-content {
  animation: fadeInUp 1s ease-out;
  text-align: center;
}

.header-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 15px;
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
  position: relative;
  display: inline-block;
  background: linear-gradient(to right, var(--gold), var(--white), var(--gold));
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine2 3s linear infinite;
    line-height: 1.4 !important;
  padding: 10px 0 !important;
  transform: translateZ(0);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.header-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
}

.header-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0.9;
  animation: fadeIn 2s ease-out;
}

/* تنسيقات اختيار المسجد */
.mosque-selector-container {
  position: relative;
  max-width: 600px;
  margin: -30px auto 40px;
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: center;
}

.mosque-selector {
  display: flex;
  width: 100%;
  position: relative;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  background-color: var(--white);
}

.selector-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, var(--gold), var(--dark-gold));
  border-radius: 50px;
  transform: translateX(100%);
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.selector-btn {
  flex: 1;
  padding: 20px;
  border: none;
  background: transparent;
  color: var(--dark-brown);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.selector-btn.active {
  color: white;
}

.selector-icon {
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.selector-decoration {
  position: absolute;
  background: var(--gold);
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.3;
  z-index: -1;
}

.decoration-1 {
  width: 150px;
  height: 150px;
  top: -50px;
  right: -50px;
  animation: float 6s ease-in-out infinite;
}

.decoration-2 {
  width: 100px;
  height: 100px;
  bottom: -30px;
  left: -30px;
  animation: float 8s ease-in-out infinite;
  animation-delay: 1s;
}

/* تنسيقات قسم الأئمة */
.imams-section {
  display: none;
  padding: 60px 0;
  position: relative;
  width: 100%;
}

.imams-section.active {
  display: block;
  animation: fadeIn 0.5s ease-out;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--dark-brown);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
}

.imams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 30px;
  width: 100%;
  justify-items: center;
}

.imam-card {
  background: var(--white);
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.imam-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.imam-image-container {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.imam-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.imam-card:hover .imam-image {
  transform: scale(1.05);
}

.mosque-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 15px;
  border-radius: 30px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;

}

.makkah-badge {
  background-color: white;
  color: var(--makkah-blue);
  border: 1px solid rgba(26, 58, 110, 0.2);
  transition: all 0.5s ease;
}

.makkah-badge:hover {
  color: white;
  background-color: var(--makkah-blue);
}

.madinah-badge {
  background-color: white;
  color: #a67c52;
  border: 1px solid rgba(26, 58, 110, 0.2);
  transition: all 0.5s ease;
}

.madinah-badge:hover {
  background-color: #a67c52;
  color: white;
}

.imam-info {
  padding: 25px;
}

.imam-name {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: var(--dark-brown);
  text-align: center;
  font-weight: 700;
}

.imam-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  color: var(--dark-gold);
  font-weight: 500;
  padding: 15px 10px;
  border-bottom: 2px solid #eee;
}

.stat-label {
  font-size: 0.85rem;
  color: #777;
  font-weight: 500;
}

.view-profile {
  width: 100%;
  padding: 12px;
  border: none;
  background: linear-gradient(to right, var(--gold), var(--dark-gold));
  color: white;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1rem;
  margin-top: 10px;
  

}

.view-profile:hover {
  background: linear-gradient(to right, var(--dark-gold), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* تنسيقات عداد المشاهدات */
.imam-views-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 0;
  padding: 8px 12px;
  background-color: rgba(26, 58, 110, 0.08);
  border-radius: 20px;
  font-size: 14px;
  color: var(--text-light);
  border: 1px solid rgba(26, 58, 110, 0.1);
  transition: all 0.3s ease;
}

.imam-card:hover .imam-views-counter {
  background-color: rgba(26, 58, 110, 0.12);
  border-color: rgba(26, 58, 110, 0.15);
}

.imam-views-counter .views-count {
  font-weight: bold;
  color: var(--primary);
  font-size: 15px;
}

.imam-views-counter i {
  color: var(--gold);
  font-size: 14px;
}

/* تنسيقات بطاقات الأئمة غير الجاهزين */
.imam-card.not-ready {
  position: relative;
  opacity: 0.9;
  filter: grayscale(0.4);
  border: 2px dashed #b8b8b8;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
  background-size: 400% 400%;
  animation: shimmer 3s ease infinite;
  pointer-events: none;
  overflow: hidden;
}

.imam-card.not-ready::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
  border-radius: 15px;
  animation: shine 3s infinite;
}

.imam-card.not-ready::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: 1;
  border-radius: 15px;
}

.imam-card.not-ready > * {
  position: relative;
  z-index: 2;
}

.imam-card.not-ready .imam-image {
  filter: brightness(0.85) contrast(0.9);
  transition: none;
}

.imam-card.not-ready .mosque-badge {
  background: rgba(108, 117, 125, 0.9) !important;
  color: white !important;
  border-color: rgba(108, 117, 125, 0.7) !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.imam-card.not-ready .imam-name {
  color: #6c757d !important;
  position: relative;
}

.imam-card.not-ready .imam-meta {
  color: #868e96 !important;
  border-color: #dee2e6 !important;
}

.imam-card.not-ready .imam-views-counter {
  background-color: rgba(108, 117, 125, 0.15) !important;
  border-color: rgba(108, 117, 125, 0.3) !important;
  color: #6c757d !important;
}

.imam-card.not-ready .imam-views-counter .views-count {
  color: #6c757d !important;
}

.imam-card.not-ready .imam-views-counter i {
  color: #6c757d !important;
}

.not-ready-message {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  color: white;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 3px 8px rgba(108, 117, 125, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.not-ready-message::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: slide 2s infinite;
}

.not-ready-message i {
  font-size: 1.1rem;
  color: #ffc107;
  animation: spin 3s linear infinite;
}

.imam-card.not-ready:hover {
  transform: none !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.working-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 193, 7, 0.9);
  color: #333;
  padding: 15px 25px;
  border-radius: 50px;
  font-weight: 700;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  animation: bounce 2s infinite;
}

.working-badge i {
  font-size: 1.2rem;
  animation: spin 3s linear infinite;
}

/* تنسيقات قسم التواصل */
.contact-section {
  background-color: rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.contact-intro {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 15px;
}

.contact-intro h4 {
  font-size: 3em;
  color: var(--gold);
  margin-bottom: 10px;
  display: inline-block;
  position: relative;
}

.contact-intro h4::after {
  content: "؟";
  position: absolute;
  left: -25px;
  top: 0;
  color: var(--gold);
  font-size: 3rem;
  animation: pulse 2s infinite;
}

.contact-intro p {
  color: var(--dark-brown);
  font-size: 1.6rem;
  line-height: 1.6;
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.telegram-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  background: #0088cc;
  color: white;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 0 auto;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.telegram-btn:hover {
  background: #0077b5;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 136, 204, 0.3);
}

.contact-divider {
  display: flex;
  align-items: center;
  color: var(--dark-brown);
  font-size: 1rem;
}

.contact-divider::before,
.contact-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin: 0 15px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.form-group label {
  font-size: 0.9rem;
  color: var(--madinah);
}

.form-control {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: white;
  font-family: "Tajawal", sans-serif;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  padding: 15px;
  background: linear-gradient(to right, var(--gold), var(--dark-gold));
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  margin-top: 10px;
}

.submit-btn:hover {
  background: linear-gradient(to right, var(--dark-gold), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.submit-btn:disabled {
  background-color: #95a5a6 !important;
  border-color: #95a5a6 !important;
  cursor: not-allowed !important;
  opacity: 0.7;
  transform: none !important;
  box-shadow: none !important;
}

.submit-btn:disabled:hover {
  transform: none !important;
  box-shadow: none !important;
}

.success-message {
  background: #d1edff;
  border: 1px solid #b3d9ff;
  color: #004085;
  padding: 12px 15px;
  border-radius: 6px;
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  animation: fadeIn 0.3s ease-in;
  display: none;
}

.success-message i {
  margin-left: 8px;
  color: #28a745;
}

.time-remaining-message {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  color: #856404;
  padding: 10px 15px;
  border-radius: 6px;
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  animation: fadeIn 0.3s ease-in;
  direction: rtl;
}

.time-remaining-message i {
  margin-left: 8px;
  color: #ffc107;
}

.time-remaining-message.hidden {
  display: none !important;
}

/* تنسيقات الفوتر */
.main-footer {
  background: linear-gradient(135deg, var(--dark), #2a2118);
  color: white;
  padding: 5rem 0 3rem;
  text-align: center;
  margin-top: 5rem;
  position: relative;
  clip-path: ellipse(120% 100% at 50% 100%);
  padding-top: 8rem;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-logo {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  line-height: 1.4 !important;
  padding: 10px 0 !important;
  transform: translateZ(0);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.footer-description {
  opacity: 0.8;
  margin-bottom: 3rem;
  line-height: 1.8;
  font-size: 1.1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration:  none;
}

.social-link:hover {
  background-color: var(--secondary);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 5px 15px rgba(193, 154, 91, 0.3);
  border-color: transparent;
}

.copyright {
  opacity: 0.6;
  font-size: 0.95rem;
  margin-top: 2rem;
}

.footer-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgdmlld0JveD0iMCAwIDYwIDYwIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iMC4wMyI+PHBhdGggZD0iTTM2IDM0aDUuNzdDMzkuODggMzYuMDcgMzggMzggMzggMzhzLTEuODgtMS45My0zLjc3LTRIMzZ6TTI0IDM0aC01Ljc3QzIwLjEyIDM2LjA3IDIyIDM4IDIyIDM4czEuODgtMS45MyAzLjc3LTRIMjR6Ii8+PC9nPjwvZz48L3N2Zz4=");
  opacity: 0.1;
}

/* تحسين المسافات بعد إضافة العداد */
.imam-meta {
  margin-bottom: 10px !important;
}

.view-profile,
.not-ready-message {
  margin-top: 8px !important;
}


/* الأنيميشنات */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes shine2 {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes shine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes slide {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
  }
}

/* التصميم المتجاوب */
@media (max-width: 1500px) {
  .imams-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  }
}

@media (max-width: 1200px) {
  .imams-grid {
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  }
}

@media (max-width: 992px) {
  .imams-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .imam-image-container {
    height: 280px;
  }

  .selector-decoration {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-title {
    font-size: 2.5rem;
  }

  .header-subtitle {
    font-size: 1.2rem;
  }

  .selector-btn {
    font-size: 1rem;
    padding: 15px;
    flex-direction: column;
    gap: 5px;
  }

  .selector-icon {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .imams-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .imam-image-container {
    height: 250px;
  }

  .contact-intro h4,
  .contact-intro h4::after {
    font-size: 2.3rem;
  }

  .contact-intro h4::after {
    left: -20px;
  }

  .main-footer {
    clip-path: none;
  }

  .imam-views-counter {
    font-size: 13px;
    padding: 6px 10px;
  }

  .imam-views-counter .views-count {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .header-title {
    font-size: 2rem;
  }

  .header-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .imam-info {
    padding: 20px;
  }

  .imam-meta {
    font-size: 11px;
    font-weight: 600;
  }

  .imam-name {
    font-size: 1.1rem;
  }

  .imams-grid {
    grid-template-columns: 1fr;
  }

  .imam-card {
    width: 100%;
  }
  .view-profile,
  .mosque-badge,
  .telegram-btn,
  .imam-views-counter{
    align-items: flex-start;
  }

  .contact-intro h4,
  .contact-intro h4::after {
    font-size: 1.8rem;
  }

  .contact-intro p {
    font-size: 1rem;
  }

  .telegram-btn {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .footer-description {
    font-size: 0.9rem;
    margin: 10px;
  }
}

@media (max-width: 420px) {
  .contact-intro h4,
  .contact-intro h4::after {
    font-size: 1.4rem;
  }
}
