/* About TFYS Section Styles */
.about-tfys {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--light-gray) 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.about-tfys::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><polygon fill="rgba(26, 35, 126, 0.05)" points="1000,100 1000,0 0,0 0,60"/></svg>');
  background-size: cover;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 1s ease-out;
}

.section-header h2 {
  font-size: 2.8rem;
  color: #1d2a56;
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--gold), #ffab00);
  border-radius: 2px;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-gray);
  font-weight: 500;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2rem;
}

.about-text {
  animation: slideInLeft 1s ease-out 0.3s both;
}

.about-text h3 {
  font-size: 1.8rem;
  color: #1d2a56;
  margin-bottom: 1.5rem;
  font-weight: 600;
  position: relative;
}

.about-text h3::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 30px;
  background: var(--gold);
  border-radius: 2px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dark-gray);
  margin-bottom: 2rem;
  text-align: justify;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  border-left: 4px solid var(--gold);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.benefit-item:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.95);
}

.benefit-item i {
  color: var(--gold);
  font-size: 1.5rem;
  min-width: 24px;
}

.benefit-item span {
  font-weight: 600;
  color: #1d2a56;
  font-size: 1rem;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideInRight 1s ease-out 0.5s both;
}

.system-diagram {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.diagram-center {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #1e3c72;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  box-shadow: 0 15px 35px rgba(26, 35, 126, 0.3);
  z-index: 10;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 15px 35px rgba(26, 35, 126, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 20px 45px rgba(26, 35, 126, 0.4);
  }
}

.diagram-nodes {
  position: relative;
  width: 100%;
  height: 100%;
}

.node {
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-navy);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.node:hover {
  transform: scale(1.1);
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 15px 35px rgba(255, 193, 7, 0.3);
}

/* Node Positioning */
.node:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.node:nth-child(2) {
  top: 25%;
  right: 0;
  animation-delay: 0.5s;
}

.node:nth-child(3) {
  bottom: 25%;
  right: 0;
  animation-delay: 1s;
}

.node:nth-child(4) {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 1.5s;
}

.node:nth-child(5) {
  bottom: 25%;
  left: 0;
  animation-delay: 2s;
}

.node:nth-child(6) {
  top: 25%;
  left: 0;
  animation-delay: 2.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Connection Lines */
.node::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 60px;
  background: linear-gradient(var(--gold), transparent);
  top: 50%;
  left: 50%;
  transform-origin: top center;
  opacity: 0.6;
}

.node:nth-child(1)::before {
  transform: translate(-50%, -50%) rotate(0deg);
}
.node:nth-child(2)::before {
  transform: translate(-50%, -50%) rotate(60deg);
}
.node:nth-child(3)::before {
  transform: translate(-50%, -50%) rotate(120deg);
}
.node:nth-child(4)::before {
  transform: translate(-50%, -50%) rotate(180deg);
}
.node:nth-child(5)::before {
  transform: translate(-50%, -50%) rotate(240deg);
}
.node:nth-child(6)::before {
  transform: translate(-50%, -50%) rotate(300deg);
}

/* Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TFSIS Intro Section */
.tfsis-intro-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.tfsis-intro-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.tfsis-intro-header {
  text-align: center;
  margin-bottom: 80px;
}

.tfsis-intro-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 16px;
}

.tfsis-intro-header p {
  font-size: 1.2rem;
  color: #4a5568;
  font-weight: 500;
}

.tfsis-intro-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: center;
}

.tfsis-intro-text h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 20px;
}

.tfsis-intro-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 24px;
}

.tfsis-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}

.tfsis-benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: white;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.tfsis-benefit-item i {
  color: #10b981;
  font-size: 1.2rem;
}

.tfsis-benefit-item span {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a202c;
}

.tfsis-intro-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tfsis-system-diagram {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tfsis-diagram-center {
  position: absolute;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3182ce, #2b77cb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  z-index: 2;
}

.tfsis-diagram-nodes {
  position: relative;
  width: 100%;
  height: 100%;
}

.tfsis-node {
  position: absolute;
  width: 60px;
  height: 60px;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4a5568;
  transition: all 0.3s ease;
}

.tfsis-node:hover {
  border-color: #3182ce;
  color: #3182ce;
  transform: scale(1.1);
}

.tfsis-node:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.tfsis-node:nth-child(2) {
  top: 25%;
  right: 0;
}
.tfsis-node:nth-child(3) {
  bottom: 25%;
  right: 0;
}
.tfsis-node:nth-child(4) {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.tfsis-node:nth-child(5) {
  bottom: 25%;
  left: 0;
}
.tfsis-node:nth-child(6) {
  top: 25%;
  left: 0;
}

/* Modül Şeması CSS */
.module-diagram {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px 0;
  overflow: visible;
}

.module-center {
  position: relative;
  width: 120px;
  height: 120px;
  background: #1d3b6e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto;
  z-index: 10;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.module-items {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.module-item {
  position: absolute;
  width: 80px;
  height: 80px;
  background: white;
  border: 2px solid #ffd100;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  transition: all 0.3s ease;
}

.module-item:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(255, 209, 0, 0.3);
}

/* Modül pozisyonları */
.module-item:nth-child(1) {
  top: 0;
  left: calc(50% - 40px);
}

.module-item:nth-child(2) {
  top: 25%;
  right: 0;
}

.module-item:nth-child(3) {
  top: 70%;
  right: 10%;
}

.module-item:nth-child(4) {
  bottom: 0;
  left: calc(50% - 40px);
}

.module-item:nth-child(5) {
  top: 70%;
  left: 10%;
}

.module-item:nth-child(6) {
  top: 25%;
  left: 0;
}

/* Bağlantı çizgileri */
.module-connections {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.connection-line {
  position: absolute;
  background: #ffd100;
  height: 2px;
  transform-origin: center left;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .system-diagram {
    width: 350px;
    height: 350px;
  }

  .diagram-center {
    width: 100px;
    height: 100px;
    font-size: 1.3rem;
  }

  .node {
    width: 70px;
    height: 70px;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .about-tfys {
    padding: 80px 0;
  }

  .container {
    padding: 0 1rem;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .about-text h3 {
    font-size: 1.5rem;
    text-align: center;
  }

  .about-text h3::before {
    display: none;
  }

  .benefits {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .benefit-item {
    justify-content: center;
    text-align: center;
    padding: 1.2rem;
  }

  .system-diagram {
    width: 300px;
    height: 300px;
  }

  .diagram-center {
    width: 80px;
    height: 80px;
    font-size: 1.1rem;
  }

  .node {
    width: 60px;
    height: 60px;
    font-size: 0.7rem;
  }

  /* Modül Şeması Responsive CSS */
  .module-diagram {
    height: 500px;
    max-width: 500px;
  }

  .module-center {
    width: 100px;
    height: 100px;
    font-size: 20px;
  }

  .module-item {
    width: 70px;
    height: 70px;
    font-size: 13px;
  }

  /* Taşma sorununu çözmek için pozisyonları ayarla */
  .module-item:nth-child(1) {
    top: 5%;
    left: calc(50% - 35px);
  }

  .module-item:nth-child(2) {
    top: 25%;
    right: 5%;
  }

  .module-item:nth-child(3) {
    top: 65%;
    right: 15%;
  }

  .module-item:nth-child(4) {
    bottom: 5%;
    left: calc(50% - 35px);
  }

  .module-item:nth-child(5) {
    top: 65%;
    left: 15%;
  }

  .module-item:nth-child(6) {
    top: 25%;
    left: 5%;
  }
}

@media (max-width: 576px) {
  .module-diagram {
    height: 400px;
    padding: 15px 0;
  }

  .module-center {
    width: 90px;
    height: 90px;
    font-size: 18px;
  }

  .module-item {
    width: 60px;
    height: 60px;
    font-size: 12px;
    border-width: 1.5px;
  }

  /* Telefon boyutu için daha kompakt yerleşim */
  .module-item:nth-child(1) {
    top: 5%;
    left: calc(50% - 30px);
  }

  .module-item:nth-child(2) {
    top: 25%;
    right: 10%;
  }

  .module-item:nth-child(3) {
    top: 65%;
    right: 15%;
  }

  .module-item:nth-child(4) {
    bottom: 5%;
    left: calc(50% - 30px);
  }

  .module-item:nth-child(5) {
    top: 65%;
    left: 15%;
  }

  .module-item:nth-child(6) {
    top: 25%;
    left: 10%;
  }
}

@media (max-width: 400px) {
  /* Çok küçük ekranlar için alternatif düzen */
  .module-diagram {
    height: auto;
    padding: 90px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .module-center {
    position: absolute;
    top: 10px;
    width: 80px;
    height: 80px;
    font-size: 16px;
    margin-bottom: 20px;
  }

  .module-items {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 60px;
    height: auto;
    width: 90%;
  }

  .module-item {
    position: relative;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 5px;
    width: 65px;
    height: 65px;
  }

  .module-connections {
    display: none;
  }
}

/* Animasyon ekleyelim */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(29, 59, 110, 0.4);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(29, 59, 110, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(29, 59, 110, 0);
  }
}

.module-center {
  animation: pulse 2s infinite;
}
