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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  background: linear-gradient(135deg, #0d3b2e 0%, #1a5c47 50%, #0d3b2e 100%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow: hidden;
}

.card-container {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
}

.card {
  background: linear-gradient(145deg, #ffffff 0%, #f5f5f5 100%);
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  animation: fadeIn 0.6s ease-out;
  display: flex;
  flex-direction: column;
}

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

.header {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  padding: 20px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.logo {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-size: 26px;
  font-weight: bold;
  color: white;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.content {
  padding: 25px;
}

.content::-webkit-scrollbar {
  width: 8px;
}

.content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.content::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  border-radius: 10px;
}

.content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #229954, #27ae60);
}

.section {
  margin-bottom: 25px;
}

.section-title {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-btn {
  display: flex;
  align-items: center;
  text-decoration: none;
  background: white;
  color: #1a1a2e;
  padding: 16px 20px;
  margin: 10px 0;
  border-radius: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  border-color: #27ae60;
}

.contact-btn:active {
  transform: translateY(0);
}

.contact-btn i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 18px;
  margin-left: 15px;
  flex-shrink: 0;
}

.egypt { 
  background: linear-gradient(135deg, #e74c3c, #c0392b); 
  color: white; 
}

.palestine { 
  background: linear-gradient(135deg, #27ae60, #229954); 
  color: white; 
}

.whatsapp { 
  background: linear-gradient(135deg, #25D366, #128C7E); 
  color: white; 
}

.facebook { 
  background: linear-gradient(135deg, #3b5998, #2d4373); 
  color: white; 
}

.instagram { 
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); 
  color: white; 
}

.btn-text {
  flex: 1;
  text-align: right;
  font-size: 15px;
  font-family: 'Cairo', 'Courier New', monospace;
  direction: ltr;
  text-align: left;
}

.btn-label {
  font-size: 13px;
  color: #666;
  margin-top: 3px;
  font-family: 'Cairo', sans-serif;
  direction: rtl;
  text-align: right;
}

.btn-content {
  flex: 1;
  text-align: right;
}

.save-btn {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  color: white;
  margin-top: 20px;
  justify-content: center;
  font-size: 16px;
  font-family: 'Cairo', sans-serif;
}

.save-btn i {
  background: rgba(255, 255, 255, 0.2);
  margin-left: 10px;
  margin-right: 0;
}

.divider {
  height: 1px;
  background: linear-gradient(to left, transparent, #ddd, transparent);
  margin: 25px 0;
}

@media (max-width: 480px) {
  .card {
    border-radius: 20px;
  }
  
  .logo {
    width: 70px;
    height: 70px;
  }
  
  .brand-name {
    font-size: 22px;
  }
}