/* Documents Page Styles */
:root {
  --primary-color: #ffa600;
  --secondary-color: #007cba;
  --dark-text: #2d3142;
  --light-text: #4a5568;
  --bg-light: #f8f9fc;
  --bg-white: #ffffff;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --gradient-primary: linear-gradient(135deg, #ffa600, #ff8c00);
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--dark-text);
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}
.scrolling-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000; /* Header'dan daha yüksek z-index */
  background: var(--gradient-primary);
  color: white;
  padding: 10px 0;
  overflow: hidden;
}
.scrolling-text {
  display: inline-block;
  white-space: nowrap;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.documents-hero {
  position: relative;
  background: linear-gradient(135deg, #f6f9fc 0%, #edf2f7 100%);
  padding: 140px 0 80px;
  text-align: center;
  overflow: hidden;
}

.documents-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.documents-hero-badge {
  display: inline-block;
  background-color: #fff;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
  animation: fadeInDown 1s forwards;
}

.documents-hero-title {
  font-size: 48px;
  font-weight: 800;
  margin: 0 0 20px;
  background: linear-gradient(90deg, var(--dark-text), #595c73);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 1s forwards 0.3s;
  opacity: 0;
}

.documents-hero-divider {
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #ff8c00);
  margin: 0 auto 30px;
  border-radius: 2px;
  animation: expandWidth 1.5s forwards 0.6s;
}

.documents-hero-description {
  font-size: 18px;
  color: var(--light-text);
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 1s forwards 0.8s;
  opacity: 0;
}

.documents-hero-description span {
  color: var(--primary-color);
  font-weight: 600;
}

.documents-shape {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

.documents-shape.shape-1 {
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 166, 0, 0.1) 0%,
    rgba(255, 166, 0, 0.05) 50%,
    rgba(255, 166, 0, 0) 70%
  );
  animation: float 8s ease-in-out infinite;
}

.documents-shape.shape-2 {
  bottom: -150px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(0, 124, 186, 0.1) 0%,
    rgba(0, 124, 186, 0.05) 50%,
    rgba(0, 124, 186, 0) 70%
  );
  animation: float 10s ease-in-out infinite reverse;
}

/* Certificates Section */
.certificates {
  padding: 100px 0;
  background-color: var(--bg-white);
}

.certificate-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.certificate-intro h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark-text);
}

.certificate-intro p {
  font-size: 17px;
  color: var(--light-text);
  line-height: 1.7;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.certificate-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.certificate-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.certificate-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.view-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.view-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: var(--dark-text);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transform: translateY(20px);
  transition: var(--transition);
}

.view-button i {
  margin-right: 6px;
}

.certificate-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.certificate-icon {
  position: absolute;
  top: -25px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), #ff8c00);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 8px rgba(255, 166, 0, 0.3);
}

.certificate-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 15px;
  color: var(--dark-text);
}

.certificate-content p {
  font-size: 15px;
  color: var(--light-text);
  margin: 0 0 20px;
  flex-grow: 1;
}

.certificate-details {
  background: var(--bg-light);
  padding: 15px;
  border-radius: 8px;
  margin-top: auto;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-label {
  font-weight: 600;
  font-size: 13px;
  color: var(--light-text);
}

.detail-value {
  font-weight: 500;
  font-size: 13px;
  color: var(--dark-text);
}

/* Hover effects */
.certificate-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.certificate-card:hover .certificate-image img {
  transform: scale(1.05);
}

.certificate-card:hover .view-overlay {
  opacity: 1;
}

.certificate-card:hover .view-button {
  transform: translateY(0);
}

.view-button:hover {
  background: var(--primary-color);
  color: white;
}

/* Certificate Benefits Section */
.certificate-benefits {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.benefits-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 60px;
  color: var(--dark-text);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-item {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(255, 166, 0, 0.1) 0%,
    rgba(255, 166, 0, 0.2) 100%
  );
  color: var(--primary-color);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.benefit-item:nth-child(2) .benefit-icon {
  background: linear-gradient(
    135deg,
    rgba(0, 124, 186, 0.1) 0%,
    rgba(0, 124, 186, 0.2) 100%
  );
  color: var(--secondary-color);
}

.benefit-item:nth-child(3) .benefit-icon {
  background: linear-gradient(
    135deg,
    rgba(76, 175, 80, 0.1) 0%,
    rgba(76, 175, 80, 0.2) 100%
  );
  color: #4caf50;
}

.benefit-item:nth-child(4) .benefit-icon {
  background: linear-gradient(
    135deg,
    rgba(156, 39, 176, 0.1) 0%,
    rgba(156, 39, 176, 0.2) 100%
  );
  color: #9c27b0;
}

.benefit-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 15px;
  color: var(--dark-text);
}

.benefit-item p {
  font-size: 15px;
  color: var(--light-text);
  margin: 0;
}

.benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.benefit-item:hover .benefit-icon {
  transform: rotateY(180deg);
}

/* Call to Action */
.doc-cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, #ff8c00 100%);
  padding: 80px 0;
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 15px;
}

.cta-content p {
  font-size: 18px;
  opacity: 0.9;
  margin: 0 0 30px;
}

.cta-button {
  display: inline-block;
  background-color: white;
  color: var(--primary-color);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .documents-hero-title {
    font-size: 42px;
  }

  .certificate-intro h2,
  .benefits-title,
  .cta-content h2 {
    font-size: 32px;
  }

  .certificates-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .documents-hero {
    padding: 120px 0 60px;
  }

  .documents-hero-title {
    font-size: 36px;
  }

  .documents-hero-description {
    font-size: 16px;
  }

  .certificate-intro h2,
  .benefits-title,
  .cta-content h2 {
    font-size: 28px;
  }

  .certificates {
    padding: 70px 0;
  }

  .certificate-benefits {
    padding: 70px 0;
  }

  .cta-content p {
    font-size: 16px;
  }
}

@media screen and (max-width: 576px) {
  .documents-hero-title {
    font-size: 30px;
  }

  .documents-hero-badge {
    font-size: 12px;
    padding: 6px 16px;
  }

  .certificate-intro h2,
  .benefits-title,
  .cta-content h2 {
    font-size: 26px;
  }

  .certificates-grid {
    grid-template-columns: 1fr;
  }

  .certificate-image {
    height: 200px;
  }

  .certificate-card {
    max-width: 400px;
    margin: 0 auto;
  }
}
