* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
:root {
  --color-primary: #193277;
  --color-primary-dark: #0b2545;
  --color-secondary: #bd9d6c;
  --color-text-dark: #333;
  --color-background-light: #f8f8f8;
  --color-white: #ffffff;
  --color-light-gray: #eee;
  --font-size-base: 16px;
  --font-size-title: 2.5em;
  --font-size-subtitle: 1.5em;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
}

main {
  padding: var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}

.section-TXT {
  font-size: var(--font-size-title);
  color: var(--color-primary-dark);
  text-align: center;
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-sm);
  font-weight: bold;
  border-bottom: 5px solid var(--color-secondary);
  width: 48%;
}

.student-affairs-section {
  padding: var(--spacing-lg) 0;
}

.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.image-container {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.image-container img {
  max-width: 100%;
  height: 650px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.links-container {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  gap: 25px;
  min-width: 300px;
}

.downloaded-link {
  display: flex;
  align-items: center;
  background-color: var(--color-light-gray);
  color: var(--color-primary-dark);
  padding: var(--spacing-sm) var(--spacing-md);
  margin-bottom: 25px;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-light-gray);
}

.downloaded-link:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
  border-color: var(--color-secondary);
}

.downloaded-link .icon {
  margin-left: var(--spacing-xs);
  font-size: 1.2em;
  line-height: 1;
}

@media (max-width: 768px) {
  .section-TXT {
    font-size: 1.5rem;
    width: 100%;
    margin-bottom: var(--spacing-md);
  }
  .downloaded-link {
    font-size: 13px;
  }
  .content-wrapper {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  .image-container,
  .links-container {
    min-width: unset;
    width: 100%;
  }
  .image-container {
    order: -1;
  }
  .image-container img {
    height: 300px;
  }
}

/*  دليل الطالب   */

.evidence-main {
  background: #f4f6fb;
  min-height: 80vh;
  padding-bottom: 60px;
}

.evidence-hero {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--color-primary-dark) 0%,
    var(--color-primary) 60%,
    #2a3fa0 100%
  );
  padding: 80px 20px 90px;
  text-align: center;
  overflow: hidden;
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  background: var(--color-secondary);
}
.shape-1 {
  width: 350px;
  height: 350px;
  top: -100px;
  left: -80px;
}
.shape-2 {
  width: 200px;
  height: 200px;
  bottom: -60px;
  right: 10%;
}
.shape-3 {
  width: 120px;
  height: 120px;
  top: 30px;
  right: 20%;
  background: white;
  opacity: 0.06;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(189, 157, 108, 0.18);
  border: 2px solid var(--color-secondary);
  border-radius: 50%;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--color-secondary);
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(189, 157, 108, 0.3);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(189, 157, 108, 0);
  }
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--color-secondary);
}
.hero-divider span {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--color-secondary);
  opacity: 0.6;
}
.hero-divider i {
  font-size: 0.7rem;
}

.intro-cards-section {
  max-width: 1100px;
  margin: -40px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.intro-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.intro-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(25, 50, 119, 0.1);
  border-top: 4px solid var(--color-secondary);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.intro-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(25, 50, 119, 0.16);
}

.intro-card-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--color-primary), #2a3fa0);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
  color: var(--color-secondary);
}

.intro-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.intro-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
}

.download-section {
  max-width: 900px;
  margin: 50px auto 0;
  padding: 0 20px;
}

.download-wrapper {
  background: var(--color-white);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 8px 40px rgba(25, 50, 119, 0.09);
}

.download-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(25, 50, 119, 0.07);
  color: var(--color-primary);
  border: 1px solid rgba(25, 50, 119, 0.15);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.download-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}

.download-desc {
  font-size: 0.95rem;
  color: #777;
}

.download-cards {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.download-card {
  background: linear-gradient(
    135deg,
    var(--color-primary-dark) 0%,
    var(--color-primary) 100%
  );
  border-radius: 18px;
  padding: 32px 36px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 12px 40px rgba(25, 50, 119, 0.25);
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  top: -60px;
  left: -60px;
}

.download-card-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.pdf-icon-large {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  background: rgba(189, 157, 108, 0.15);
  border: 2px solid rgba(189, 157, 108, 0.4);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-secondary);
}

.download-card-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4px;
}

.download-card-info p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}

.file-meta {
  display: flex;
  gap: 14px;
}

.file-meta span {
  font-size: 0.78rem;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--color-secondary);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(189, 157, 108, 0.35);
  width: 100%;
}

.download-btn:hover {
  background: #d4b47e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(189, 157, 108, 0.5);
  color: var(--color-primary-dark);
}

.download-btn i {
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.9rem;
  }
  .intro-cards-grid {
    grid-template-columns: 1fr;
  }
  .download-card-top {
    flex-direction: column;
    text-align: center;
  }
  .file-meta {
    justify-content: center;
  }
  .download-wrapper {
    padding: 28px 20px;
  }
}
